diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2012-11-29 15:53:28 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2012-11-29 21:44:28 +0100 |
commit | 1fefd633220e5d9a7b1d511e3ebac7c008d97a97 (patch) | |
tree | 570644d308962ab75fd32b860c79731eeb3aa57c /offapi/com/sun/star/report | |
parent | efd2438e824edd616075e62e948d4ed771f1251f (diff) |
fdo#57611 don't crash when setting too small size
setHeight/Width needs to be authorized to throw com::sun::star::beans::PropertyVetoException, which is already handled adequately
Change-Id: I077fbf7e3b871a59446fb3e23cc9fa1e2e9272a2
Diffstat (limited to 'offapi/com/sun/star/report')
-rw-r--r-- | offapi/com/sun/star/report/XReportComponent.idl | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/offapi/com/sun/star/report/XReportComponent.idl b/offapi/com/sun/star/report/XReportComponent.idl index f6e9d8c5494d..148b75f0cf96 100644 --- a/offapi/com/sun/star/report/XReportComponent.idl +++ b/offapi/com/sun/star/report/XReportComponent.idl @@ -64,7 +64,10 @@ interface XReportComponent /** specifies the height of the control. */ - [attribute,bound] long Height; + [attribute,bound] long Height + { + set raises ( com::sun::star::beans::PropertyVetoException ); + }; /** specifies the horizontal position of the control. */ @@ -76,7 +79,10 @@ interface XReportComponent /** specifies the width of the control. */ - [attribute,bound] long Width; + [attribute,bound] long Width + { + set raises ( com::sun::star::beans::PropertyVetoException ); + }; /** specifies the border style of the control. |