summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-07-19 18:10:49 +0200
committerMichael Meeks <michael.meeks@suse.com>2012-07-20 20:13:01 +0100
commit9581ccc83e472d17f10051b7cc9e6b5f36f120ce (patch)
treef3b5631decb6324b24f0a7a91bc59f3cb0a61509
parent7002d8eadad748486765c2f00d3aed0f9652b987 (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> Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
-rw-r--r--sc/source/ui/docshell/impex.cxx2
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 );
}