summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/propertycomposer.hxx
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-05-30 14:25:27 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2013-05-30 14:34:54 +0200
commit979b570f76fb8b1fc476fb9e3bf01e8209925bfd (patch)
tree65f479ff2c004784d7951a88676237f53ec7dd27 /extensions/source/propctrlr/propertycomposer.hxx
parenta4c6f8f60d3c199239f2cb736bb8f76a9dafd19a (diff)
setPropertyValue can throw PropertyVetoException
fixes abort in report design when entering e.g. invalid positions or size for control Change-Id: I38835ed79d5bee15c4d7b57ab6780050d250732a
Diffstat (limited to 'extensions/source/propctrlr/propertycomposer.hxx')
-rw-r--r--extensions/source/propctrlr/propertycomposer.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/propertycomposer.hxx b/extensions/source/propctrlr/propertycomposer.hxx
index 5191239035a8..1ed6c770f72e 100644
--- a/extensions/source/propctrlr/propertycomposer.hxx
+++ b/extensions/source/propctrlr/propertycomposer.hxx
@@ -27,6 +27,8 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/inspection/XPropertyHandler.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
+#include <com/sun/star/beans/UnknownPropertyException.hpp>
+#include <com/sun/star/beans/PropertyVetoException.hpp>
#include <cppuhelper/compbase2.hxx>
#include <comphelper/broadcasthelper.hxx>
#include <comphelper/listenernotification.hxx>
@@ -78,7 +80,7 @@ namespace pcr
// XPropertyHandler overridables
virtual void SAL_CALL inspect( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _rxIntrospectee ) throw (::com::sun::star::lang::NullPointerException, ::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const OUString& _rPropertyName ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL setPropertyValue( const OUString& _rPropertyName, const ::com::sun::star::uno::Any& _rValue ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL setPropertyValue( const OUString& _rPropertyName, const ::com::sun::star::uno::Any& _rValue ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, ::com::sun::star::beans::PropertyVetoException);
virtual ::com::sun::star::uno::Any SAL_CALL convertToPropertyValue( const OUString& _rPropertyName, const ::com::sun::star::uno::Any& _rControlValue ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Any SAL_CALL convertToControlValue( const OUString& _rPropertyName, const ::com::sun::star::uno::Any& _rPropertyValue, const ::com::sun::star::uno::Type& _rControlValueType ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::beans::PropertyState