summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl/DrawController.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-05-08 18:12:01 +0200
committerJulien Nabet <serval2412@yahoo.fr>2014-05-08 18:12:58 +0200
commit76e8779787afef2e1e2b04adc8eaffe0b4d1f897 (patch)
tree1265fbfab5a4692e7c73d8cc8d3bd9e4e398a39a /sd/source/ui/unoidl/DrawController.cxx
parent9e8629c73327474598c4c1f2250937544a1562e7 (diff)
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part6
Change-Id: Ib523206d67ad13416557be1b37a58ba7a9791ca5
Diffstat (limited to 'sd/source/ui/unoidl/DrawController.cxx')
-rw-r--r--sd/source/ui/unoidl/DrawController.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/unoidl/DrawController.cxx b/sd/source/ui/unoidl/DrawController.cxx
index a4cd1c4a1fc0..78f7bb5b6eaa 100644
--- a/sd/source/ui/unoidl/DrawController.cxx
+++ b/sd/source/ui/unoidl/DrawController.cxx
@@ -732,12 +732,12 @@ void DrawController::FillPropertyTable (
rProperties.push_back(
beans::Property("ZoomValue",
PROPERTY_ZOOMVALUE,
- ::getCppuType((const sal_Int16*)0),
+ ::cppu::UnoType<sal_Int16>::get(),
beans::PropertyAttribute::BOUND ));
rProperties.push_back(
beans::Property("ZoomType",
PROPERTY_ZOOMTYPE,
- ::getCppuType((const sal_Int16*)0),
+ ::cppu::UnoType<sal_Int16>::get(),
beans::PropertyAttribute::BOUND ));
rProperties.push_back(
beans::Property("ViewOffset",
@@ -753,12 +753,12 @@ void DrawController::FillPropertyTable (
rProperties.push_back(
beans::Property( OUString( RTL_CONSTASCII_USTRINGPARAM("UpdateAcc") ),
PROPERTY_UPDATEACC,
- ::getCppuType((const sal_Int16*)0),
+ ::cppu::UnoType<sal_Int16>::get(),
beans::PropertyAttribute::BOUND ));
rProperties.push_back(
beans::Property( OUString( RTL_CONSTASCII_USTRINGPARAM("PageChange") ),
PROPERTY_PAGE_CHANGE,
- ::getCppuType((const sal_Int16*)0),
+ ::cppu::UnoType<sal_Int16>::get(),
beans::PropertyAttribute::BOUND ));
}