summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-11-01 11:44:15 +0100
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2016-11-01 18:44:20 +0000
commit8826771e8398063018935c38039c05faf4c993a3 (patch)
treef726abbbc99a3a1c39c726a47f5f121573ab1c8b /svtools
parent33bc51a60523f23a860534a39a096fecce192671 (diff)
style fixes for cppcheck noExplicitConstructor
Change-Id: I2a690caea7656f2a18beb6d09f53154178a30f34 Reviewed-on: https://gerrit.libreoffice.org/30460 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/scriptedtext.cxx2
-rw-r--r--svtools/source/control/toolbarmenuimp.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/control/scriptedtext.cxx b/svtools/source/control/scriptedtext.cxx
index c6a709d4c3dd..c0e26ab11230 100644
--- a/svtools/source/control/scriptedtext.cxx
+++ b/svtools/source/control/scriptedtext.cxx
@@ -64,7 +64,7 @@ private:
public:
/** This constructor sets an output device and fonts for all script types. */
- SvtScriptedTextHelper_Impl(
+ explicit SvtScriptedTextHelper_Impl(
OutputDevice& _rOutDevice );
/** Copy constructor. */
SvtScriptedTextHelper_Impl(
diff --git a/svtools/source/control/toolbarmenuimp.hxx b/svtools/source/control/toolbarmenuimp.hxx
index af4ac490053e..7ad29acf1b1e 100644
--- a/svtools/source/control/toolbarmenuimp.hxx
+++ b/svtools/source/control/toolbarmenuimp.hxx
@@ -254,7 +254,7 @@ struct ToolbarMenu_Impl
Link<ToolbarMenu*,void> maSelectHdl;
- ToolbarMenu_Impl( ToolbarMenu& rMenu );
+ explicit ToolbarMenu_Impl( ToolbarMenu& rMenu );
~ToolbarMenu_Impl();
void setAccessible( ToolbarMenuAcc* pAccessible );