summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-18 16:42:39 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-18 17:14:15 +0100
commit4b5091cfd768360a7de3d416de670dfcdeb36990 (patch)
treedc4a80ae7b4d96fddb45abeb813dc28ccf49ef4e /basic
parent06f1272adec1c434d311cc59fc8bc247a9d80d2f (diff)
cppunit: noExplicitConstructor
Change-Id: Iaf1387ea236bf3a5db9b2165d5b827dbdcf95207
Diffstat (limited to 'basic')
-rw-r--r--basic/qa/cppunit/basictest.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/basic/qa/cppunit/basictest.hxx b/basic/qa/cppunit/basictest.hxx
index c866de077559..0d9c37898d8b 100644
--- a/basic/qa/cppunit/basictest.hxx
+++ b/basic/qa/cppunit/basictest.hxx
@@ -46,17 +46,18 @@ class MacroSnippet
int nLine;
int nCol;
ErrorDetail() : nLine(0), nCol(0) {}
- };
+ }
- MacroSnippet( const OUString& sSource ) : mbError(false)
+ explicit MacroSnippet(const OUString& sSource)
+ : mbError(false)
{
InitSnippet();
MakeModule( sSource );
- };
+ }
MacroSnippet() : mbError(false)
{
InitSnippet();
- };
+ }
void LoadSourceFromFile( const OUString& sMacroFileURL )
{
OUString sSource;