oox/source/drawingml/shape.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit bc2b283959d4fa76aa0b9f6bea0babbd5a296ddd
Author:     Stephan Bergmann <[email protected]>
AuthorDate: Mon Mar 28 16:46:03 2022 +0200
Commit:     Stephan Bergmann <[email protected]>
CommitDate: Mon Mar 28 20:04:20 2022 +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 <[email protected]>

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)));

Reply via email to