summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/grviewsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/grviewsh.cxx')
-rw-r--r--sd/source/ui/view/grviewsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/grviewsh.cxx b/sd/source/ui/view/grviewsh.cxx
index 7e635aef641b..361a538d66a2 100644
--- a/sd/source/ui/view/grviewsh.cxx
+++ b/sd/source/ui/view/grviewsh.cxx
@@ -76,7 +76,7 @@ void GraphicViewShell::ArrangeGUIElements()
Size aSize = mpLayerTabBar->GetSizePixel();
const Size aFrameSize (GetViewFrame()->GetWindow().GetOutputSizePixel());
- aSize.Height() = GetParentWindow()->GetFont().GetHeight() + 4;
+ aSize.Height() = GetParentWindow()->GetFont().GetFontHeight() + 4;
aSize.Width() = aFrameSize.Width();
Point aPos (0, maViewSize.Height() - aSize.Height());