From: Juergen Spitzmueller Date: Thu, 2 Apr 2015 14:32:04 +0000 (+0200) Subject: No need for default argument X-Git-Tag: 2.2.0alpha1~1065 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=5aee9e6d6337feea29f83b704e912946ae60c774;p=features.git No need for default argument --- diff --git a/src/frontends/qt4/GuiBibitem.h b/src/frontends/qt4/GuiBibitem.h index 70dcb2aff4..17d901c1ff 100644 --- a/src/frontends/qt4/GuiBibitem.h +++ b/src/frontends/qt4/GuiBibitem.h @@ -35,7 +35,7 @@ private: FuncCode creationCode() const { return LFUN_INSET_INSERT; } void paramsToDialog(Inset const *); docstring dialogToParams() const; - bool checkWidgets(bool readonly = false) const; + bool checkWidgets(bool readonly) const; //@} }; diff --git a/src/frontends/qt4/GuiHSpace.h b/src/frontends/qt4/GuiHSpace.h index 0913475cf6..cc1a80f52c 100644 --- a/src/frontends/qt4/GuiHSpace.h +++ b/src/frontends/qt4/GuiHSpace.h @@ -38,7 +38,7 @@ private: FuncCode creationCode() const { return LFUN_INSET_INSERT; } void paramsToDialog(Inset const *); docstring dialogToParams() const; - bool checkWidgets(bool readonly = false) const; + bool checkWidgets(bool readonly) const; //@} /// bool const math_mode_; diff --git a/src/frontends/qt4/GuiHyperlink.h b/src/frontends/qt4/GuiHyperlink.h index 0523aaa8db..4e31964268 100644 --- a/src/frontends/qt4/GuiHyperlink.h +++ b/src/frontends/qt4/GuiHyperlink.h @@ -34,7 +34,7 @@ private: FuncCode creationCode() const { return LFUN_INSET_INSERT; } void paramsToDialog(Inset const *); docstring dialogToParams() const; - bool checkWidgets(bool readonly = false) const; + bool checkWidgets(bool readonly) const; bool initialiseParams(std::string const & data); //@} }; diff --git a/src/frontends/qt4/GuiInfo.h b/src/frontends/qt4/GuiInfo.h index 4d3e296531..2fecdbed7f 100644 --- a/src/frontends/qt4/GuiInfo.h +++ b/src/frontends/qt4/GuiInfo.h @@ -35,7 +35,7 @@ private: FuncCode creationCode() const { return LFUN_INFO_INSERT; } void paramsToDialog(Inset const *); docstring dialogToParams() const; - bool checkWidgets(bool readonly = false) const; + bool checkWidgets(bool readonly) const; //@} }; diff --git a/src/frontends/qt4/GuiLabel.h b/src/frontends/qt4/GuiLabel.h index 6ba60ed216..0b7afd21f8 100644 --- a/src/frontends/qt4/GuiLabel.h +++ b/src/frontends/qt4/GuiLabel.h @@ -34,7 +34,7 @@ private: FuncCode creationCode() const { return LFUN_INSET_INSERT; } void paramsToDialog(Inset const *); docstring dialogToParams() const; - bool checkWidgets(bool readonly = false) const; + bool checkWidgets(bool readonly) const; bool initialiseParams(std::string const &); //@} }; diff --git a/src/frontends/qt4/GuiLine.h b/src/frontends/qt4/GuiLine.h index 9fa3e61146..a1fded8ecc 100644 --- a/src/frontends/qt4/GuiLine.h +++ b/src/frontends/qt4/GuiLine.h @@ -33,7 +33,7 @@ private: FuncCode creationCode() const { return LFUN_INSET_INSERT; } void paramsToDialog(Inset const *); docstring dialogToParams() const; - bool checkWidgets(bool readonly = false) const; + bool checkWidgets(bool readonly) const; //@} }; diff --git a/src/frontends/qt4/GuiNomenclature.h b/src/frontends/qt4/GuiNomenclature.h index 9ec016f874..7e4c7f5c18 100644 --- a/src/frontends/qt4/GuiNomenclature.h +++ b/src/frontends/qt4/GuiNomenclature.h @@ -35,7 +35,7 @@ private: FuncCode creationCode() const { return LFUN_INSET_INSERT; } void paramsToDialog(Inset const *); docstring dialogToParams() const; - bool checkWidgets(bool readonly = false) const; + bool checkWidgets(bool readonly) const; bool initialiseParams(std::string const &); //@} }; diff --git a/src/frontends/qt4/GuiPrintNomencl.h b/src/frontends/qt4/GuiPrintNomencl.h index 85897385c9..6d5de97320 100644 --- a/src/frontends/qt4/GuiPrintNomencl.h +++ b/src/frontends/qt4/GuiPrintNomencl.h @@ -40,7 +40,7 @@ private: void paramsToDialog(Inset const *); void paramsToDialog(InsetCommandParams const &); docstring dialogToParams() const; - bool checkWidgets(bool readonly = false) const; + bool checkWidgets(bool readonly) const; //@} };