[Libreoffice-commits] .: Branch 'libreoffice-3-6' - sc/source

Kohei Yoshida kohei at kemper.freedesktop.org
Fri Jul 20 06:19:35 PDT 2012


 sc/source/ui/docshell/impex.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6945d1eb7666f90b6b356f97d368c87664c77d88
Author: Eike Rathke <erack at redhat.com>
Date:   Thu Jul 19 18:10:49 2012 +0200

    resolved fdo#52205 do not force all text cells in CSV import
    
    Do not set ScSetStringParam::mbSetTextCellFormat=true for SetString()
    that slightly changed behavior, the nColFormat==SC_COL_TEXT case is
    handled separately anyway.
    
    Change-Id: I0a0f9472801dcb02af77d6eaf90170309a41e9a8
    Signed-off-by: Kohei Yoshida <kohei.yoshida at gmail.com>

diff --git a/sc/source/ui/docshell/impex.cxx b/sc/source/ui/docshell/impex.cxx
index e98c67b..50333f8 100644
--- a/sc/source/ui/docshell/impex.cxx
+++ b/sc/source/ui/docshell/impex.cxx
@@ -1227,7 +1227,7 @@ static bool lcl_PutString(
         ScSetStringParam aParam;
         aParam.mpNumFormatter = pFormatter;
         aParam.mbDetectNumberFormat = bDetectNumFormat;
-        aParam.mbSetTextCellFormat = true;
+        aParam.mbSetTextCellFormat = false;
         aParam.mbHandleApostrophe = false;
         pDoc->SetString( nCol, nRow, nTab, rStr, &aParam );
     }


More information about the Libreoffice-commits mailing list