diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-25 09:35:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-25 12:32:54 +0100 |
commit | acad8441cc40b7b0f91681d6827f8364de05046e (patch) | |
tree | 2be1315764dc269557a60fb36a48d86b7ed23402 /vcl/android | |
parent | 12b6bca821a7b0137fcac243f8aa078ba1a152ad (diff) |
cppcheck: noExplicitConstructor
Change-Id: I62076450ab77472bfd09b3fb9824f54b6ea1e0f7
Diffstat (limited to 'vcl/android')
-rw-r--r-- | vcl/android/androidinst.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/android/androidinst.cxx b/vcl/android/androidinst.cxx index 82c4a3375e24..ea91e7a76da6 100644 --- a/vcl/android/androidinst.cxx +++ b/vcl/android/androidinst.cxx @@ -33,12 +33,12 @@ static int viewWidth = 1, viewHeight = 1; class AndroidSalData : public SalGenericData { public: - AndroidSalData( SalInstance *pInstance ) : SalGenericData( SAL_DATA_ANDROID, pInstance ) {} + explicit AndroidSalData( SalInstance *pInstance ) : SalGenericData( SAL_DATA_ANDROID, pInstance ) {} virtual void ErrorTrapPush() {} virtual bool ErrorTrapPop( bool ) { return false; } }; -void AndroidSalInstance::damaged(AndroidSalFrame */* frame */) +void AndroidSalInstance::damaged(AndroidSalFrame* /* frame */) { static bool beenHere = false; static jmethodID nCallbackDamaged = 0; |