diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-14 12:48:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-15 07:28:07 +0100 |
commit | 0d9f3f7628f88fa66aaeea1f7148db620e17e728 (patch) | |
tree | 51cd0289fa399fbc338e0701f7ee13be8d228eb1 /sd/source/ui/view/grviewsh.cxx | |
parent | c82802a9ee3514d0b98fbb3783abbc17ec02c3b6 (diff) |
loplugin:changetoolsgen in sd
Change-Id: I41c5510f95167fe028f219fb593f12b75709bd65
Reviewed-on: https://gerrit.libreoffice.org/49726
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/view/grviewsh.cxx')
-rw-r--r-- | sd/source/ui/view/grviewsh.cxx | 4 |
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()); |