summaryrefslogtreecommitdiff
path: root/sc/source/ui/condformat/condformatmgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/condformat/condformatmgr.cxx')
-rw-r--r--sc/source/ui/condformat/condformatmgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/condformat/condformatmgr.cxx b/sc/source/ui/condformat/condformatmgr.cxx
index 0ad57c761838..76236fede3ac 100644
--- a/sc/source/ui/condformat/condformatmgr.cxx
+++ b/sc/source/ui/condformat/condformatmgr.cxx
@@ -109,7 +109,7 @@ ScCondFormatManagerDlg::ScCondFormatManagerDlg(vcl::Window* pParent, ScDocument*
mbModified(false)
{
SvSimpleTableContainer *pContainer = get<SvSimpleTableContainer>("CONTAINER");
- Size aSize(LogicToPixel(Size(290, 220), MapUnit::MapAppFont));
+ Size aSize(LogicToPixel(Size(290, 220), MapMode(MapUnit::MapAppFont)));
pContainer->set_width_request(aSize.Width());
pContainer->set_height_request(aSize.Height());
m_pCtrlManager = VclPtr<ScCondFormatManagerWindow>::Create(*pContainer, mpDoc, mpFormatList);