summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-27 17:10:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-01 07:19:10 +0100
commitb8ececb409cd94b24d71f29339e652857dd2063a (patch)
treef732ff1cfec95c0d3eca06d3c906e67402a02b73 /formula
parenta54a3afdb7da42bd603892d1c9b2fcdd7b405e8f (diff)
drop old tools/gen methods in accessibility..formula
Change-Id: I075e29173945200854f2ef8e420867871659766a Reviewed-on: https://gerrit.libreoffice.org/50446 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 8f42601f5c53..e63ed7420c46 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.Height() -= 2;
+ aSize.AdjustHeight(-2);
aFont.SetFontSize( aSize );
SetFont( aFont );
}