summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-03 13:41:45 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-03 17:14:15 +0100
commitecf00403376d13355fcf6fb7cd36b3500f19fc69 (patch)
tree96d76c3d9e9514a6f08e51c1fe3ddcdcb6a1060d /i18npool
parent29c8b9a7c9a4d62b7df2e70b71beec488aae5722 (diff)
loplugin: improve indentation
Change-Id: If0ddaa8fd7cfaf4df8589422cb50ce37f1be2ad1
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/search/textsearch.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/i18npool/source/search/textsearch.cxx b/i18npool/source/search/textsearch.cxx
index 03f2121d239f..cdca853bb8a6 100644
--- a/i18npool/source/search/textsearch.cxx
+++ b/i18npool/source/search/textsearch.cxx
@@ -202,7 +202,7 @@ SearchResult TextSearch::searchForward( const OUString& searchStr, sal_Int32 sta
newStartPos = FindPosInSeq_Impl( offset, startPos );
if( endPos < searchStr.getLength() )
- newEndPos = FindPosInSeq_Impl( offset, endPos );
+ newEndPos = FindPosInSeq_Impl( offset, endPos );
else
newEndPos = in_str.getLength();
@@ -289,8 +289,8 @@ SearchResult TextSearch::searchBackward( const OUString& searchStr, sal_Int32 st
// JP 20.6.2001: also the start and end positions must be corrected!
if( startPos < searchStr.getLength() )
newStartPos = FindPosInSeq_Impl( offset, startPos );
- else
- newStartPos = in_str.getLength();
+ else
+ newStartPos = in_str.getLength();
if( endPos )
newEndPos = FindPosInSeq_Impl( offset, endPos );