summaryrefslogtreecommitdiff
path: root/vcl/source/edit/xtextedt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/edit/xtextedt.cxx')
-rw-r--r--vcl/source/edit/xtextedt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/edit/xtextedt.cxx b/vcl/source/edit/xtextedt.cxx
index 6f63ccecb9a0..6eff3dd2f22d 100644
--- a/vcl/source/edit/xtextedt.cxx
+++ b/vcl/source/edit/xtextedt.cxx
@@ -245,7 +245,7 @@ bool ExtTextView::MatchGroup()
if ( aMatchSel.HasRange() )
SetSelection( aMatchSel );
- return aMatchSel.HasRange() ? true : false;
+ return aMatchSel.HasRange();
}
bool ExtTextView::Search( const util::SearchOptions& rSearchOptions, bool bForward )