summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-06-06 14:46:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-06-06 22:09:43 +0200
commite2fcb76d04c3bbf578f06c1e7d30c1f987165470 (patch)
tree757a035658662495d4b6e3bb13ce230b5b316839 /sfx2/source
parent8015cd21bae6faa8a8d53acf63fe59b375ab6382 (diff)
weld SwSectionIndentTabPage
Change-Id: I961686c1257f0d85686df06aa7c73c324d0f70b8 Reviewed-on: https://gerrit.libreoffice.org/55387 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/source')
-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 035f8f5271cb..48a491d07c78 100644
--- a/sfx2/source/dialog/dialoghelper.cxx
+++ b/sfx2/source/dialog/dialoghelper.cxx
@@ -52,9 +52,9 @@ void setPreviewsToSamePlace(vcl::Window const *pParent, VclBuilderContainer *pPa
}
}
-Size getParagraphPreviewOptimalSize(const vcl::Window *pReference)
+Size getParagraphPreviewOptimalSize(const OutputDevice& rReference)
{
- return pReference->LogicToPixel(Size(68 , 112), MapMode(MapUnit::MapAppFont));
+ return rReference.LogicToPixel(Size(68 , 112), MapMode(MapUnit::MapAppFont));
}
Size getDrawPreviewOptimalSize(const vcl::Window *pReference)