summaryrefslogtreecommitdiff
path: root/sw/source/ui/fldui/fldref.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/fldui/fldref.cxx')
-rw-r--r--sw/source/ui/fldui/fldref.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/ui/fldui/fldref.cxx b/sw/source/ui/fldui/fldref.cxx
index 0d4f83961459..38664a2a285a 100644
--- a/sw/source/ui/fldui/fldref.cxx
+++ b/sw/source/ui/fldui/fldref.cxx
@@ -736,9 +736,7 @@ bool SwFieldRefPage::MatchSubstring( const OUString& rListString, const OUString
return true;
OUString aListString = rListString.toAsciiLowerCase();
OUString aSubstr = rSubstr.toAsciiLowerCase();
- if(aListString.indexOf(aSubstr) >= 0)
- return true;
- return false;
+ return aListString.indexOf(aSubstr) >= 0;
}
sal_Int32 SwFieldRefPage::FillFormatLB(sal_uInt16 nTypeId)