summaryrefslogtreecommitdiff
path: root/starmath/source/edit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/edit.cxx')
-rw-r--r--starmath/source/edit.cxx2
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)