summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-14 13:38:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-14 16:13:21 +0100
commit6cbdd2a141d906d941831496e0e697823fac3753 (patch)
tree43e8798a0cd82a3685e6a7fa4eeb86573d66146c /basctl
parent4bdde3af25dee11c88d8c83409fa91788cc8dc71 (diff)
cppcheck: noExplicitConstructor
Change-Id: I42d135456c7f9ce8bbd77db553be96149e4e75af
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/basicrenderable.hxx2
-rw-r--r--basctl/source/basicide/baside2.hxx14
-rw-r--r--basctl/source/basicide/baside2b.cxx4
3 files changed, 10 insertions, 10 deletions
diff --git a/basctl/source/basicide/basicrenderable.hxx b/basctl/source/basicide/basicrenderable.hxx
index dd60f1653b03..e48ffecc1f94 100644
--- a/basctl/source/basicide/basicrenderable.hxx
+++ b/basctl/source/basicide/basicrenderable.hxx
@@ -38,7 +38,7 @@ class Renderable :
VclPtr<Printer> getPrinter();
public:
- Renderable (BaseWindow*);
+ explicit Renderable (BaseWindow*);
virtual ~Renderable();
// XRenderable
diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx
index 326c621ea53d..401553aa26a9 100644
--- a/basctl/source/basicide/baside2.hxx
+++ b/basctl/source/basicide/baside2.hxx
@@ -242,8 +242,8 @@ protected:
public:
- WatchWindow (Layout* pParent);
- virtual ~WatchWindow();
+ explicit WatchWindow (Layout* pParent);
+ virtual ~WatchWindow();
virtual void dispose() SAL_OVERRIDE;
void AddWatch( const OUString& rVName );
@@ -265,8 +265,8 @@ protected:
virtual void Paint( vcl::RenderContext& rRenderContext, const Rectangle& rRect ) SAL_OVERRIDE;
public:
- StackWindow (Layout* pParent);
- virtual ~StackWindow();
+ explicit StackWindow (Layout* pParent);
+ virtual ~StackWindow();
virtual void dispose() SAL_OVERRIDE;
void UpdateCalls();
@@ -288,7 +288,7 @@ protected:
DECL_LINK( ScrollHdl, ScrollBar * );
public:
- ComplexEditorWindow( ModulWindow* pParent );
+ explicit ComplexEditorWindow( ModulWindow* pParent );
virtual ~ComplexEditorWindow();
virtual void dispose() SAL_OVERRIDE;
BreakPointWindow& GetBrkWindow() { return *aBrkWindow.get(); }
@@ -496,7 +496,7 @@ private:
ExtTextView* GetParentEditView();
public:
- CodeCompleteListBox( CodeCompleteWindow* pPar );
+ explicit CodeCompleteListBox( CodeCompleteWindow* pPar );
virtual ~CodeCompleteListBox();
virtual void dispose() SAL_OVERRIDE;
void InsertSelectedEntry(); //insert the selected entry
@@ -519,7 +519,7 @@ private:
void InitListBox(); // initialize the ListBox
public:
- CodeCompleteWindow( EditorWindow* pPar );
+ explicit CodeCompleteWindow( EditorWindow* pPar );
virtual ~CodeCompleteWindow();
virtual void dispose() SAL_OVERRIDE;
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 098c8d3bb1ed..351bc13da347 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -179,7 +179,7 @@ class EditorWindow::ChangesListener:
public cppu::WeakImplHelper1< beans::XPropertiesChangeListener >
{
public:
- ChangesListener(EditorWindow & editor): editor_(editor) {}
+ explicit ChangesListener(EditorWindow & editor): editor_(editor) {}
private:
virtual ~ChangesListener() {}
@@ -1708,7 +1708,7 @@ struct WatchItem
WatchItem* mpArrayParentItem;
- WatchItem (OUString const& rName):
+ explicit WatchItem (OUString const& rName):
maName(rName),
nDimLevel(0),
nDimCount(0),