summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl/DrawController.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/unoidl/DrawController.cxx')
-rw-r--r--sd/source/ui/unoidl/DrawController.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/unoidl/DrawController.cxx b/sd/source/ui/unoidl/DrawController.cxx
index 78f7bb5b6eaa..f5ed766c5f91 100644
--- a/sd/source/ui/unoidl/DrawController.cxx
+++ b/sd/source/ui/unoidl/DrawController.cxx
@@ -700,7 +700,7 @@ void DrawController::FillPropertyTable (
rProperties.push_back(
beans::Property("VisibleArea",
PROPERTY_WORKAREA,
- ::getCppuType((const ::com::sun::star::awt::Rectangle*)0),
+ ::cppu::UnoType< ::com::sun::star::awt::Rectangle>::get(),
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY));
rProperties.push_back(
beans::Property(
@@ -742,12 +742,12 @@ void DrawController::FillPropertyTable (
rProperties.push_back(
beans::Property("ViewOffset",
PROPERTY_VIEWOFFSET,
- ::getCppuType((const ::com::sun::star::awt::Point*)0),
+ ::cppu::UnoType< ::com::sun::star::awt::Point>::get(),
beans::PropertyAttribute::BOUND ));
rProperties.push_back(
beans::Property("DrawViewMode",
PROPERTY_DRAWVIEWMODE,
- ::getCppuType((const ::com::sun::star::awt::Point*)0),
+ ::cppu::UnoType< ::com::sun::star::awt::Point>::get(),
beans::PropertyAttribute::BOUND|beans::PropertyAttribute::READONLY|beans::PropertyAttribute::MAYBEVOID ));
// add new property to update current page's acc information
rProperties.push_back(