summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-25 09:35:57 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-25 12:32:54 +0100
commitacad8441cc40b7b0f91681d6827f8364de05046e (patch)
tree2be1315764dc269557a60fb36a48d86b7ed23402 /writerperfect
parent12b6bca821a7b0137fcac243f8aa078ba1a152ad (diff)
cppcheck: noExplicitConstructor
Change-Id: I62076450ab77472bfd09b3fb9824f54b6ea1e0f7
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/source/calc/MSWorksCalcImportFilter.hxx2
-rw-r--r--writerperfect/source/calc/MWAWCalcImportFilter.hxx2
-rw-r--r--writerperfect/source/calc/NumbersImportFilter.hxx2
-rw-r--r--writerperfect/source/common/DirectoryStream.cxx2
-rw-r--r--writerperfect/source/common/WPXSvInputStream.cxx4
-rw-r--r--writerperfect/source/draw/CDRImportFilter.hxx2
-rw-r--r--writerperfect/source/draw/CMXImportFilter.hxx2
-rw-r--r--writerperfect/source/draw/FreehandImportFilter.hxx2
-rw-r--r--writerperfect/source/draw/MSPUBImportFilter.hxx2
-rw-r--r--writerperfect/source/draw/MWAWDrawImportFilter.hxx2
-rw-r--r--writerperfect/source/draw/PageMakerImportFilter.hxx2
-rw-r--r--writerperfect/source/draw/VisioImportFilter.hxx2
-rw-r--r--writerperfect/source/draw/WPGImportFilter.hxx2
-rw-r--r--writerperfect/source/impress/KeynoteImportFilter.hxx2
-rw-r--r--writerperfect/source/impress/MWAWPresentationImportFilter.hxx2
-rw-r--r--writerperfect/source/writer/AbiWordImportFilter.hxx2
-rw-r--r--writerperfect/source/writer/EBookImportFilter.hxx2
-rw-r--r--writerperfect/source/writer/MSWorksImportFilter.hxx2
-rw-r--r--writerperfect/source/writer/MWAWImportFilter.hxx2
-rw-r--r--writerperfect/source/writer/PagesImportFilter.hxx2
-rw-r--r--writerperfect/source/writer/WordPerfectImportFilter.hxx4
21 files changed, 23 insertions, 23 deletions
diff --git a/writerperfect/source/calc/MSWorksCalcImportFilter.hxx b/writerperfect/source/calc/MSWorksCalcImportFilter.hxx
index 6814a19b1130..d9ef9468a6b4 100644
--- a/writerperfect/source/calc/MSWorksCalcImportFilter.hxx
+++ b/writerperfect/source/calc/MSWorksCalcImportFilter.hxx
@@ -23,7 +23,7 @@
class MSWorksCalcImportFilter : public writerperfect::ImportFilter<OdsGenerator>
{
public:
- MSWorksCalcImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
+ explicit MSWorksCalcImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
: writerperfect::ImportFilter<OdsGenerator>(rxContext) {}
// XServiceInfo
diff --git a/writerperfect/source/calc/MWAWCalcImportFilter.hxx b/writerperfect/source/calc/MWAWCalcImportFilter.hxx
index 0dc91ac99953..176c04a02512 100644
--- a/writerperfect/source/calc/MWAWCalcImportFilter.hxx
+++ b/writerperfect/source/calc/MWAWCalcImportFilter.hxx
@@ -23,7 +23,7 @@
class MWAWCalcImportFilter : public writerperfect::ImportFilter<OdsGenerator>
{
public:
- MWAWCalcImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
+ explicit MWAWCalcImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
: writerperfect::ImportFilter<OdsGenerator>(rxContext) {}
// XServiceInfo
diff --git a/writerperfect/source/calc/NumbersImportFilter.hxx b/writerperfect/source/calc/NumbersImportFilter.hxx
index 5b389649553b..73f98537f086 100644
--- a/writerperfect/source/calc/NumbersImportFilter.hxx
+++ b/writerperfect/source/calc/NumbersImportFilter.hxx
@@ -22,7 +22,7 @@
class NumbersImportFilter : public writerperfect::ImportFilter<OdsGenerator>
{
public:
- NumbersImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
+ explicit NumbersImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
: writerperfect::ImportFilter<OdsGenerator>(rxContext) {}
// XServiceInfo
diff --git a/writerperfect/source/common/DirectoryStream.cxx b/writerperfect/source/common/DirectoryStream.cxx
index 1f4638980982..064f51c76c11 100644
--- a/writerperfect/source/common/DirectoryStream.cxx
+++ b/writerperfect/source/common/DirectoryStream.cxx
@@ -95,7 +95,7 @@ uno::Reference<io::XInputStream> findStream(ucbhelper::Content &rContent, const
struct DirectoryStream::Impl
{
- Impl(const uno::Reference<ucb::XContent> &rxContent);
+ explicit Impl(const uno::Reference<ucb::XContent> &rxContent);
uno::Reference<ucb::XContent> xContent;
};
diff --git a/writerperfect/source/common/WPXSvInputStream.cxx b/writerperfect/source/common/WPXSvInputStream.cxx
index e0fff43199d1..59895c9b2c3f 100644
--- a/writerperfect/source/common/WPXSvInputStream.cxx
+++ b/writerperfect/source/common/WPXSvInputStream.cxx
@@ -285,7 +285,7 @@ struct ZipStreamData
*/
struct ZipStorageImpl
{
- ZipStorageImpl(const Reference<container::XNameAccess> &rxContainer);
+ explicit ZipStorageImpl(const Reference<container::XNameAccess> &rxContainer);
/** Initialize for access.
*
@@ -400,7 +400,7 @@ Reference<XInputStream> ZipStorageImpl::createStream(const rtl::OUString &rPath)
class WPXSvInputStreamImpl
{
public :
- WPXSvInputStreamImpl(::com::sun::star::uno::Reference<
+ explicit WPXSvInputStreamImpl(::com::sun::star::uno::Reference<
::com::sun::star::io::XInputStream > xStream);
~WPXSvInputStreamImpl();
diff --git a/writerperfect/source/draw/CDRImportFilter.hxx b/writerperfect/source/draw/CDRImportFilter.hxx
index 1316aecefdfb..3113f1037546 100644
--- a/writerperfect/source/draw/CDRImportFilter.hxx
+++ b/writerperfect/source/draw/CDRImportFilter.hxx
@@ -21,7 +21,7 @@
class CDRImportFilter : public writerperfect::ImportFilter<OdgGenerator>
{
public:
- CDRImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
+ explicit CDRImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
: writerperfect::ImportFilter<OdgGenerator>(rxContext)
{
}
diff --git a/writerperfect/source/draw/CMXImportFilter.hxx b/writerperfect/source/draw/CMXImportFilter.hxx
index 03ffaff85235..f2cb885cb4c5 100644
--- a/writerperfect/source/draw/CMXImportFilter.hxx
+++ b/writerperfect/source/draw/CMXImportFilter.hxx
@@ -21,7 +21,7 @@
class CMXImportFilter : public writerperfect::ImportFilter<OdgGenerator>
{
public:
- CMXImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
+ explicit CMXImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
: writerperfect::ImportFilter<OdgGenerator>(rxContext)
{
}
diff --git a/writerperfect/source/draw/FreehandImportFilter.hxx b/writerperfect/source/draw/FreehandImportFilter.hxx
index 485c389be234..b1fd4aa3c6da 100644
--- a/writerperfect/source/draw/FreehandImportFilter.hxx
+++ b/writerperfect/source/draw/FreehandImportFilter.hxx
@@ -18,7 +18,7 @@
class FreehandImportFilter : public writerperfect::ImportFilter<OdgGenerator>
{
public:
- FreehandImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
+ explicit FreehandImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
: writerperfect::ImportFilter<OdgGenerator>(rxContext)
{
}
diff --git a/writerperfect/source/draw/MSPUBImportFilter.hxx b/writerperfect/source/draw/MSPUBImportFilter.hxx
index 6e493531c853..d6213f513578 100644
--- a/writerperfect/source/draw/MSPUBImportFilter.hxx
+++ b/writerperfect/source/draw/MSPUBImportFilter.hxx
@@ -18,7 +18,7 @@
class MSPUBImportFilter : public writerperfect::ImportFilter<OdgGenerator>
{
public:
- MSPUBImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
+ explicit MSPUBImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
: writerperfect::ImportFilter<OdgGenerator>(rxContext)
{
}
diff --git a/writerperfect/source/draw/MWAWDrawImportFilter.hxx b/writerperfect/source/draw/MWAWDrawImportFilter.hxx
index 01bb2d257fff..30be7d373751 100644
--- a/writerperfect/source/draw/MWAWDrawImportFilter.hxx
+++ b/writerperfect/source/draw/MWAWDrawImportFilter.hxx
@@ -23,7 +23,7 @@
class MWAWDrawImportFilter : public writerperfect::ImportFilter<OdgGenerator>
{
public:
- MWAWDrawImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
+ explicit MWAWDrawImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
: writerperfect::ImportFilter<OdgGenerator>(rxContext) {}
// XServiceInfo
diff --git a/writerperfect/source/draw/PageMakerImportFilter.hxx b/writerperfect/source/draw/PageMakerImportFilter.hxx
index 181287764fb0..70a042b3f2ac 100644
--- a/writerperfect/source/draw/PageMakerImportFilter.hxx
+++ b/writerperfect/source/draw/PageMakerImportFilter.hxx
@@ -18,7 +18,7 @@
class PageMakerImportFilter : public writerperfect::ImportFilter<OdgGenerator>
{
public:
- PageMakerImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
+ explicit PageMakerImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
: writerperfect::ImportFilter<OdgGenerator>(rxContext)
{
}
diff --git a/writerperfect/source/draw/VisioImportFilter.hxx b/writerperfect/source/draw/VisioImportFilter.hxx
index b82e526eeef0..a69c31f533b9 100644
--- a/writerperfect/source/draw/VisioImportFilter.hxx
+++ b/writerperfect/source/draw/VisioImportFilter.hxx
@@ -18,7 +18,7 @@
class VisioImportFilter : public writerperfect::ImportFilter<OdgGenerator>
{
public:
- VisioImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
+ explicit VisioImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
: writerperfect::ImportFilter<OdgGenerator>(rxContext)
{
}
diff --git a/writerperfect/source/draw/WPGImportFilter.hxx b/writerperfect/source/draw/WPGImportFilter.hxx
index b7ac0710dd59..7456fdc8ab69 100644
--- a/writerperfect/source/draw/WPGImportFilter.hxx
+++ b/writerperfect/source/draw/WPGImportFilter.hxx
@@ -23,7 +23,7 @@
class WPGImportFilter : public writerperfect::ImportFilter<OdgGenerator>
{
public:
- WPGImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
+ explicit WPGImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
: writerperfect::ImportFilter<OdgGenerator>(rxContext)
{
}
diff --git a/writerperfect/source/impress/KeynoteImportFilter.hxx b/writerperfect/source/impress/KeynoteImportFilter.hxx
index d176643ebe58..2bf14e6393f6 100644
--- a/writerperfect/source/impress/KeynoteImportFilter.hxx
+++ b/writerperfect/source/impress/KeynoteImportFilter.hxx
@@ -22,7 +22,7 @@
class KeynoteImportFilter : public writerperfect::ImportFilter<OdpGenerator>
{
public:
- KeynoteImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
+ explicit KeynoteImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
: writerperfect::ImportFilter<OdpGenerator>(rxContext) {}
virtual ~KeynoteImportFilter() {}
diff --git a/writerperfect/source/impress/MWAWPresentationImportFilter.hxx b/writerperfect/source/impress/MWAWPresentationImportFilter.hxx
index f8ff94a71070..4f8e4c08fa33 100644
--- a/writerperfect/source/impress/MWAWPresentationImportFilter.hxx
+++ b/writerperfect/source/impress/MWAWPresentationImportFilter.hxx
@@ -23,7 +23,7 @@
class MWAWPresentationImportFilter : public writerperfect::ImportFilter<OdpGenerator>
{
public:
- MWAWPresentationImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
+ explicit MWAWPresentationImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
: writerperfect::ImportFilter<OdpGenerator>(rxContext) {}
// XServiceInfo
diff --git a/writerperfect/source/writer/AbiWordImportFilter.hxx b/writerperfect/source/writer/AbiWordImportFilter.hxx
index 4268d32fe090..ae91394beff6 100644
--- a/writerperfect/source/writer/AbiWordImportFilter.hxx
+++ b/writerperfect/source/writer/AbiWordImportFilter.hxx
@@ -23,7 +23,7 @@
class AbiWordImportFilter : public writerperfect::ImportFilter<OdtGenerator>
{
public:
- AbiWordImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
+ explicit AbiWordImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
: writerperfect::ImportFilter<OdtGenerator>(rxContext) {}
// XServiceInfo
diff --git a/writerperfect/source/writer/EBookImportFilter.hxx b/writerperfect/source/writer/EBookImportFilter.hxx
index 9f1560f9e68f..a4218de75901 100644
--- a/writerperfect/source/writer/EBookImportFilter.hxx
+++ b/writerperfect/source/writer/EBookImportFilter.hxx
@@ -23,7 +23,7 @@
class EBookImportFilter : public writerperfect::ImportFilter<OdtGenerator>
{
public:
- EBookImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
+ explicit EBookImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
: writerperfect::ImportFilter<OdtGenerator>(rxContext) {}
// XServiceInfo
diff --git a/writerperfect/source/writer/MSWorksImportFilter.hxx b/writerperfect/source/writer/MSWorksImportFilter.hxx
index 32f4d74d4cfb..b5afa42e8edd 100644
--- a/writerperfect/source/writer/MSWorksImportFilter.hxx
+++ b/writerperfect/source/writer/MSWorksImportFilter.hxx
@@ -23,7 +23,7 @@
class MSWorksImportFilter : public writerperfect::ImportFilter<OdtGenerator>
{
public:
- MSWorksImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
+ explicit MSWorksImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
: writerperfect::ImportFilter<OdtGenerator>(rxContext) {}
// XServiceInfo
diff --git a/writerperfect/source/writer/MWAWImportFilter.hxx b/writerperfect/source/writer/MWAWImportFilter.hxx
index fdece1e3a53b..959ab152b09b 100644
--- a/writerperfect/source/writer/MWAWImportFilter.hxx
+++ b/writerperfect/source/writer/MWAWImportFilter.hxx
@@ -23,7 +23,7 @@
class MWAWImportFilter : public writerperfect::ImportFilter<OdtGenerator>
{
public:
- MWAWImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
+ explicit MWAWImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
: writerperfect::ImportFilter<OdtGenerator>(rxContext) {}
// XServiceInfo
diff --git a/writerperfect/source/writer/PagesImportFilter.hxx b/writerperfect/source/writer/PagesImportFilter.hxx
index e527b0747169..74c674b02849 100644
--- a/writerperfect/source/writer/PagesImportFilter.hxx
+++ b/writerperfect/source/writer/PagesImportFilter.hxx
@@ -22,7 +22,7 @@
class PagesImportFilter : public writerperfect::ImportFilter<OdtGenerator>
{
public:
- PagesImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
+ explicit PagesImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
: writerperfect::ImportFilter<OdtGenerator>(rxContext) {}
// XServiceInfo
diff --git a/writerperfect/source/writer/WordPerfectImportFilter.hxx b/writerperfect/source/writer/WordPerfectImportFilter.hxx
index 60f720f3290e..ed96f4e2ae94 100644
--- a/writerperfect/source/writer/WordPerfectImportFilter.hxx
+++ b/writerperfect/source/writer/WordPerfectImportFilter.hxx
@@ -45,7 +45,7 @@ protected:
throw (css::uno::RuntimeException, std::exception);
public:
- WordPerfectImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
+ explicit WordPerfectImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
: mxContext(rxContext) {}
virtual ~WordPerfectImportFilter() {}
@@ -129,7 +129,7 @@ class WordPerfectImportFilterDialog : public cppu::WeakImplHelper3 <
::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
public:
- WordPerfectImportFilterDialog(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rContext);
+ explicit WordPerfectImportFilterDialog(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rContext);
};