summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-07-19 23:18:30 +0200
committerJaskaran Singh <jvsg1303@gmail.com>2016-07-20 17:20:11 +0530
commit13c5c11f094921984183d9d49de7331518e2ca24 (patch)
tree49ff10ff7517ff8856fc2666d0cd8c5da650152b
parente6659211e4dfa54eb966897a4059798687442864 (diff)
fix assert in number format orcus import
Change-Id: Ib0a8ce074c9245fa8ba66008524887f015c7bf76
-rw-r--r--sc/source/filter/orcus/interface.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/orcus/interface.cxx b/sc/source/filter/orcus/interface.cxx
index 89d8f479157b..3dd68ffaf67f 100644
--- a/sc/source/filter/orcus/interface.cxx
+++ b/sc/source/filter/orcus/interface.cxx
@@ -906,7 +906,7 @@ void ScOrcusStyles::number_format::applyToItemSet(SfxItemSet& rSet, ScDocument&
{
if (nCheckPos == 0)
{
- rSet.Put(SfxUInt32Item(nKey, ATTR_VALUE_FORMAT));
+ rSet.Put(SfxUInt32Item(ATTR_VALUE_FORMAT, nKey));
}
}
else