summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-07-07 08:02:55 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-07-07 08:05:58 -0400
commit6935b6d9bc08ccb780bd80254ba9b26caf6ab27e (patch)
tree9f9a9013212a412d725675f06e990f2ed2bcca2c /sc
parentc0ce7ca4884f7f6d1016bd1dbcc22066cb4a7797 (diff)
fdo#43109: Don't check for simple number when text format is requested.
Change-Id: If8ec135f53ffb4a3f33c15c6f2a23a9d94a66d82
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/column3.cxx2
1 files changed, 1 insertions, 1 deletions
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();