diff options
-rw-r--r-- | offapi/com/sun/star/text/XTextConvert.idl | 5 | ||||
-rw-r--r-- | sw/inc/unotext.hxx | 1 | ||||
-rw-r--r-- | sw/source/core/unocore/unotext.cxx | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/offapi/com/sun/star/text/XTextConvert.idl b/offapi/com/sun/star/text/XTextConvert.idl index b707489abcfb..2de810cf503b 100644 --- a/offapi/com/sun/star/text/XTextConvert.idl +++ b/offapi/com/sun/star/text/XTextConvert.idl @@ -22,7 +22,7 @@ #include <com/sun/star/uno/XInterface.idl> #include <com/sun/star/beans/PropertyValues.idl> #include <com/sun/star/lang/IllegalArgumentException.idl> - +#include <com/sun/star/beans/PropertyVetoException,idl> #include <com/sun/star/beans/UnknownPropertyException.idl> #include <com/sun/star/text/XTextRange.idl> #include <com/sun/star/text/XTextContent.idl> @@ -57,7 +57,8 @@ interface XTextConvert : com::sun::star::uno::XInterface [in] com::sun::star::text::XTextRange End, [in] com::sun::star::beans::PropertyValues FrameProperties ) raises( com::sun::star::lang::IllegalArgumentException, - com::sun::star::beans::UnknownPropertyException ); + com::sun::star::beans::UnknownPropertyException, + com::sun::star::beans::PropertyVetoException ); /** converts the paragraphs marked in TableRanges into a table. diff --git a/sw/inc/unotext.hxx b/sw/inc/unotext.hxx index 69490db383c6..4edca63ba1ea 100644 --- a/sw/inc/unotext.hxx +++ b/sw/inc/unotext.hxx @@ -284,6 +284,7 @@ public: ::com::sun::star::beans::PropertyValue >& xFrameProperties) throw (css::lang::IllegalArgumentException, css::beans::UnknownPropertyException, + css::beans::PropertyVetoException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextTable > SAL_CALL diff --git a/sw/source/core/unocore/unotext.cxx b/sw/source/core/unocore/unotext.cxx index 029c5960fb0f..b6f3979b4354 100644 --- a/sw/source/core/unocore/unotext.cxx +++ b/sw/source/core/unocore/unotext.cxx @@ -1525,7 +1525,7 @@ SwXText::convertToTextFrame( const uno::Reference< text::XTextRange >& xEnd, const uno::Sequence< beans::PropertyValue >& rFrameProperties) throw (lang::IllegalArgumentException, beans::UnknownPropertyException, - uno::RuntimeException, std::exception) + beans::PropertyVetoException, uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; |