summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-04 12:03:03 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-04 20:13:52 +0100
commit869e477484befd0c200c73103ff9bc224d3a47df (patch)
tree0ca84c1d6c2da8555fffefa613b5cd612c1a9ee3 /xmlscript
parentc4ed1eb3ab4480092b21d95edebc10ea010b67e8 (diff)
cppcheck: noExplicitConstructor
Change-Id: Iea5bb0504518b380c3fe7c238d376dc26be8a7ef
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/source/xmlflat_imexp/xmlbas_export.hxx4
-rw-r--r--xmlscript/source/xmlflat_imexp/xmlbas_import.hxx4
-rw-r--r--xmlscript/source/xmllib_imexp/imp_share.hxx4
3 files changed, 6 insertions, 6 deletions
diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx b/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx
index 86dae1b1f43e..f3e92d523885 100644
--- a/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx
+++ b/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx
@@ -77,7 +77,7 @@ namespace xmlscript
class XMLBasicExporter : public XMLBasicExporterBase
{
public:
- XMLBasicExporter(
+ explicit XMLBasicExporter(
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
virtual ~XMLBasicExporter();
@@ -93,7 +93,7 @@ namespace xmlscript
class XMLOasisBasicExporter : public XMLBasicExporterBase
{
public:
- XMLOasisBasicExporter(
+ explicit XMLOasisBasicExporter(
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
virtual ~XMLOasisBasicExporter();
diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx b/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx
index 54a9b946a68a..a600e238023f 100644
--- a/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx
+++ b/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx
@@ -272,7 +272,7 @@ namespace xmlscript
class XMLBasicImporter : public XMLBasicImporterBase
{
public:
- XMLBasicImporter(
+ explicit XMLBasicImporter(
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
virtual ~XMLBasicImporter();
@@ -288,7 +288,7 @@ namespace xmlscript
class XMLOasisBasicImporter : public XMLBasicImporterBase
{
public:
- XMLOasisBasicImporter(
+ explicit XMLOasisBasicImporter(
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
virtual ~XMLOasisBasicImporter();
diff --git a/xmlscript/source/xmllib_imexp/imp_share.hxx b/xmlscript/source/xmllib_imexp/imp_share.hxx
index 39ce9d3c5d20..4be264a97ea9 100644
--- a/xmlscript/source/xmllib_imexp/imp_share.hxx
+++ b/xmlscript/source/xmllib_imexp/imp_share.hxx
@@ -114,7 +114,7 @@ struct LibraryImport
sal_Int32 XMLNS_XLINK_UID;
public:
- LibraryImport( LibDescriptorArray* pLibArray )
+ explicit LibraryImport( LibDescriptorArray* pLibArray )
: mpLibArray(pLibArray)
, mpLibDesc(NULL)
, XMLNS_LIBRARY_UID(0)
@@ -123,7 +123,7 @@ public:
}
// Single library mode
- LibraryImport(LibDescriptor* pLibDesc)
+ explicit LibraryImport(LibDescriptor* pLibDesc)
: mpLibArray(NULL)
, mpLibDesc(pLibDesc)
, XMLNS_LIBRARY_UID(0)