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 /starmath | |
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 'starmath')
-rw-r--r-- | starmath/source/edit.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx index fb715793531b..bf0544aec870 100644 --- a/starmath/source/edit.cxx +++ b/starmath/source/edit.cxx @@ -249,7 +249,7 @@ IMPL_LINK_NOARG(SmEditWindow, CursorMoveTimerHdl, Timer *, void) ESelection aNewSelection(GetSelection()); - if (!aNewSelection.IsEqual(aOldSelection)) + if (aNewSelection != aOldSelection) { SmViewShell *pView = rCmdBox.GetView(); if (pView) |