summaryrefslogtreecommitdiff
path: root/sc/source/ui/navipi/content.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/navipi/content.cxx')
-rw-r--r--sc/source/ui/navipi/content.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx
index ddeba41626da..7549bb6a51e4 100644
--- a/sc/source/ui/navipi/content.cxx
+++ b/sc/source/ui/navipi/content.cxx
@@ -146,7 +146,7 @@ ScContentTree::ScContentTree(vcl::Window* pParent, ScNavigatorDlg* pNavigatorDlg
Size ScContentTree::GetOptimalSize() const
{
- return LogicToPixel(Size(110, 100), MapUnit::MapAppFont);
+ return LogicToPixel(Size(110, 100), MapMode(MapUnit::MapAppFont));
}
ScContentTree::~ScContentTree()