summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-29 14:14:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-30 09:53:31 +0200
commit0871c62fab7effd915d54caf953fd6b7e8de2372 (patch)
tree812408fcbd822f11f06a6180840a1d0777fbd56e /sfx2
parent16073ff56f792144bf262795869f7e5413eca8fc (diff)
weld SwRedlineOptionsTabPage
Change-Id: Ic901356d399e8d758747f0fea07d3656fbf89aab Reviewed-on: https://gerrit.libreoffice.org/76559 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
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)