summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej@ahunt.org>2015-05-11 12:20:15 +0100
committerAndrzej Hunt <andrzej@ahunt.org>2015-10-20 18:18:32 +0200
commitba18f19821840d702502526cab85b1ffd83cf3a6 (patch)
tree7026ba55a35027f5effa8294d3c2fede8a1365e7
parent746f4fe6d1a3ba899267c1791f32826abdd6dcc6 (diff)
Use the actual default format for value/unit splitting.
Change-Id: I1da34b43d273d1ae2f91591aafcfab8adf9a4f02
-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.