diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-04-27 12:31:37 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-04-27 12:32:57 +0200 |
commit | 037754fa9ecea1792e1a8f73b8b4cad4dac75ee0 (patch) | |
tree | c736ea797b2ef0395cd8acc9bed81baf814b2c81 /svx | |
parent | 916cbd94d1c848bc69166915b96ff89ac380c913 (diff) |
cppcheck: reduce scope
Change-Id: I18d7500dcc4b29e2d0face22649f6f96382eabe8
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdotxln.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdotxln.cxx b/svx/source/svdraw/svdotxln.cxx index d978094adc4e..b4e386f83e56 100644 --- a/svx/source/svdraw/svdotxln.cxx +++ b/svx/source/svdraw/svdotxln.cxx @@ -166,7 +166,7 @@ bool SdrTextObj::ReloadLinkedText( bool bForceLoad) if( pData ) { DateTime aFileDT( DateTime::EMPTY ); - bool bExists = true, bLoad = false; + bool bExists = true; try { @@ -187,6 +187,7 @@ bool SdrTextObj::ReloadLinkedText( bool bForceLoad) if( bExists ) { + bool bLoad = false; if( bForceLoad ) bLoad = true; else |