summaryrefslogtreecommitdiff
path: root/sfx2/source/view/classificationcontroller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/view/classificationcontroller.cxx')
-rw-r--r--sfx2/source/view/classificationcontroller.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/view/classificationcontroller.cxx b/sfx2/source/view/classificationcontroller.cxx
index 1efdb2fd523f..d334eca23688 100644
--- a/sfx2/source/view/classificationcontroller.cxx
+++ b/sfx2/source/view/classificationcontroller.cxx
@@ -281,7 +281,7 @@ void ClassificationControl::SetOptimalSize()
{
// Same as SvxColorDockingWindow.
const Size aLogicalAttrSize(150, 0);
- Size aSize(LogicToPixel(aLogicalAttrSize,MapUnit::MapAppFont));
+ Size aSize(LogicToPixel(aLogicalAttrSize, MapMode(MapUnit::MapAppFont)));
Point aPosition = m_pCategory->GetPosPixel();