summaryrefslogtreecommitdiff
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:08:00 -0400
commitccd4a408683062185802f7635836a49cdb692cf9 (patch)
tree56b252f75b83278aeaf1c8087eb0901ec632494c
parentcd24595c966a515b3c75a939e1fedb13bfa318b9 (diff)
fdo#43109: Don't check for simple number when text format is requested.
Change-Id: If8ec135f53ffb4a3f33c15c6f2a23a9d94a66d82
-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 8020521fdff1..7e35fe6050c6 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -1341,7 +1341,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();