From 8a8864aeb710e4d17852dc9c0e02b03804a8bf3c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 28 Sep 2017 13:06:51 +0200 Subject: convert IsEqual/etc methods on ESelection to operators Change-Id: Ia8424e701b6f22d0536ee7f3bdb0ecaaed94a3b9 Reviewed-on: https://gerrit.libreoffice.org/42904 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- starmath/source/edit.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'starmath') 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) -- cgit