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.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/grviewsh.cxx b/sd/source/ui/view/grviewsh.cxx
index 7c02e05f64f1..b31013043ba3 100644
--- a/sd/source/ui/view/grviewsh.cxx
+++ b/sd/source/ui/view/grviewsh.cxx
@@ -74,8 +74,8 @@ void GraphicViewShell::ArrangeGUIElements()
Size aSize = mpLayerTabBar->GetSizePixel();
const Size aFrameSize (GetViewFrame()->GetWindow().GetOutputSizePixel());
- aSize.Height() = GetParentWindow()->GetFont().GetFontHeight() + 4;
- aSize.Width() = aFrameSize.Width();
+ aSize.setHeight( GetParentWindow()->GetFont().GetFontHeight() + 4 );
+ aSize.setWidth( aFrameSize.Width() );
Point aPos (0, maViewSize.Height() - aSize.Height());