diff options
Diffstat (limited to 'sfx2/source/bastyp')
-rw-r--r-- | sfx2/source/bastyp/fltfnc.cxx | 14 | ||||
-rw-r--r-- | sfx2/source/bastyp/fltlst.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/bastyp/progress.cxx | 2 |
3 files changed, 9 insertions, 9 deletions
diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx index 96aaef36d722..8da50c8581c1 100644 --- a/sfx2/source/bastyp/fltfnc.cxx +++ b/sfx2/source/bastyp/fltfnc.cxx @@ -153,11 +153,11 @@ public: OUString aName; OUString aServiceName; - SfxFilterContainer_Impl( const OUString& rName ) - : aName( rName ) - { - aServiceName = SfxObjectShell::GetServiceNameFromFactory( rName ); - } + explicit SfxFilterContainer_Impl( const OUString& rName ) + : aName( rName ) + { + aServiceName = SfxObjectShell::GetServiceNameFromFactory( rName ); + } }; #define IMPL_FORWARD_LOOP( aMethod, ArgType, aArg ) \ @@ -263,7 +263,7 @@ public: void InitForIterating() const; void Update() const; - SfxFilterMatcher_Impl(const OUString &rName) + explicit SfxFilterMatcher_Impl(const OUString &rName) : aName(rName) , pList(0) { @@ -290,7 +290,7 @@ namespace private: const OUString& mrName; public: - hasName(const OUString &rName) : mrName(rName) {} + explicit hasName(const OUString &rName) : mrName(rName) {} bool operator() (const SfxFilterMatcher_Impl& rImpl) const { return rImpl.aName == mrName; diff --git a/sfx2/source/bastyp/fltlst.cxx b/sfx2/source/bastyp/fltlst.cxx index c6ae1f92e141..a51863e4bcf5 100644 --- a/sfx2/source/bastyp/fltlst.cxx +++ b/sfx2/source/bastyp/fltlst.cxx @@ -44,7 +44,7 @@ class SfxRefreshListener : public ::cppu::WeakImplHelper<com::sun::star::util::X SfxFilterListener *m_pOwner; public: - SfxRefreshListener(SfxFilterListener *pOwner) + explicit SfxRefreshListener(SfxFilterListener *pOwner) : m_pOwner(pOwner) { } diff --git a/sfx2/source/bastyp/progress.cxx b/sfx2/source/bastyp/progress.cxx index 6735a0c27544..c3aacf3c8ff3 100644 --- a/sfx2/source/bastyp/progress.cxx +++ b/sfx2/source/bastyp/progress.cxx @@ -66,7 +66,7 @@ struct SfxProgress_Impl SfxWorkWindow* pWorkWin; SfxViewFrame* pView; - SfxProgress_Impl( const OUString& ); + explicit SfxProgress_Impl( const OUString& ); void Enable_Impl( bool ); }; |