summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-07-19 23:18:30 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-08-23 00:52:24 +0200
commit02dd0014c792ef875d39243213a62100306d70b1 (patch)
tree57f93c88f93993cc46cbb6e3d68090b3ea11634f
parent91ada3d10d7e2bacb9e9b48aec9cf38b0d575879 (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 b0ce0a4764f9..b6f05b4f2522 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