diff options
Diffstat (limited to 'sw/source/core/unocore')
-rw-r--r-- | sw/source/core/unocore/unobkm.cxx | 4 | ||||
-rw-r--r-- | sw/source/core/unocore/unochart.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/unocore/unocoll.cxx | 8 | ||||
-rw-r--r-- | sw/source/core/unocore/unoflatpara.cxx | 6 | ||||
-rw-r--r-- | sw/source/core/unocore/unostyle.cxx | 4 | ||||
-rw-r--r-- | sw/source/core/unocore/unotextmarkup.cxx | 2 |
6 files changed, 13 insertions, 13 deletions
diff --git a/sw/source/core/unocore/unobkm.cxx b/sw/source/core/unocore/unobkm.cxx index d9a807f671d5..d144bc32f704 100644 --- a/sw/source/core/unocore/unobkm.cxx +++ b/sw/source/core/unocore/unobkm.cxx @@ -555,7 +555,7 @@ uno::Sequence<OUString> SwXFieldmarkParameters::getElementNames() return vResult; } -::sal_Bool SwXFieldmarkParameters::hasByName(const OUString& aName) +sal_Bool SwXFieldmarkParameters::hasByName(const OUString& aName) throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; @@ -569,7 +569,7 @@ uno::Type SwXFieldmarkParameters::getElementType() return ::cppu::UnoType< ::cppu::UnoVoidType>::get(); } -::sal_Bool SwXFieldmarkParameters::hasElements() +sal_Bool SwXFieldmarkParameters::hasElements() throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx index c144ae4385ae..8cd98218e80d 100644 --- a/sw/source/core/unocore/unochart.cxx +++ b/sw/source/core/unocore/unochart.cxx @@ -2381,7 +2381,7 @@ sal_Bool SAL_CALL SwChartDataSequence::isModified( ) } void SAL_CALL SwChartDataSequence::setModified( - ::sal_Bool bModified ) + sal_Bool bModified ) throw (beans::PropertyVetoException, uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; diff --git a/sw/source/core/unocore/unocoll.cxx b/sw/source/core/unocore/unocoll.cxx index da50429dddd5..9d208bebf9a4 100644 --- a/sw/source/core/unocore/unocoll.cxx +++ b/sw/source/core/unocore/unocoll.cxx @@ -179,7 +179,7 @@ public: SwVbaProjectNameProvider() { } - virtual ::sal_Bool SAL_CALL hasByName( const OUString& aName ) throw (::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE + virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) throw (::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE { return ( mTemplateToProject.find( aName ) != mTemplateToProject.end() ); } @@ -227,7 +227,7 @@ public: { return ::getCppuType((const OUString*)0); } - virtual ::sal_Bool SAL_CALL hasElements( ) throw (::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE + virtual sal_Bool SAL_CALL hasElements( ) throw (::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE { return ( mTemplateToProject.size() > 0 ); @@ -244,7 +244,7 @@ public: // #FIXME #TODO is the code name for ThisDocument read anywhere? } - virtual ::sal_Bool SAL_CALL hasByName( const OUString& aName ) throw (::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE + virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) throw (::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE { // #FIXME #TODO we really need to be checking against the codename for // ThisDocument @@ -271,7 +271,7 @@ public: } // XElemenAccess virtual ::com::sun::star::uno::Type SAL_CALL getElementType( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return uno::Type(); } - virtual ::sal_Bool SAL_CALL hasElements( ) throw (::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE { return sal_True; } + virtual sal_Bool SAL_CALL hasElements( ) throw (::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE { return sal_True; } }; diff --git a/sw/source/core/unocore/unoflatpara.cxx b/sw/source/core/unocore/unoflatpara.cxx index 822b16d0decb..80817cda5446 100644 --- a/sw/source/core/unocore/unoflatpara.cxx +++ b/sw/source/core/unocore/unoflatpara.cxx @@ -136,7 +136,7 @@ OUString SAL_CALL SwXFlatParagraph::getText() throw (uno::RuntimeException, std: } // text::XFlatParagraph: -void SAL_CALL SwXFlatParagraph::setChecked( ::sal_Int32 nType, ::sal_Bool bVal ) throw (uno::RuntimeException, std::exception) +void SAL_CALL SwXFlatParagraph::setChecked( ::sal_Int32 nType, sal_Bool bVal ) throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; @@ -156,7 +156,7 @@ void SAL_CALL SwXFlatParagraph::setChecked( ::sal_Int32 nType, ::sal_Bool bVal ) } // text::XFlatParagraph: -::sal_Bool SAL_CALL SwXFlatParagraph::isChecked( ::sal_Int32 nType ) throw (uno::RuntimeException, std::exception) +sal_Bool SAL_CALL SwXFlatParagraph::isChecked( ::sal_Int32 nType ) throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; if ( mpTxtNode ) @@ -173,7 +173,7 @@ void SAL_CALL SwXFlatParagraph::setChecked( ::sal_Int32 nType, ::sal_Bool bVal ) } // text::XFlatParagraph: -::sal_Bool SAL_CALL SwXFlatParagraph::isModified() throw (uno::RuntimeException, std::exception) +sal_Bool SAL_CALL SwXFlatParagraph::isModified() throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; return 0 == mpTxtNode; diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx index 1c417c8b5693..8d14d4bafb3a 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -186,7 +186,7 @@ class SwAutoStylesEnumImpl IStyleAccess::SwAutoStyleFamily eFamily; public: SwAutoStylesEnumImpl( SwDoc* pInitDoc, IStyleAccess::SwAutoStyleFamily eFam ); - ::sal_Bool hasMoreElements() { return aIter != mAutoStyles.end(); } + sal_Bool hasMoreElements() { return aIter != mAutoStyles.end(); } SfxItemSet_Pointer_t nextElement() { return *(aIter++); } IStyleAccess::SwAutoStyleFamily getFamily() const { return eFamily; } SwDoc* getDoc() const { return pDoc; } @@ -4039,7 +4039,7 @@ void SwXAutoStylesEnumerator::Modify( const SfxPoolItem* pOld, const SfxPoolItem } } -::sal_Bool SwXAutoStylesEnumerator::hasMoreElements( ) +sal_Bool SwXAutoStylesEnumerator::hasMoreElements( ) throw (uno::RuntimeException, std::exception) { if( !pImpl ) diff --git a/sw/source/core/unocore/unotextmarkup.cxx b/sw/source/core/unocore/unotextmarkup.cxx index 548a20b08e21..de9a9878dc03 100644 --- a/sw/source/core/unocore/unotextmarkup.cxx +++ b/sw/source/core/unocore/unotextmarkup.cxx @@ -477,7 +477,7 @@ uno::Any SAL_CALL SwXStringKeyMap::getValue(const OUString & aKey) throw (uno::R return (*aIter).second; } -::sal_Bool SAL_CALL SwXStringKeyMap::hasValue(const OUString & aKey) throw (uno::RuntimeException, std::exception) +sal_Bool SAL_CALL SwXStringKeyMap::hasValue(const OUString & aKey) throw (uno::RuntimeException, std::exception) { return maMap.find( aKey ) != maMap.end(); } |