[Libreoffice-commits] .: sc/source

Eike Rathke erack at kemper.freedesktop.org
Thu Jul 19 09:27:50 PDT 2012


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

New commits:
commit b7dbc768a71ccfb567e3b2979e57d0d1318977cf
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

diff --git a/sc/source/ui/docshell/impex.cxx b/sc/source/ui/docshell/impex.cxx
index 877dfa1..3e1026c 100644
--- a/sc/source/ui/docshell/impex.cxx
+++ b/sc/source/ui/docshell/impex.cxx
@@ -1202,7 +1202,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