summaryrefslogtreecommitdiff
path: root/dtrans/test
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-01-06 12:17:04 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-01-07 09:11:53 +0000
commit5ee8e22a26f522302d6b8e2bb8ce7a1815b61af7 (patch)
tree53cdfc515bc1a7f22b12180280fcb205ec6abead /dtrans/test
parent66b8b09d0aa97e4009d2019a9d93b74cd1e11a09 (diff)
cppcheck: noExplicitConstructor
Change-Id: I94db78ca12e0f3389f00ea5c557f0b64d452f613 Reviewed-on: https://gerrit.libreoffice.org/21150 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 'dtrans/test')
-rw-r--r--dtrans/test/win32/dnd/atlwindow.hxx2
-rw-r--r--dtrans/test/win32/dnd/targetlistener.hxx2
-rw-r--r--dtrans/test/win32/dnd/transferable.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/dtrans/test/win32/dnd/atlwindow.hxx b/dtrans/test/win32/dnd/atlwindow.hxx
index 0dbb0f5d879c..692b8befdc7a 100644
--- a/dtrans/test/win32/dnd/atlwindow.hxx
+++ b/dtrans/test/win32/dnd/atlwindow.hxx
@@ -52,7 +52,7 @@ class AWindow: public CWindowImpl<AWindow, CWindow,
CDTransObjFactory m_aDataConverter;
public:
- AWindow(LPCTSTR strName)
+ explicit AWindow(LPCTSTR strName)
{
RECT rcPos= {0,0,200,200};
Create(0, rcPos, strName);
diff --git a/dtrans/test/win32/dnd/targetlistener.hxx b/dtrans/test/win32/dnd/targetlistener.hxx
index 5064dc7b2efd..153dc64eead5 100644
--- a/dtrans/test/win32/dnd/targetlistener.hxx
+++ b/dtrans/test/win32/dnd/targetlistener.hxx
@@ -44,7 +44,7 @@ class DropTargetListener: public WeakImplHelper<XDropTargetListener>
// this is a window where dropped data are shown as text (only text)
HWND m_hEdit;
public:
- DropTargetListener( HWND hEdit);
+ explicit DropTargetListener(HWND hEdit);
~DropTargetListener();
virtual void SAL_CALL disposing( const EventObject& Source )
diff --git a/dtrans/test/win32/dnd/transferable.hxx b/dtrans/test/win32/dnd/transferable.hxx
index 428c9f7fa98b..1afafea498e0 100644
--- a/dtrans/test/win32/dnd/transferable.hxx
+++ b/dtrans/test/win32/dnd/transferable.hxx
@@ -70,7 +70,7 @@ class CTransferable : public WeakImplHelper< XClipboardOwner, XTransferable >
{
public:
CTransferable( ){};
- CTransferable( wchar_t* dataString);
+ explicit CTransferable( wchar_t* dataString);
// XTransferable