summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-07-19 18:10:49 +0200
committerEike Rathke <erack@redhat.com>2012-07-19 18:27:38 +0200
commitb7dbc768a71ccfb567e3b2979e57d0d1318977cf (patch)
treef150cb47d8c294722fd714fcbbc26e3ea30fe14c
parent9a02957d063108dae9635df0b968102e25cd6110 (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
-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 877dfa1aff36..3e1026cbadd2 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 );
}