summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-05-22 14:34:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-05-23 09:48:52 +0200
commitab554c32e705ccdd6d67fceb215d18257399023c (patch)
tree0bdbe98185fad565dd2ffa542fd1ef3195a435b1 /offapi
parent90212f0a0cd42bb1895843ec6d66677f16bbb151 (diff)
fix maybevoid attributes
..from commit d256dbede60533369d1aac64cca34721183f6a8a "Convert chart2::Title service to new style" Change-Id: Ib4b8a9126f1042c7d0b8cc07505444f25fe9c55a (cherry picked from commit 03c3cd90930d6fb7d0f498e4b21871b1746d9b2d)
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/chart2/XTitle2.idl5
1 files changed, 3 insertions, 2 deletions
diff --git a/offapi/com/sun/star/chart2/XTitle2.idl b/offapi/com/sun/star/chart2/XTitle2.idl
index d993f75f2f83..64019d270253 100644
--- a/offapi/com/sun/star/chart2/XTitle2.idl
+++ b/offapi/com/sun/star/chart2/XTitle2.idl
@@ -23,6 +23,7 @@
#include <com/sun/star/chart2/XTitle.idl>
#include <com/sun/star/chart2/RelativePosition.idl>
#include <com/sun/star/beans/XPropertySet.idl>
+#include <com/sun/star/beans/Optional.idl>
#include <com/sun/star/drawing/LineProperties.idl>
#include <com/sun/star/drawing/FillProperties.idl>
//FIXME does not exist <com/sun/star/layout/LayoutElement.idl>
@@ -67,7 +68,7 @@ interface XTitle2
<p>If a relative position is given the title is not automatically placed,
but instead is placed relative on the page.</p>
*/
- [attribute] ::com::sun::star::chart2::RelativePosition RelativePosition;
+ [attribute] ::com::sun::star::beans::Optional<::com::sun::star::chart2::RelativePosition> RelativePosition;
/** contains the size of the page at the time when properties were
@@ -76,7 +77,7 @@ interface XTitle2
<p>This way it is possible to resize objects (like text) in
the view without modifying the model.</p>
*/
- [attribute] com::sun::star::awt::Size ReferencePageSize;
+ [attribute] ::com::sun::star::beans::Optional<com::sun::star::awt::Size> ReferencePageSize;
};
}; }; }; };