summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-03-17 09:08:42 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-03-17 12:24:55 +0000
commitf1aca4db8bd82e8beefeccc8e12c752f686133ee (patch)
tree49377394eef82adb43b88a287871eb932726d217 /sfx2
parentd4b48e0de7f817c0d4607382724778acf191f9f8 (diff)
cppcheck: noExplicitConstructor
Change-Id: Id506e26ab4986a3972ebf24397c5c0c8d131fe69
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/classificationcontroller.cxx2
-rw-r--r--sfx2/source/view/classificationhelper.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/view/classificationcontroller.cxx b/sfx2/source/view/classificationcontroller.cxx
index 788eddfdb000..523e4e0b57c7 100644
--- a/sfx2/source/view/classificationcontroller.cxx
+++ b/sfx2/source/view/classificationcontroller.cxx
@@ -56,7 +56,7 @@ class ClassificationCategoriesController : public ClassificationCategoriesContro
DECL_LINK_TYPED(SelectHdl, ListBox&, void);
public:
- ClassificationCategoriesController(const uno::Reference<uno::XComponentContext>& rContext);
+ explicit ClassificationCategoriesController(const uno::Reference<uno::XComponentContext>& rContext);
virtual ~ClassificationCategoriesController();
// XServiceInfo
diff --git a/sfx2/source/view/classificationhelper.cxx b/sfx2/source/view/classificationhelper.cxx
index fc1d236d54b1..5e4567a631b4 100644
--- a/sfx2/source/view/classificationhelper.cxx
+++ b/sfx2/source/view/classificationhelper.cxx
@@ -324,7 +324,7 @@ public:
std::vector<SfxClassificationCategory> m_aCategories;
const uno::Reference<document::XDocumentProperties>& m_xDocumentProperties;
- Impl(const uno::Reference<document::XDocumentProperties>& xDocumentProperties);
+ explicit Impl(const uno::Reference<document::XDocumentProperties>& xDocumentProperties);
void parsePolicy();
/// Synchronize m_aLabels back to the document properties.
void pushToDocumentProperties();