summaryrefslogtreecommitdiff
path: root/reportdesign/source/ui
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source/ui')
-rw-r--r--reportdesign/source/ui/report/ReportController.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx
index e4fd4e0fe502..c4f709aeb508 100644
--- a/reportdesign/source/ui/report/ReportController.cxx
+++ b/reportdesign/source/ui/report/ReportController.cxx
@@ -304,7 +304,7 @@ OReportController::OReportController(Reference< XComponentContext > const & xCon
m_pReportControllerObserver->acquire();
registerProperty(OUString("ZoomValue"), PROPERTY_ID_ZOOMVALUE,
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::TRANSIENT,
- &m_nZoomValue, ::getCppuType(static_cast< sal_Int16*>(0)));
+ &m_nZoomValue, ::cppu::UnoType<sal_Int16>::get());
}