summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2015-01-27 04:31:25 +0100
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2015-01-27 04:31:25 +0100
commitc7aeb32d012d74f5299ab4f803ceb8446547567a (patch)
tree54427cea5bb2b36fc94c5e87ea7392650884c2fe
parent883338956e4ab3a7b117bc3da33f71d3c16b414d (diff)
call it as well
Change-Id: I8ac7ebdf8af13ebd76a3c044fea5b0156808c852
-rw-r--r--sc/source/filter/orcus/interface.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/filter/orcus/interface.cxx b/sc/source/filter/orcus/interface.cxx
index 14c1bf1bab72..8655246be22d 100644
--- a/sc/source/filter/orcus/interface.cxx
+++ b/sc/source/filter/orcus/interface.cxx
@@ -680,6 +680,8 @@ void ScOrcusStyles::applyXfToItemSet(SfxItemSet& rSet, const xf& rXf)
SAL_WARN("sc.orcus.style", "invalid border id");
return;
}
+ const border& rBorder = maBorders[nBorderId];
+ rBorder.applyToItemSet(rSet);
size_t nProtectionId = rXf.mnProtectionId;
if (nProtectionId >= maProtections.size())
@@ -687,6 +689,8 @@ void ScOrcusStyles::applyXfToItemSet(SfxItemSet& rSet, const xf& rXf)
SAL_WARN("sc.orcus.style", "invalid protection id");
return;
}
+ const protection& rProtection = maProtections[nProtectionId];
+ rProtection.applyToItemSet(rSet);
size_t nNumberFormatId = rXf.mnNumberFormatId;
if (nNumberFormatId >= maNumberFormats.size())
@@ -694,6 +698,8 @@ void ScOrcusStyles::applyXfToItemSet(SfxItemSet& rSet, const xf& rXf)
SAL_WARN("sc.orcus.style", "invalid number format id");
return;
}
+ const number_format& rFormat = maNumberFormats[nNumberFormatId];
+ rFormat.applyToItemSet(rSet);
}
bool ScOrcusStyles::applyXfToItemSet(SfxItemSet& rSet, size_t xfId)