remove unneeded default argument value

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21748 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2007-11-23 21:49:58 +00:00
parent adcb084ea2
commit f0230e1d9a
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ public:
*/
virtual int text(int x, int y, docstring const & str, FontInfo const & f) = 0;
void setDrawingEnabled(bool drawing_enabled = true)
void setDrawingEnabled(bool drawing_enabled)
{ drawing_enabled_ = drawing_enabled; }
/// Indicate wether real screen drawing shall be done or not.

View File

@ -199,7 +199,7 @@ private:
vector<LanguagePair> const getLanguageData(bool character_dlg)
{
size_t const size = languages.size() + character_dlg ? 2 : 0;
size_t const size = languages.size() + (character_dlg ? 2 : 0);
vector<LanguagePair> langs(size);