summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/macab
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-14 20:57:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-15 11:11:42 +0100
commit8066c73940a30e97d8634655ea39d73fa8cf3c20 (patch)
tree030b5b52d9d7e67fd21c75f8b49defb4296d3e1e /connectivity/source/drivers/macab
parent101b616c7a2ee90b6d09eedd7a7543a63f237c97 (diff)
cppcheck: noExplicitConstructor
Change-Id: I2b5fba9cdd950349a8e8d22bbd7bb6e17f008920
Diffstat (limited to 'connectivity/source/drivers/macab')
-rw-r--r--connectivity/source/drivers/macab/MacabCatalog.hxx2
-rw-r--r--connectivity/source/drivers/macab/MacabConnection.hxx2
-rw-r--r--connectivity/source/drivers/macab/MacabDatabaseMetaData.hxx2
-rw-r--r--connectivity/source/drivers/macab/MacabDriver.hxx2
-rw-r--r--connectivity/source/drivers/macab/MacabRecord.hxx2
-rw-r--r--connectivity/source/drivers/macab/MacabRecords.hxx4
-rw-r--r--connectivity/source/drivers/macab/MacabResultSet.hxx2
-rw-r--r--connectivity/source/drivers/macab/MacabStatement.hxx4
-rw-r--r--connectivity/source/drivers/macab/macabcondition.hxx2
9 files changed, 11 insertions, 11 deletions
diff --git a/connectivity/source/drivers/macab/MacabCatalog.hxx b/connectivity/source/drivers/macab/MacabCatalog.hxx
index c02251dfcad1..0a4c7b9f2b9f 100644
--- a/connectivity/source/drivers/macab/MacabCatalog.hxx
+++ b/connectivity/source/drivers/macab/MacabCatalog.hxx
@@ -34,7 +34,7 @@ namespace connectivity
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData > m_xMetaData; // just to make things easier
public:
- MacabCatalog(MacabConnection* _pCon);
+ explicit MacabCatalog(MacabConnection* _pCon);
inline MacabConnection* getConnection() const { return m_pConnection; }
diff --git a/connectivity/source/drivers/macab/MacabConnection.hxx b/connectivity/source/drivers/macab/MacabConnection.hxx
index f0e6d514a942..36ed86ea7d3a 100644
--- a/connectivity/source/drivers/macab/MacabConnection.hxx
+++ b/connectivity/source/drivers/macab/MacabConnection.hxx
@@ -67,7 +67,7 @@ namespace connectivity
public:
virtual void construct( const OUString& url,const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& info) throw(::com::sun::star::sdbc::SQLException);
- MacabConnection(MacabDriver* _pDriver);
+ explicit MacabConnection(MacabDriver* _pDriver);
virtual ~MacabConnection();
void closeAllStatements () throw( ::com::sun::star::sdbc::SQLException);
diff --git a/connectivity/source/drivers/macab/MacabDatabaseMetaData.hxx b/connectivity/source/drivers/macab/MacabDatabaseMetaData.hxx
index eddecd809ba7..691da30f79dc 100644
--- a/connectivity/source/drivers/macab/MacabDatabaseMetaData.hxx
+++ b/connectivity/source/drivers/macab/MacabDatabaseMetaData.hxx
@@ -43,7 +43,7 @@ namespace connectivity
inline MacabConnection* getOwnConnection() const { return m_xConnection.get(); }
- MacabDatabaseMetaData(MacabConnection* _pCon);
+ explicit MacabDatabaseMetaData(MacabConnection* _pCon);
virtual ~MacabDatabaseMetaData();
// this interface is really BIG
diff --git a/connectivity/source/drivers/macab/MacabDriver.hxx b/connectivity/source/drivers/macab/MacabDriver.hxx
index 0c667e5a155a..508cae0d83d8 100644
--- a/connectivity/source/drivers/macab/MacabDriver.hxx
+++ b/connectivity/source/drivers/macab/MacabDriver.hxx
@@ -132,7 +132,7 @@ namespace connectivity
static OUString impl_getConfigurationSettingsPath();
protected:
- MacabDriver(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext);
+ explicit MacabDriver(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext);
// OComponentHelper
virtual void SAL_CALL disposing() SAL_OVERRIDE;
diff --git a/connectivity/source/drivers/macab/MacabRecord.hxx b/connectivity/source/drivers/macab/MacabRecord.hxx
index 3e8cf7a1dbc3..0f84bc98c43c 100644
--- a/connectivity/source/drivers/macab/MacabRecord.hxx
+++ b/connectivity/source/drivers/macab/MacabRecord.hxx
@@ -49,7 +49,7 @@ namespace connectivity
void releaseFields();
public:
MacabRecord();
- MacabRecord(const sal_Int32 _size);
+ explicit MacabRecord(const sal_Int32 _size);
virtual ~MacabRecord();
void insertAtColumn (CFTypeRef _value, ABPropertyType _type, const sal_Int32 _column);
bool contains(const macabfield *_field) const;
diff --git a/connectivity/source/drivers/macab/MacabRecords.hxx b/connectivity/source/drivers/macab/MacabRecords.hxx
index 5a5035258990..615c8ba313c1 100644
--- a/connectivity/source/drivers/macab/MacabRecords.hxx
+++ b/connectivity/source/drivers/macab/MacabRecords.hxx
@@ -78,8 +78,8 @@ namespace connectivity
void insertPropertyIntoMacabRecord(const ABPropertyType _propertyType, MacabRecord *_abrecord, const MacabHeader *_header, const OUString& _propertyName, const CFTypeRef _propertyValue) const;
public:
MacabRecords(const ABAddressBookRef _addressBook, MacabHeader *_header, MacabRecord **_records, sal_Int32 _numRecords);
- MacabRecords(const MacabRecords *_copy);
- MacabRecords(const ABAddressBookRef _addressBook);
+ explicit MacabRecords(const MacabRecords *_copy);
+ explicit MacabRecords(const ABAddressBookRef _addressBook);
~MacabRecords();
void initialize();
diff --git a/connectivity/source/drivers/macab/MacabResultSet.hxx b/connectivity/source/drivers/macab/MacabResultSet.hxx
index 747b6a192e3e..61b4cb0746f2 100644
--- a/connectivity/source/drivers/macab/MacabResultSet.hxx
+++ b/connectivity/source/drivers/macab/MacabResultSet.hxx
@@ -91,7 +91,7 @@ namespace connectivity
public:
DECLARE_SERVICE_INFO();
- MacabResultSet(MacabCommonStatement *pStmt);
+ explicit MacabResultSet(MacabCommonStatement *pStmt);
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > operator *()
{
diff --git a/connectivity/source/drivers/macab/MacabStatement.hxx b/connectivity/source/drivers/macab/MacabStatement.hxx
index fc3a1d1752af..79d420e38518 100644
--- a/connectivity/source/drivers/macab/MacabStatement.hxx
+++ b/connectivity/source/drivers/macab/MacabStatement.hxx
@@ -96,7 +96,7 @@ namespace connectivity
public:
::cppu::OBroadcastHelper& rBHelper;
- MacabCommonStatement(MacabConnection *_pConnection);
+ explicit MacabCommonStatement(MacabConnection *_pConnection);
using MacabCommonStatement_BASE::operator ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >;
// OComponentHelper
@@ -157,7 +157,7 @@ namespace connectivity
virtual ~MacabStatement() { }
public:
- MacabStatement(MacabConnection* _pConnection);
+ explicit MacabStatement(MacabConnection* _pConnection);
DECLARE_SERVICE_INFO();
};
}
diff --git a/connectivity/source/drivers/macab/macabcondition.hxx b/connectivity/source/drivers/macab/macabcondition.hxx
index 6ee7d5eac687..9ecfb42a13fe 100644
--- a/connectivity/source/drivers/macab/macabcondition.hxx
+++ b/connectivity/source/drivers/macab/macabcondition.hxx
@@ -46,7 +46,7 @@ class MacabConditionConstant : public MacabCondition
bool m_bValue;
public:
- MacabConditionConstant(const bool bValue);
+ explicit MacabConditionConstant(const bool bValue);
virtual bool isAlwaysTrue() const SAL_OVERRIDE;
virtual bool isAlwaysFalse() const SAL_OVERRIDE;
virtual bool eval(const MacabRecord *aRecord) const SAL_OVERRIDE;