From a238b1f8d304bf1e2ffb357937f3ec888ee8ac89 Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Tue, 9 Feb 2016 18:16:42 +1100 Subject: Remove excess newlines A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins Reviewed-by: Chris Sherlock --- i18npool/source/search/textsearch.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'i18npool/source/search') diff --git a/i18npool/source/search/textsearch.cxx b/i18npool/source/search/textsearch.cxx index d0e13e5d94fc..906fc7b9ad96 100644 --- a/i18npool/source/search/textsearch.cxx +++ b/i18npool/source/search/textsearch.cxx @@ -520,7 +520,6 @@ SearchResult TextSearch::searchBackward( const OUString& searchStr, sal_Int32 st } - bool TextSearch::IsDelimiter( const OUString& rStr, sal_Int32 nPos ) const { bool bRet = true; @@ -887,7 +886,6 @@ void TextSearch::RESrchPrepare( const css::util::SearchOptions2& rOptions) } - static bool lcl_findRegex( RegexMatcher * pRegexMatcher, sal_Int32 nStartPos, UErrorCode & rIcuErr ) { if (!pRegexMatcher->find( nStartPos, rIcuErr)) @@ -1027,7 +1025,6 @@ SearchResult TextSearch::RESrchBkwrd( const OUString& searchStr, } - // search for words phonetically SearchResult TextSearch::ApproxSrchFrwrd( const OUString& searchStr, sal_Int32 startPos, sal_Int32 endPos ) -- cgit