summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2018-06-30 20:33:38 +0200
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2018-07-01 13:42:32 +0200
commitab176ed3ad1d69edc9d18bf71eeb2e75313fc362 (patch)
tree83752478ca5e0cd86b153fd801b4f2e0d73ca2f0 /xmloff
parentb0e291a7efcd3af2a72d0b622b1f1b84723f011f (diff)
cppcheck: variableScope
Change-Id: I7c90978dba2e751303244785a38fe251bd955224 Reviewed-on: https://gerrit.libreoffice.org/56766 Tested-by: Jenkins Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/ximpcustomshape.cxx2
1 files changed, 1 insertions, 1 deletions
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(