diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-27 17:07:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-02 07:24:36 +0100 |
commit | 312c0abcff23a5bc7cf4442359ec48187ec06d48 (patch) | |
tree | 9f4b8be273c1560018f035a73294fcab9b1476a7 /vcl/source/edit/texteng.cxx | |
parent | 451ed3d595c5e2a32d820e1751e890f894832a9c (diff) |
drop old tools/gen methods in vcl
Change-Id: I863ce5ae46ae90f06780261fa17b087a7153c807
Reviewed-on: https://gerrit.libreoffice.org/50445
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/edit/texteng.cxx')
-rw-r--r-- | vcl/source/edit/texteng.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx index e7c0d6d2614d..e382a514ee4c 100644 --- a/vcl/source/edit/texteng.cxx +++ b/vcl/source/edit/texteng.cxx @@ -911,7 +911,8 @@ tools::Rectangle TextEngine::GetEditCursor( const TextPaM& rPaM, bool bSpecial, // search within the line long nX = ImpGetXPos( rPaM.GetPara(), pLine, rPaM.GetIndex(), bPreferPortionStart ); - aEditCursor.Left() = aEditCursor.Right() = nX; + aEditCursor.SetLeft(nX); + aEditCursor.SetRight(nX); return aEditCursor; } |