cppcheck: noExplicitConstructor

Change-Id: I045d903e331765bb58ad61c3397cf61a06cbae8a
This commit is contained in:
Caolán McNamara
2015-08-11 21:13:24 +01:00
parent d44821675e
commit 375028c649

View File

@@ -25,9 +25,10 @@
#define DECL_ABSTDLG_BASE(Class,DialogClass) \
ScopedVclPtr<DialogClass> pDlg; \
public: \
Class( DialogClass* p) \
: pDlg(p) \
{} \
explicit Class(DialogClass* p) \
: pDlg(p) \
{ \
} \
virtual ~Class(); \
virtual short Execute() SAL_OVERRIDE ;
@@ -35,7 +36,7 @@ public: \
Class::~Class() \
{ \
} \
short Class::Execute() \
short Class::Execute() \
{ \
return pDlg->Execute(); \
}