summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-10 13:29:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-10 13:29:27 +0100
commitc78c0441a2e7f1b2b6a08d6174f8427907781d82 (patch)
tree559185b6f8218a5a71af4c1467891f2d68cb0dee /lotuswordpro
parent80fbd731d8b8b101a10466a4d16d4867e9de968b (diff)
cppcheck: noExplicitConstructor
Change-Id: I0081113bf312287fe6e14749a569709ee892d8dd
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/LotusWordProImportFilter.hxx2
-rw-r--r--lotuswordpro/source/filter/bento.hxx10
2 files changed, 6 insertions, 6 deletions
diff --git a/lotuswordpro/source/filter/LotusWordProImportFilter.hxx b/lotuswordpro/source/filter/LotusWordProImportFilter.hxx
index 37285c56d8e3..43c22d855ca0 100644
--- a/lotuswordpro/source/filter/LotusWordProImportFilter.hxx
+++ b/lotuswordpro/source/filter/LotusWordProImportFilter.hxx
@@ -54,7 +54,7 @@ protected:
throw (::com::sun::star::uno::RuntimeException);
public:
- LotusWordProImportFilter( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
+ explicit LotusWordProImportFilter( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
: mxContext( rxContext )
{
}
diff --git a/lotuswordpro/source/filter/bento.hxx b/lotuswordpro/source/filter/bento.hxx
index dcd5acf1754f..c9abbdab39c1 100644
--- a/lotuswordpro/source/filter/bento.hxx
+++ b/lotuswordpro/source/filter/bento.hxx
@@ -146,7 +146,7 @@ class CBenIDListElmt : public CUtListElmt
public: // Internal methods
CBenIDListElmt(BenObjectID ID, pCUtListElmt pPrev) : CUtListElmt(pPrev)
{ cID = ID; }
- CBenIDListElmt(BenObjectID ID) { cID = ID; }
+ explicit CBenIDListElmt(BenObjectID ID) { cID = ID; }
BenObjectID GetID() { return cID; }
private: // Data
@@ -157,7 +157,7 @@ class CBenNamedObjectListElmt : public CUtListElmt
{
public: // Methods
// added to remove warning
- CBenNamedObjectListElmt(pCUtListElmt pPrev) : CUtListElmt(pPrev)
+ explicit CBenNamedObjectListElmt(pCUtListElmt pPrev) : CUtListElmt(pPrev)
{ cpNamedObject = NULL; }
void SetNamedObject(pCBenNamedObject pObj)
{
@@ -176,7 +176,7 @@ private: // Data
class LtcUtBenValueStream : public SvStream
{
public:
- LtcUtBenValueStream(pCBenValue pValue);
+ explicit LtcUtBenValueStream(pCBenValue pValue);
virtual ~LtcUtBenValueStream();
public: // Overridden methods
@@ -213,7 +213,7 @@ public:
BenObjectID PropertyID);
public: // Internal methods
- LtcBenContainer(LwpSvStream * pStream);
+ explicit LtcBenContainer(LwpSvStream * pStream);
~LtcBenContainer();
BenError Read(BenDataPtr pBuffer, unsigned long MaxSize,
@@ -274,7 +274,7 @@ public:
public: // Internal methods
// added to remove WARNING
- CBenValue(BenObjectID TypeID):CBenIDListElmt(TypeID)
+ explicit CBenValue(BenObjectID TypeID):CBenIDListElmt(TypeID)
{
cpProperty = NULL;
cpReferencedList = NULL;