diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/ownsubfilterservice.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/plugin.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/printhelper.cxx | 14 | ||||
-rw-r--r-- | sfx2/source/doc/sfxbasemodel.cxx | 6 | ||||
-rw-r--r-- | sfx2/source/explorer/nochaos.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/notify/globalevents.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/sidebar/Accessible.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/sidebar/AccessibleTitleBar.hxx | 2 |
8 files changed, 16 insertions, 16 deletions
diff --git a/sfx2/source/doc/ownsubfilterservice.cxx b/sfx2/source/doc/ownsubfilterservice.cxx index 27c525a1a4b7..a3e9f2e0cc92 100644 --- a/sfx2/source/doc/ownsubfilterservice.cxx +++ b/sfx2/source/doc/ownsubfilterservice.cxx @@ -41,7 +41,7 @@ class OwnSubFilterService : public cppu::WeakImplHelper2 < document::XFilter SfxObjectShell* m_pObjectShell; public: - OwnSubFilterService(const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments) + explicit OwnSubFilterService(const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments) throw (uno::Exception, uno::RuntimeException); virtual ~OwnSubFilterService(); diff --git a/sfx2/source/doc/plugin.cxx b/sfx2/source/doc/plugin.cxx index 987e9536e41f..b5b0e14fb6f0 100644 --- a/sfx2/source/doc/plugin.cxx +++ b/sfx2/source/doc/plugin.cxx @@ -50,7 +50,7 @@ class PluginWindow_Impl : public vcl::Window { public: uno::Reference < awt::XWindow > xWindow; - PluginWindow_Impl( vcl::Window* pParent ) + explicit PluginWindow_Impl(vcl::Window* pParent) : Window( pParent, WB_CLIPCHILDREN ) {} diff --git a/sfx2/source/doc/printhelper.cxx b/sfx2/source/doc/printhelper.cxx index 452f41435a54..791fbeaf915d 100644 --- a/sfx2/source/doc/printhelper.cxx +++ b/sfx2/source/doc/printhelper.cxx @@ -67,7 +67,7 @@ struct IMPL_PrintListener_DataContainer : public SfxListener uno::Reference< com::sun::star::view::XPrintJob> m_xPrintJob; ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > m_aPrintOptions; - IMPL_PrintListener_DataContainer( ::osl::Mutex& aMutex) + explicit IMPL_PrintListener_DataContainer( ::osl::Mutex& aMutex) : m_pObjectShell ( 0 ) , m_aInterfaceContainer ( aMutex ) { @@ -99,14 +99,14 @@ class SfxPrintJob_Impl : public cppu::WeakImplHelper1 com::sun::star::view::XPrintJob > { - IMPL_PrintListener_DataContainer* m_pData; + IMPL_PrintListener_DataContainer* m_pData; public: - SfxPrintJob_Impl( IMPL_PrintListener_DataContainer* pData ); - virtual Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getPrintOptions( ) throw (RuntimeException, std::exception) SAL_OVERRIDE; - virtual Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getPrinter( ) throw (RuntimeException, std::exception) SAL_OVERRIDE; - virtual Reference< ::com::sun::star::view::XPrintable > SAL_CALL getPrintable( ) throw (RuntimeException, std::exception) SAL_OVERRIDE; - virtual void SAL_CALL cancelJob() throw (RuntimeException, std::exception) SAL_OVERRIDE; + explicit SfxPrintJob_Impl( IMPL_PrintListener_DataContainer* pData ); + virtual Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getPrintOptions( ) throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getPrinter( ) throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual Reference< ::com::sun::star::view::XPrintable > SAL_CALL getPrintable( ) throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL cancelJob() throw (RuntimeException, std::exception) SAL_OVERRIDE; }; SfxPrintJob_Impl::SfxPrintJob_Impl( IMPL_PrintListener_DataContainer* pData ) diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index d23b10cb1ce4..cbab9be94837 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -148,7 +148,7 @@ class SfxDocInfoListener_Impl : public ::cppu::WeakImplHelper1< public: SfxObjectShell& m_rShell; - SfxDocInfoListener_Impl( SfxObjectShell& i_rDoc ) + explicit SfxDocInfoListener_Impl( SfxObjectShell& i_rDoc ) : m_rShell(i_rDoc) { }; @@ -319,7 +319,7 @@ class SfxPrintHelperListener_Impl : public ::cppu::WeakImplHelper1< view::XPrint { public: IMPL_SfxBaseModel_DataContainer* m_pData; - SfxPrintHelperListener_Impl( IMPL_SfxBaseModel_DataContainer* pData ) + explicit SfxPrintHelperListener_Impl( IMPL_SfxBaseModel_DataContainer* pData ) : m_pData( pData ) {} @@ -351,7 +351,7 @@ class SfxOwnFramesLocker static vcl::Window* GetVCLWindow( const Reference< frame::XFrame >& xFrame ); public: - SfxOwnFramesLocker( SfxObjectShell* ObjechShell ); + explicit SfxOwnFramesLocker( SfxObjectShell* ObjechShell ); ~SfxOwnFramesLocker(); void UnlockFrames(); }; diff --git a/sfx2/source/explorer/nochaos.cxx b/sfx2/source/explorer/nochaos.cxx index b8b81f8abce3..9c0e21909633 100644 --- a/sfx2/source/explorer/nochaos.cxx +++ b/sfx2/source/explorer/nochaos.cxx @@ -44,7 +44,7 @@ private: inline void Insert( SfxPoolItem* pItem, sal_uInt16 nSID, SfxItemPoolFlags nFlags ); public: - CntStaticPoolDefaults_Impl( CntItemPool* pPool ); + explicit CntStaticPoolDefaults_Impl( CntItemPool* pPool ); ~CntStaticPoolDefaults_Impl(); SfxPoolItem** GetDefaults() const { return m_ppDefaults; } diff --git a/sfx2/source/notify/globalevents.cxx b/sfx2/source/notify/globalevents.cxx index 25d15144cdf4..702f2de3b148 100644 --- a/sfx2/source/notify/globalevents.cxx +++ b/sfx2/source/notify/globalevents.cxx @@ -94,7 +94,7 @@ class SfxGlobalEvents_Impl : public ModelCollectionMutexBase GlobalEventConfig* pImp; public: - SfxGlobalEvents_Impl(const css::uno::Reference < css::uno::XComponentContext >& rxContext); + explicit SfxGlobalEvents_Impl(const css::uno::Reference < css::uno::XComponentContext >& rxContext); virtual ~SfxGlobalEvents_Impl(); virtual OUString SAL_CALL getImplementationName() diff --git a/sfx2/source/sidebar/Accessible.hxx b/sfx2/source/sidebar/Accessible.hxx index 790a5f43b490..6f786f00663a 100644 --- a/sfx2/source/sidebar/Accessible.hxx +++ b/sfx2/source/sidebar/Accessible.hxx @@ -47,7 +47,7 @@ class Accessible public AccessibleInterfaceBase { public: - Accessible ( + explicit Accessible ( const css::uno::Reference<css::accessibility::XAccessibleContext>& rxContext); virtual ~Accessible(); diff --git a/sfx2/source/sidebar/AccessibleTitleBar.hxx b/sfx2/source/sidebar/AccessibleTitleBar.hxx index 2b39c8f1f9df..49e68e74265a 100644 --- a/sfx2/source/sidebar/AccessibleTitleBar.hxx +++ b/sfx2/source/sidebar/AccessibleTitleBar.hxx @@ -36,7 +36,7 @@ protected: virtual void FillAccessibleStateSet (utl::AccessibleStateSetHelper& rStateSet) SAL_OVERRIDE; private: - AccessibleTitleBar (VCLXWindow* pWindow); + explicit AccessibleTitleBar (VCLXWindow* pWindow); virtual ~AccessibleTitleBar(); }; |