summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/dialoghelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/dialoghelper.cxx b/sfx2/source/dialog/dialoghelper.cxx
index 524fba9b563f..0af9600960ea 100644
--- a/sfx2/source/dialog/dialoghelper.cxx
+++ b/sfx2/source/dialog/dialoghelper.cxx
@@ -30,9 +30,9 @@ Size getPreviewStripSize(const OutputDevice& rReference)
return rReference.LogicToPixel(Size(70 , 40), MapMode(MapUnit::MapAppFont));
}
-Size getPreviewOptionsSize(const vcl::Window *pReference)
+Size getPreviewOptionsSize(const OutputDevice& rReference)
{
- return pReference->LogicToPixel(Size(70 , 27), MapMode(MapUnit::MapAppFont));
+ return rReference.LogicToPixel(Size(70 , 27), MapMode(MapUnit::MapAppFont));
}
OUString getWidestTime(const LocaleDataWrapper& rWrapper)