summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui/csvgrid.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-02 09:52:33 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-02 10:16:38 +0000
commit4ea0390faa22037f1d4f703c0882a027cf2ae643 (patch)
treecbcc7db6e327ef0efa53d26241fc48f0ff2ee90f /sc/source/ui/dbgui/csvgrid.cxx
parent708d1c5ab242b545ced598879233fc662d7e6cc0 (diff)
cppcheck: noExplicitConstructor
Change-Id: I06186e8f0bbc8522f538e8639a68e816093becc2
Diffstat (limited to 'sc/source/ui/dbgui/csvgrid.cxx')
-rw-r--r--sc/source/ui/dbgui/csvgrid.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/dbgui/csvgrid.cxx b/sc/source/ui/dbgui/csvgrid.cxx
index ad921b7e54cc..4ffc12fb2b39 100644
--- a/sc/source/ui/dbgui/csvgrid.cxx
+++ b/sc/source/ui/dbgui/csvgrid.cxx
@@ -47,7 +47,7 @@
struct Func_SetType
{
sal_Int32 mnType;
- inline Func_SetType( sal_Int32 nType ) : mnType( nType ) {}
+ explicit Func_SetType( sal_Int32 nType ) : mnType( nType ) {}
inline void operator()( ScCsvColState& rState ) const
{ rState.mnType = mnType; }
};
@@ -55,7 +55,7 @@ struct Func_SetType
struct Func_Select
{
bool mbSelect;
- inline Func_Select( bool bSelect ) : mbSelect( bSelect ) {}
+ explicit Func_Select( bool bSelect ) : mbSelect( bSelect ) {}
inline void operator()( ScCsvColState& rState ) const
{ rState.Select( mbSelect ); }
};