From 6935b6d9bc08ccb780bd80254ba9b26caf6ab27e Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Sat, 7 Jul 2012 08:02:55 -0400 Subject: fdo#43109: Don't check for simple number when text format is requested. Change-Id: If8ec135f53ffb4a3f33c15c6f2a23a9d94a66d82 --- sc/source/core/data/column3.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx index 23dd104d81db..61edb03de984 100644 --- a/sc/source/core/data/column3.cxx +++ b/sc/source/core/data/column3.cxx @@ -1339,7 +1339,7 @@ bool ScColumn::SetString( SCROW nRow, SCTAB nTabP, const String& rString, } } } - else + else if (!aParam.mbSetTextCellFormat) { // Only check if the string is a regular number. const LocaleDataWrapper* pLocale = aParam.mpNumFormatter->GetLocaleData(); -- cgit