[ooo-build-commit] patches/dev300

Kohei Yoshida kohei at kemper.freedesktop.org
Wed Jul 15 08:55:56 PDT 2009


 patches/dev300/calc-csv-import-custom-lang-sc.diff |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

New commits:
commit 4e16d573429e186d0b8d1155ddcfea84f6cd705a
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Wed Jul 15 11:53:43 2009 -0400

    Removed a printf statement.
    
    * patches/dev300/calc-csv-import-custom-lang-sc.diff:

diff --git a/patches/dev300/calc-csv-import-custom-lang-sc.diff b/patches/dev300/calc-csv-import-custom-lang-sc.diff
index ce7f8d3..cb3ef2a 100644
--- a/patches/dev300/calc-csv-import-custom-lang-sc.diff
+++ b/patches/dev300/calc-csv-import-custom-lang-sc.diff
@@ -899,16 +899,11 @@ index 15894a3..612ec41 100644
  {
      xub_StrLen nLen = rLine.Len();
      if (nNext > nLen)
-@@ -1039,7 +1040,16 @@ String lcl_GetFixed( const String& rLine, xub_StrLen nStart, xub_StrLen nNext )
+@@ -1039,7 +1040,11 @@ String lcl_GetFixed( const String& rLine, xub_StrLen nStart, xub_StrLen nNext )
      while ( nSpace > nStart && pStr[nSpace-1] == ' ' )
          --nSpace;
  
 -    return rLine.Copy( nStart, nSpace-nStart );
-+    fprintf(stdout, "lcl_GetFixed:   string = '%s'  first = '%s'  last = '%s'\n", 
-+            rtl::OUStringToOString(rLine.Copy(nStart, nSpace-nStart), RTL_TEXTENCODING_UTF8).getStr(),
-+            rtl::OUStringToOString(String(pStr[nStart]), RTL_TEXTENCODING_UTF8).getStr(), 
-+            rtl::OUStringToOString(String(pStr[nSpace-1]), RTL_TEXTENCODING_UTF8).getStr());
-+
 +    rbIsQuoted = (pStr[nStart] == sal_Unicode('"') && pStr[nSpace-1] == sal_Unicode('"'));
 +    if (rbIsQuoted)
 +        return rLine.Copy(nStart+1, nSpace-nStart-2);


More information about the ooo-build-commit mailing list