summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-16 11:56:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-16 15:13:53 +0100
commit1d180f48bc61444c610c35083e35745d38c6cce2 (patch)
treee580741aa902908a9fcf0c4b224e93ff42da1405 /formula
parent26783527823883ccd5bbf3b9e014a0a3c1e3a022 (diff)
Revert "loplugin:changetoolsgen in filter..framework" and reapply plugin
because I (a) forgot to insert parentheses which changes the meaning of some expressions and (b) I now use the AdjustFoo calls when changing unary operations, which reads much better This reverts commit bf8a6cacd06d7c1961b5db8cc79ee4bbdb342e43. Change-Id: I4b5a9bf0c38ee1b57af91e6b7f184f1e8807f6f7 Reviewed-on: https://gerrit.libreoffice.org/49843 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'formula')
-rw-r--r--formula/source/ui/dlg/structpg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/formula/source/ui/dlg/structpg.cxx b/formula/source/ui/dlg/structpg.cxx
index a40ba94a5df6..8f42601f5c53 100644
--- a/formula/source/ui/dlg/structpg.cxx
+++ b/formula/source/ui/dlg/structpg.cxx
@@ -37,7 +37,7 @@ StructListBox::StructListBox(vcl::Window* pParent, WinBits nBits ):
vcl::Font aFont( GetFont() );
Size aSize = aFont.GetFontSize();
- aSize.setHeight( aSize.Height() - 2 );
+ aSize.Height() -= 2;
aFont.SetFontSize( aSize );
SetFont( aFont );
}