diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-08-12 09:23:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-08-12 09:23:13 +0100 |
commit | 7ae8e767b9696bac18a867c90c13af246786c335 (patch) | |
tree | 9dc4045d5209211ff17566ff53f8c36c400d3ace /xmloff | |
parent | 59b5e3faeb0564023e99f4e7298eb9cbb0bdc75f (diff) |
cppcheck: variableScope
Change-Id: If24e86a0bdc0c5bdce02bed9981232070b38393c
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/draw/shapeexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index b1b7da3b952d..96b673d3755b 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -4188,7 +4188,6 @@ void ImpExportEnhancedGeometry( SvXMLExport& rExport, const uno::Reference< bean bool bHandles = false; uno::Sequence< beans::PropertyValues > aHandles; - bool bCoordinates = false; uno::Sequence< com::sun::star::drawing::EnhancedCustomShapeSegment > aSegments; uno::Sequence< com::sun::star::drawing::EnhancedCustomShapeParameterPair > aCoordinates; @@ -4209,6 +4208,7 @@ void ImpExportEnhancedGeometry( SvXMLExport& rExport, const uno::Reference< bean if ( aGeoPropSet >>= aGeoPropSeq ) { + bool bCoordinates = false; const OUString sCustomShapeType( "non-primitive" ); OUString aCustomShapeType( sCustomShapeType ); |