summaryrefslogtreecommitdiff
path: root/xmlhelp
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 /xmlhelp
parent12b6bca821a7b0137fcac243f8aa078ba1a152ad (diff)
cppcheck: noExplicitConstructor
Change-Id: I62076450ab77472bfd09b3fb9824f54b6ea1e0f7
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/bufferedinputstream.hxx2
-rw-r--r--xmlhelp/source/cxxhelp/provider/databases.cxx2
-rw-r--r--xmlhelp/source/cxxhelp/provider/databases.hxx2
-rw-r--r--xmlhelp/source/cxxhelp/provider/inputstream.hxx2
-rw-r--r--xmlhelp/source/cxxhelp/provider/provider.hxx2
-rw-r--r--xmlhelp/source/cxxhelp/provider/urlparameter.hxx2
-rw-r--r--xmlhelp/source/treeview/tvread.cxx2
7 files changed, 7 insertions, 7 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/bufferedinputstream.hxx b/xmlhelp/source/cxxhelp/provider/bufferedinputstream.hxx
index 80f4128738ae..0a7796ae6bcb 100644
--- a/xmlhelp/source/cxxhelp/provider/bufferedinputstream.hxx
+++ b/xmlhelp/source/cxxhelp/provider/bufferedinputstream.hxx
@@ -42,7 +42,7 @@ namespace chelp {
public:
- BufferedInputStream(
+ explicit BufferedInputStream(
const com::sun::star::uno::Reference<com::sun::star::io::XInputStream>& xInputStream);
virtual ~BufferedInputStream();
diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx
index a2282721c736..98a6bb281d43 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.cxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.cxx
@@ -662,7 +662,7 @@ namespace chelp {
struct KeywordElementComparator
{
- KeywordElementComparator( const Reference< XCollator >& xCollator )
+ explicit KeywordElementComparator( const Reference< XCollator >& xCollator )
: m_xCollator( xCollator )
{ }
diff --git a/xmlhelp/source/cxxhelp/provider/databases.hxx b/xmlhelp/source/cxxhelp/provider/databases.hxx
index 95f0be7e3868..38660c9efd74 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.hxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.hxx
@@ -116,7 +116,7 @@ namespace chelp {
void init( Databases *pDatabases,helpdatafileproxy::Hdf* pHdf,const OUString& ids );
};
- KeywordInfo( const std::vector< KeywordElement >& aVector );
+ explicit KeywordInfo( const std::vector< KeywordElement >& aVector );
~KeywordInfo() { };
diff --git a/xmlhelp/source/cxxhelp/provider/inputstream.hxx b/xmlhelp/source/cxxhelp/provider/inputstream.hxx
index bbf91b098eb2..c97d99187e2b 100644
--- a/xmlhelp/source/cxxhelp/provider/inputstream.hxx
+++ b/xmlhelp/source/cxxhelp/provider/inputstream.hxx
@@ -38,7 +38,7 @@ namespace chelp {
{
public:
- XInputStream_impl( const OUString& aUncPath );
+ explicit XInputStream_impl( const OUString& aUncPath );
virtual ~XInputStream_impl();
diff --git a/xmlhelp/source/cxxhelp/provider/provider.hxx b/xmlhelp/source/cxxhelp/provider/provider.hxx
index 0e3994d136fb..05f0a76b2cbd 100644
--- a/xmlhelp/source/cxxhelp/provider/provider.hxx
+++ b/xmlhelp/source/cxxhelp/provider/provider.hxx
@@ -52,7 +52,7 @@ namespace chelp {
public ::com::sun::star::lang::XComponent
{
public:
- ContentProvider(
+ explicit ContentProvider(
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
virtual ~ContentProvider();
diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.hxx b/xmlhelp/source/cxxhelp/provider/urlparameter.hxx
index 05bca6d8451f..a6fb981e0977 100644
--- a/xmlhelp/source/cxxhelp/provider/urlparameter.hxx
+++ b/xmlhelp/source/cxxhelp/provider/urlparameter.hxx
@@ -38,7 +38,7 @@ namespace chelp {
{
public:
- DbtToStringConverter( const sal_Char* ptr )
+ explicit DbtToStringConverter( const sal_Char* ptr )
: m_ptr( ptr )
{
}
diff --git a/xmlhelp/source/treeview/tvread.cxx b/xmlhelp/source/treeview/tvread.cxx
index ea779f6eee36..551847002ccd 100644
--- a/xmlhelp/source/treeview/tvread.cxx
+++ b/xmlhelp/source/treeview/tvread.cxx
@@ -47,7 +47,7 @@ namespace treeview {
public:
- TVDom( TVDom* arent = 0 )
+ explicit TVDom( TVDom* arent = 0 )
: kind( other ),
parent( arent ),
children( 0 )