diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-28 13:06:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-29 08:53:03 +0200 |
commit | 8a8864aeb710e4d17852dc9c0e02b03804a8bf3c (patch) | |
tree | bdec37c347a8dd6f63fdb169abe28ae667af85f6 /svx/source/svdraw/textchainflow.cxx | |
parent | ce301dadcbbf8d0f0a71c7eaebca9bfad2e08801 (diff) |
convert IsEqual/etc methods on ESelection to operators
Change-Id: Ia8424e701b6f22d0536ee7f3bdb0ecaaed94a3b9
Reviewed-on: https://gerrit.libreoffice.org/42904
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/textchainflow.cxx')
-rw-r--r-- | svx/source/svdraw/textchainflow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/textchainflow.cxx b/svx/source/svdraw/textchainflow.cxx index 559e6b9bd210..b87d2a7f02ed 100644 --- a/svx/source/svdraw/textchainflow.cxx +++ b/svx/source/svdraw/textchainflow.cxx @@ -294,7 +294,7 @@ void EditingTextChainFlow::impBroadcastCursorInfo() const ESelection aPreChainingSel = GetTextChain()->GetPreChainingSel(GetLinkTarget()) ; // Test whether the cursor is out of the box. - bool bCursorOut = mbPossiblyCursorOut && maOverflowPosSel.IsLess(aPreChainingSel); + bool bCursorOut = mbPossiblyCursorOut && maOverflowPosSel < aPreChainingSel; // NOTE: I handled already the stuff for the comments below. They will be kept temporarily till stuff settles down. // Possibility: 1) why don't we stop passing the actual event to the TextChain and instead we pass |