xmloff/source/draw/ximpcustomshape.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ab176ed3ad1d69edc9d18bf71eeb2e75313fc362
Author: Jochen Nitschke <[email protected]>
Date:   Sat Jun 30 20:33:38 2018 +0200

    cppcheck: variableScope
    
    Change-Id: I7c90978dba2e751303244785a38fe251bd955224
    Reviewed-on: https://gerrit.libreoffice.org/56766
    Tested-by: Jenkins
    Reviewed-by: Jochen Nitschke <[email protected]>

diff --git a/xmloff/source/draw/ximpcustomshape.cxx 
b/xmloff/source/draw/ximpcustomshape.cxx
index f8fc8b05a58d..f84c1e976dd5 100644
--- a/xmloff/source/draw/ximpcustomshape.cxx
+++ b/xmloff/source/draw/ximpcustomshape.cxx
@@ -905,9 +905,9 @@ void XMLEnhancedCustomShapeContext::StartElement( const 
uno::Reference< xml::sax
                     sal_Int32 nIndex = 0;
                     css::drawing::EnhancedCustomShapeParameterPair 
aParameterPair;
                     css::drawing::EnhancedCustomShapeParameter& rDepth = 
aParameterPair.First;
-                    css::drawing::EnhancedCustomShapeParameter& rFraction = 
aParameterPair.Second;
                     if ( GetNextParameter( rDepth, nIndex, rValue ) )
                     {
+                        css::drawing::EnhancedCustomShapeParameter& rFraction 
= aParameterPair.Second;
                         // try to catch the unit for the depth
                         sal_Int16 const eSrcUnit(
                             ::sax::Converter::GetUnitFromString(
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to