summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl/SdUnoDrawView.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/unoidl/SdUnoDrawView.cxx')
-rw-r--r--sd/source/ui/unoidl/SdUnoDrawView.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/SdUnoDrawView.cxx b/sd/source/ui/unoidl/SdUnoDrawView.cxx
index 02e541d4b572..09289a73b976 100644
--- a/sd/source/ui/unoidl/SdUnoDrawView.cxx
+++ b/sd/source/ui/unoidl/SdUnoDrawView.cxx
@@ -384,7 +384,7 @@ Any SAL_CALL SdUnoDrawView::getFastPropertyValue (
aValue <<= GetZoom();
break;
case DrawController::PROPERTY_ZOOMTYPE:
- aValue <<= (sal_Int16)css::view::DocumentZoomType::BY_VALUE;
+ aValue <<= sal_Int16(css::view::DocumentZoomType::BY_VALUE);
break;
case DrawController::PROPERTY_VIEWOFFSET:
aValue <<= GetViewOffset();
@@ -438,7 +438,7 @@ sal_Int16 SdUnoDrawView::GetZoom() const
{
if (mrDrawViewShell.GetActiveWindow() )
{
- return (sal_Int16)mrDrawViewShell.GetActiveWindow()->GetZoom();
+ return static_cast<sal_Int16>(mrDrawViewShell.GetActiveWindow()->GetZoom());
}
else
{