diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-01-08 09:56:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-01-08 17:15:04 +0000 |
commit | 0aa5414015813eda46dbfd7c3bcf259485ac1968 (patch) | |
tree | ba552e8e27c00f0d2d49564ed3dd98b829b04186 /vcl/ios | |
parent | 13e0ec9f38736557d9b4737298ca9a858919e6e3 (diff) |
cppcheck: noExplicitConstructor
Change-Id: If1ddb112c85f127295eb55566360b066e7173ba2
Reviewed-on: https://gerrit.libreoffice.org/21245
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/ios')
-rw-r--r-- | vcl/ios/iosinst.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/ios/iosinst.cxx b/vcl/ios/iosinst.cxx index 8a0e24961b9a..7bfb37e2226e 100644 --- a/vcl/ios/iosinst.cxx +++ b/vcl/ios/iosinst.cxx @@ -36,7 +36,10 @@ static int viewWidth = 1, viewHeight = 1; class IosSalData : public SalGenericData { public: - IosSalData( SalInstance *pInstance ) : SalGenericData( SAL_DATA_IOS, pInstance ) {} + explicit IosSalData(SalInstance *pInstance) + : SalGenericData(SAL_DATA_IOS, pInstance) + { + } virtual void ErrorTrapPush() {} virtual bool ErrorTrapPop( bool ) { return false; } }; |