oox/source/drawingml/shape.cxx | 2 -- 1 file changed, 2 deletions(-) New commits: commit c443fbfea38b454a9dcf848f04b2fe425b719d6a Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Mon Mar 28 16:46:03 2022 +0200 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Fri Jul 7 11:21:39 2023 +0200
-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 <sberg...@redhat.com> diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx index 0c834949550d..fc4440a3f367 100644 --- a/oox/source/drawingml/shape.cxx +++ b/oox/source/drawingml/shape.cxx @@ -1492,7 +1492,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(); @@ -1518,7 +1517,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)));