diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-01 21:04:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-02 08:57:56 +0100 |
commit | 8e22cd40ec9f7d97bde49dd4c8593fc5bfb52e29 (patch) | |
tree | 9ba83232a259a1e895fc0ed5d2820d260ab38bd2 /svtools/source/graphic | |
parent | 29177c9e05717fca77be6877843945f6e4d9633a (diff) |
cppcheck: noExplicitConstructor
Change-Id: I8ae8623252546ca94f65fc04b331dd9cafa4fc92
Diffstat (limited to 'svtools/source/graphic')
-rw-r--r-- | svtools/source/graphic/graphicunofactory.cxx | 2 | ||||
-rw-r--r-- | svtools/source/graphic/grfcache.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/graphic/graphicunofactory.cxx b/svtools/source/graphic/graphicunofactory.cxx index 478ae4974034..e195cbec74c0 100644 --- a/svtools/source/graphic/graphicunofactory.cxx +++ b/svtools/source/graphic/graphicunofactory.cxx @@ -39,7 +39,7 @@ class GObjectImpl : public GObjectAccess_BASE ::osl::Mutex m_aMutex; std::unique_ptr< GraphicObject > mpGObject; public: - GObjectImpl(uno::Sequence< uno::Any > const & args) throw (uno::RuntimeException, std::exception); + explicit GObjectImpl(uno::Sequence< uno::Any > const & args) throw (uno::RuntimeException, std::exception); // XGraphicObject virtual uno::Reference< graphic::XGraphic > SAL_CALL getGraphic() throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/svtools/source/graphic/grfcache.cxx b/svtools/source/graphic/grfcache.cxx index 85dc7143084c..011f79a5b3ce 100644 --- a/svtools/source/graphic/grfcache.cxx +++ b/svtools/source/graphic/grfcache.cxx @@ -48,7 +48,7 @@ private: public: - GraphicID( const GraphicObject& rObj ); + explicit GraphicID( const GraphicObject& rObj ); ~GraphicID() {} bool operator==( const GraphicID& rID ) const @@ -161,7 +161,7 @@ private: public: - GraphicCacheEntry( const GraphicObject& rObj ); + explicit GraphicCacheEntry( const GraphicObject& rObj ); ~GraphicCacheEntry(); const GraphicID& GetID() const { return maID; } |