summaryrefslogtreecommitdiff
path: root/svx/source/table/tablecontroller.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-28 13:06:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-29 08:53:03 +0200
commit8a8864aeb710e4d17852dc9c0e02b03804a8bf3c (patch)
treebdec37c347a8dd6f63fdb169abe28ae667af85f6 /svx/source/table/tablecontroller.cxx
parentce301dadcbbf8d0f0a71c7eaebca9bfad2e08801 (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/table/tablecontroller.cxx')
-rw-r--r--svx/source/table/tablecontroller.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx
index 8e6a59ce34ff..7c8e2992f698 100644
--- a/svx/source/table/tablecontroller.cxx
+++ b/svx/source/table/tablecontroller.cxx
@@ -1589,7 +1589,7 @@ SvxTableController::TblAction SvxTableController::getKeyboardAction(const KeyEve
// during text edit, check if we navigate out of the cell
ESelection aOldSelection = pOLV->GetSelection();
pOLV->PostKeyEvent(rKEvt);
- bTextMove = pOLV && ( aOldSelection.IsEqual(pOLV->GetSelection()) );
+ bTextMove = pOLV && (aOldSelection == pOLV->GetSelection());
if( !bTextMove )
{
nAction = TblAction::NONE;