Return-Path: X-Original-To: apmail-openoffice-commits-archive@www.apache.org Delivered-To: apmail-openoffice-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 85030E555 for ; Mon, 14 Jan 2013 11:02:39 +0000 (UTC) Received: (qmail 2302 invoked by uid 500); 14 Jan 2013 11:02:39 -0000 Delivered-To: apmail-openoffice-commits-archive@openoffice.apache.org Received: (qmail 2238 invoked by uid 500); 14 Jan 2013 11:02:38 -0000 Mailing-List: contact commits-help@openoffice.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openoffice.apache.org Delivered-To: mailing list commits@openoffice.apache.org Received: (qmail 2226 invoked by uid 99); 14 Jan 2013 11:02:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2013 11:02:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2013 11:02:37 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 4B1B823889E0; Mon, 14 Jan 2013 11:02:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1432872 - /openoffice/trunk/main/i18npool/source/search/textsearch.cxx Date: Mon, 14 Jan 2013 11:02:18 -0000 To: commits@openoffice.apache.org From: hdu@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130114110218.4B1B823889E0@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: hdu Date: Mon Jan 14 11:02:17 2013 New Revision: 1432872 URL: http://svn.apache.org/viewvc?rev=1432872&view=rev Log: fix some minor whitespace problems in source Modified: openoffice/trunk/main/i18npool/source/search/textsearch.cxx Modified: openoffice/trunk/main/i18npool/source/search/textsearch.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/i18npool/source/search/textsearch.cxx?rev=1432872&r1=1432871&r2=1432872&view=diff ============================================================================== --- openoffice/trunk/main/i18npool/source/search/textsearch.cxx (original) +++ openoffice/trunk/main/i18npool/source/search/textsearch.cxx Mon Jan 14 11:02:17 2013 @@ -753,7 +753,7 @@ SearchResult TextSearch::RESrchFrwrd( co aRet.subRegExpressions = 0; if( !pRegexMatcher) return aRet; - + if( endPos > searchStr.getLength()) endPos = searchStr.getLength(); @@ -801,7 +801,7 @@ SearchResult TextSearch::RESrchBkwrd( co aRet.subRegExpressions = 0; if( !pRegexMatcher) return aRet; - + if( startPos > searchStr.getLength()) startPos = searchStr.getLength();