summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 7e7923bc9950..5394f16763b5 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -1697,7 +1697,7 @@ bool ScColumn::ParseString(
// But in that case it would make sense to actually store units independently of number format.
// (This is all just a dirty hack for now...)
- OUString sNewFormat = "#\"" + sUnit + "\"";
+ OUString sNewFormat = "General\"" + sUnit + "\"";
sal_uInt32 nFormatKey;
short nType = css::util::NumberFormat::DEFINED;
sal_Int32 nErrorPosition; // Unused, because we should be creating working number formats.