diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-27 17:10:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-01 07:19:10 +0100 |
commit | b8ececb409cd94b24d71f29339e652857dd2063a (patch) | |
tree | f732ff1cfec95c0d3eca06d3c906e67402a02b73 /cui/source/dialogs/hangulhanjadlg.cxx | |
parent | a54a3afdb7da42bd603892d1c9b2fcdd7b405e8f (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 'cui/source/dialogs/hangulhanjadlg.cxx')
-rw-r--r-- | cui/source/dialogs/hangulhanjadlg.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx index 64870256f944..9f66d58eef85 100644 --- a/cui/source/dialogs/hangulhanjadlg.cxx +++ b/cui/source/dialogs/hangulhanjadlg.cxx @@ -140,8 +140,10 @@ namespace svx sal_Int32 nCombinedWidth = std::max( aSecondaryRect.GetWidth(), aPrimaryRect.GetWidth() ); // the rectangle where both texts will reside is as high as possible, and as wide as the // widest of both text rects - aPrimaryRect.Left() = aSecondaryRect.Left() = _rRect.Left(); - aPrimaryRect.Right() = aSecondaryRect.Right() = _rRect.Left() + nCombinedWidth; + aPrimaryRect.SetLeft( _rRect.Left() ); + aSecondaryRect.SetLeft( aPrimaryRect.Left() ); + aPrimaryRect.SetRight( _rRect.Left() + nCombinedWidth ); + aSecondaryRect.SetRight( aPrimaryRect.Right() ); if (DrawTextFlags::Right & _nTextStyle) { // move the rectangles to the right |