diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/Outliner.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index be8c1a9c3faa..74b4daea902a 100644 --- a/sd/source/ui/view/Outliner.cxx +++ b/sd/source/ui/view/Outliner.cxx @@ -411,7 +411,7 @@ svx::SpellPortions SdOutliner::GetNextSpellSentence() { ESelection aCurrentSelection (pOutlinerView->GetSelection()); if ( ! mbMatchMayExist - && maStartSelection.IsLess(aCurrentSelection)) + && maStartSelection < aCurrentSelection) EndOfSearch(); // Advance to the next sentence. @@ -1472,7 +1472,7 @@ bool SdOutliner::HasNoPreviousMatch() // Detect whether the cursor stands at the beginning // resp. at the end of the text. - return pOutlinerView->GetSelection().IsEqual(GetSearchStartPosition ()); + return pOutlinerView->GetSelection() == GetSearchStartPosition(); } bool SdOutliner::HandleFailedSearch() |