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

Michael Meeks michael at kemper.freedesktop.org
Fri Jul 20 12:13:39 PDT 2012


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

New commits:
commit 9581ccc83e472d17f10051b7cc9e6b5f36f120ce
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>
    Signed-off-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Signed-off-by: Michael Meeks <michael.meeks at suse.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