diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2014-12-19 08:47:29 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-12-19 11:00:32 +0000 |
commit | d41bc0f7b328ed6c69b2c2822de00165cdc62c61 (patch) | |
tree | f92cb1c15af79b7100e90d713eaa3ee6adcd5115 /oox | |
parent | bfb9eb550c4facb9aa6346a8d19f015cf5182668 (diff) |
fdo#39440 reduce scope of local variables
This addresses some cppcheck warnings.
Change-Id: Idcedd908c653d5a5700884f233ad134dde8be018
Reviewed-on: https://gerrit.libreoffice.org/13540
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/chartexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index 31bb95ee4e32..56d6c1f02a42 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -2505,9 +2505,9 @@ void ChartExport::_exportAxis( FSEND ); } - bool bDisplayUnits = false; if( nAxisType == XML_valAx && GetProperty( xAxisProp, "DisplayUnits" ) ) { + bool bDisplayUnits = false; mAny >>= bDisplayUnits; if(bDisplayUnits) { |