summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/ui/inc/unotxvw.hxx5
-rw-r--r--sw/source/ui/uno/unotxvw.cxx3
2 files changed, 6 insertions, 2 deletions
diff --git a/sw/source/ui/inc/unotxvw.hxx b/sw/source/ui/inc/unotxvw.hxx
index 7f83015184b0..cb4b8ec9983b 100644
--- a/sw/source/ui/inc/unotxvw.hxx
+++ b/sw/source/ui/inc/unotxvw.hxx
@@ -280,7 +280,10 @@ public:
throw (::com::sun::star::beans::UnknownPropertyException,
::com::sun::star::uno::RuntimeException,
std::exception);
- virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName )
+ throw (::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::uno::RuntimeException,
+ std::exception);
virtual ::com::sun::star::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName )
throw (::com::sun::star::beans::UnknownPropertyException,
::com::sun::star::lang::WrappedTargetException,
diff --git a/sw/source/ui/uno/unotxvw.cxx b/sw/source/ui/uno/unotxvw.cxx
index 9929eceb5ae8..c32ee9198208 100644
--- a/sw/source/ui/uno/unotxvw.cxx
+++ b/sw/source/ui/uno/unotxvw.cxx
@@ -1586,7 +1586,8 @@ Sequence< PropertyState > SwXTextViewCursor::getPropertyStates(
}
void SwXTextViewCursor::setPropertyToDefault( const OUString& rPropertyName )
- throw(UnknownPropertyException, RuntimeException)
+ throw (UnknownPropertyException, RuntimeException,
+ std::exception)
{
SolarMutexGuard aGuard;
if(m_pView)