diff options
author | Eike Rathke <erack@redhat.com> | 2012-07-19 18:10:49 +0200 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-07-20 09:20:14 -0400 |
commit | 6945d1eb7666f90b6b356f97d368c87664c77d88 (patch) | |
tree | 1b346e920314df35c44b019d0191ff54bd28a640 | |
parent | aeb97e51b05e1dfd6d535704a115213809c707fc (diff) |
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@gmail.com>
-rw-r--r-- | sc/source/ui/docshell/impex.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/impex.cxx b/sc/source/ui/docshell/impex.cxx index e98c67bcb18a..50333f834a59 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 ); } |