diff options
-rw-r--r-- | sc/source/filter/orcus/interface.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/filter/orcus/interface.cxx b/sc/source/filter/orcus/interface.cxx index 8b3a61699de1..b9291a82ed02 100644 --- a/sc/source/filter/orcus/interface.cxx +++ b/sc/source/filter/orcus/interface.cxx @@ -682,6 +682,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()) @@ -689,6 +691,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()) @@ -696,6 +700,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) |