mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
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:
parent
adcb084ea2
commit
f0230e1d9a
@ -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.
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user