From 312c0abcff23a5bc7cf4442359ec48187ec06d48 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 27 Feb 2018 17:07:24 +0200 Subject: drop old tools/gen methods in vcl Change-Id: I863ce5ae46ae90f06780261fa17b087a7153c807 Reviewed-on: https://gerrit.libreoffice.org/50445 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/source/edit/texteng.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vcl/source/edit/texteng.cxx') 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; } -- cgit