diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-03-28 16:46:03 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-03-28 20:04:20 +0200 |
commit | bc2b283959d4fa76aa0b9f6bea0babbd5a296ddd (patch) | |
tree | d74692b1b05795c06d0e474b507f37ba66b9cff4 /oox | |
parent | f41d04817230c8c8cdf56a6c4aba15b6380b323a (diff) |
-Werror,-Wunused-but-set-variable
...since 9e87a00e11486a2be64b0dc2799e3efca4b000cc "oox: replace PUT_PROP macro
with comphelper::makePropertyValue() calls"
Change-Id: Ic90e6e579e0d546454d2acd8c3fb5b5ac50f9f5a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132223
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/shape.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx index 9d05acb34faf..cc988699292e 100644 --- a/oox/source/drawingml/shape.cxx +++ b/oox/source/drawingml/shape.cxx @@ -1572,7 +1572,6 @@ Reference< XShape > const & Shape::createAndInsert( if (!aEffectProperties.m_Effects.empty()) { std::vector<beans::PropertyValue> aEffects; - sal_uInt32 i = 0; for (auto const& it : aEffectProperties.m_Effects) { PropertyValue aEffect = it->getEffect(); @@ -1598,7 +1597,6 @@ Reference< XShape > const & Shape::createAndInsert( aEffectsGrabBag.push_back(comphelper::makePropertyValue("SchemeClrTransformations", aColor.getTransformations())); } aEffects.push_back(comphelper::makePropertyValue(aEffect.Name, comphelper::containerToSequence(aEffectsGrabBag))); - ++i; } } putPropertyToGrabBag("EffectProperties", uno::Any(comphelper::containerToSequence(aEffects))); |