diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2015-01-27 04:31:25 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-08-27 17:39:17 +0200 |
commit | 9828cb4f913444cdd10ad0ff04d57e71689d4a5c (patch) | |
tree | 1b7a24b718288b4ed16e9603680a2e9372d7ab99 | |
parent | 1bc2cfbc016b8776ad2261fde24ce2ead5c2e76b (diff) |
call it as wellfeature/orcus-rebased
Change-Id: I8ac7ebdf8af13ebd76a3c044fea5b0156808c852
-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) |