diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-18 16:42:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-18 17:14:15 +0100 |
commit | 4b5091cfd768360a7de3d416de670dfcdeb36990 (patch) | |
tree | dc4a80ae7b4d96fddb45abeb813dc28ccf49ef4e /basic/qa | |
parent | 06f1272adec1c434d311cc59fc8bc247a9d80d2f (diff) |
cppunit: noExplicitConstructor
Change-Id: Iaf1387ea236bf3a5db9b2165d5b827dbdcf95207
Diffstat (limited to 'basic/qa')
-rw-r--r-- | basic/qa/cppunit/basictest.hxx | 9 |
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; |