summaryrefslogtreecommitdiff
path: root/xmloff/source/forms
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-24 20:45:48 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-24 20:58:24 +0100
commite50698c0ce5fd757d02f68dc5b8dd7ef2bd0cbbf (patch)
treeb189fe1de009f00ebe168881b4d77f467c547195 /xmloff/source/forms
parentcd6ee5de8ef7345ba219f0d50e9e1ee45332e55f (diff)
cppcheck: noExplicitConstructor
Change-Id: I8c9e970d5c5931de1a7526cbff3de626ef30bd74
Diffstat (limited to 'xmloff/source/forms')
-rw-r--r--xmloff/source/forms/controlpropertymap.hxx2
-rw-r--r--xmloff/source/forms/elementimport.cxx4
-rw-r--r--xmloff/source/forms/eventexport.hxx2
-rw-r--r--xmloff/source/forms/formcellbinding.cxx2
-rw-r--r--xmloff/source/forms/gridcolumnproptranslator.cxx2
-rw-r--r--xmloff/source/forms/gridcolumnproptranslator.hxx2
-rw-r--r--xmloff/source/forms/layerexport.hxx2
-rw-r--r--xmloff/source/forms/layerimport.hxx2
-rw-r--r--xmloff/source/forms/officeforms.hxx2
9 files changed, 10 insertions, 10 deletions
diff --git a/xmloff/source/forms/controlpropertymap.hxx b/xmloff/source/forms/controlpropertymap.hxx
index bd9d258c612d..0ec8bdc28393 100644
--- a/xmloff/source/forms/controlpropertymap.hxx
+++ b/xmloff/source/forms/controlpropertymap.hxx
@@ -35,7 +35,7 @@ namespace xmloff
class OFormComponentStyleExportMapper : public SvXMLExportPropertyMapper
{
public:
- OFormComponentStyleExportMapper( const rtl::Reference< XMLPropertySetMapper >& _rMapper );
+ explicit OFormComponentStyleExportMapper( const rtl::Reference< XMLPropertySetMapper >& _rMapper );
void handleSpecialItem(
SvXMLAttributeList& _rAttrList,
diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx
index 3c03e0bc3ad0..737f7e002ca2 100644
--- a/xmloff/source/forms/elementimport.cxx
+++ b/xmloff/source/forms/elementimport.cxx
@@ -1422,7 +1422,7 @@ namespace xmloff
struct EqualHandle : public ::std::unary_function< PropertyValue, bool >
{
const sal_Int32 m_nHandle;
- EqualHandle( sal_Int32 _nHandle ) : m_nHandle( _nHandle ) { }
+ explicit EqualHandle( sal_Int32 _nHandle ) : m_nHandle( _nHandle ) { }
inline bool operator()( const PropertyValue& _rProp )
{
@@ -1475,7 +1475,7 @@ namespace xmloff
struct EqualName : public ::std::unary_function< PropertyValue, bool >
{
const OUString m_sName;
- EqualName( const OUString& _rName ) : m_sName( _rName ) { }
+ explicit EqualName( const OUString& _rName ) : m_sName( _rName ) { }
inline bool operator()( const PropertyValue& _rProp )
{
diff --git a/xmloff/source/forms/eventexport.hxx b/xmloff/source/forms/eventexport.hxx
index 29a2b66bec88..e1927d37cd1f 100644
--- a/xmloff/source/forms/eventexport.hxx
+++ b/xmloff/source/forms/eventexport.hxx
@@ -52,7 +52,7 @@ namespace xmloff
MapString2PropertyValueSequence m_aMappedEvents;
public:
- OEventDescriptorMapper(
+ explicit OEventDescriptorMapper(
const ::com::sun::star::uno::Sequence< ::com::sun::star::script::ScriptEventDescriptor >& _rEvents);
// XNameReplace
diff --git a/xmloff/source/forms/formcellbinding.cxx b/xmloff/source/forms/formcellbinding.cxx
index 61797c861a0e..bbd610dc3bf2 100644
--- a/xmloff/source/forms/formcellbinding.cxx
+++ b/xmloff/source/forms/formcellbinding.cxx
@@ -86,7 +86,7 @@ namespace
const OUString m_sReference;
public:
- StringCompare( const OUString& _rReference ) : m_sReference( _rReference ) { }
+ explicit StringCompare( const OUString& _rReference ) : m_sReference( _rReference ) { }
inline bool operator()( const OUString& _rCompare )
{
diff --git a/xmloff/source/forms/gridcolumnproptranslator.cxx b/xmloff/source/forms/gridcolumnproptranslator.cxx
index aebb2c578124..d557fc64b81a 100644
--- a/xmloff/source/forms/gridcolumnproptranslator.cxx
+++ b/xmloff/source/forms/gridcolumnproptranslator.cxx
@@ -121,7 +121,7 @@ namespace xmloff
Reference< XPropertySetInfo > m_xMasterInfo;
public:
- OMergedPropertySetInfo( const Reference< XPropertySetInfo >& _rxMasterInfo );
+ explicit OMergedPropertySetInfo( const Reference< XPropertySetInfo >& _rxMasterInfo );
protected:
virtual ~OMergedPropertySetInfo();
diff --git a/xmloff/source/forms/gridcolumnproptranslator.hxx b/xmloff/source/forms/gridcolumnproptranslator.hxx
index 77077560d145..5ee7db5e871f 100644
--- a/xmloff/source/forms/gridcolumnproptranslator.hxx
+++ b/xmloff/source/forms/gridcolumnproptranslator.hxx
@@ -38,7 +38,7 @@ namespace xmloff
m_xGridColumn;
public:
- OGridColumnPropertyTranslator(
+ explicit OGridColumnPropertyTranslator(
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XMultiPropertySet >& _rxGridColumn
);
diff --git a/xmloff/source/forms/layerexport.hxx b/xmloff/source/forms/layerexport.hxx
index 5f8a3b319547..a00fad953641 100644
--- a/xmloff/source/forms/layerexport.hxx
+++ b/xmloff/source/forms/layerexport.hxx
@@ -120,7 +120,7 @@ namespace xmloff
// style names of grid columns
public:
- OFormLayerXMLExport_Impl(SvXMLExport& _rContext);
+ explicit OFormLayerXMLExport_Impl(SvXMLExport& _rContext);
virtual ~OFormLayerXMLExport_Impl();
protected:
diff --git a/xmloff/source/forms/layerimport.hxx b/xmloff/source/forms/layerimport.hxx
index 5c4cb6782658..3cbcb796daf4 100644
--- a/xmloff/source/forms/layerimport.hxx
+++ b/xmloff/source/forms/layerimport.hxx
@@ -130,7 +130,7 @@ namespace xmloff
);
protected:
- OFormLayerXMLImport_Impl(SvXMLImport& _rImporter);
+ explicit OFormLayerXMLImport_Impl(SvXMLImport& _rImporter);
virtual ~OFormLayerXMLImport_Impl();
/** start importing the forms of the given page
diff --git a/xmloff/source/forms/officeforms.hxx b/xmloff/source/forms/officeforms.hxx
index 8a32a6d1c659..a7562c99696f 100644
--- a/xmloff/source/forms/officeforms.hxx
+++ b/xmloff/source/forms/officeforms.hxx
@@ -65,7 +65,7 @@ namespace xmloff
SvXMLElementExport* m_pImplElement;
public:
- OFormsRootExport( SvXMLExport& _rExp );
+ explicit OFormsRootExport( SvXMLExport& _rExp );
~OFormsRootExport();
private: