Kaydet (Commit) c5b4e516 authored tarafından Julien Nabet's avatar Julien Nabet

cppcheck: reduce scope

Change-Id: Ie1eab551a2d5dce21b55226b17d62d9a78c1ffdd
üst d54786ef
...@@ -1792,10 +1792,10 @@ String OFieldDescControl::getControlDefault( const OFieldDescription* _pFieldDes ...@@ -1792,10 +1792,10 @@ String OFieldDescControl::getControlDefault( const OFieldDescription* _pFieldDes
{ {
sal_uInt32 nFormatKey; sal_uInt32 nFormatKey;
sal_Bool bTextFormat = sal_False; sal_Bool bTextFormat = sal_False;
double nValue = 0.0;
try try
{ {
double nValue = 0.0;
bTextFormat = isTextFormat(_pFieldDescr,nFormatKey); bTextFormat = isTextFormat(_pFieldDescr,nFormatKey);
if ( _pFieldDescr->GetControlDefault() >>= sDefault ) if ( _pFieldDescr->GetControlDefault() >>= sDefault )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment