summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-06-07 00:13:12 +0200
committerJulien Nabet <serval2412@yahoo.fr>2013-06-07 00:13:27 +0200
commitc5b4e516df611cdc84b165da275a812061ee6060 (patch)
tree96ad1cf2f9822c3434c04e5d360ec06cc7f91a12 /dbaccess
parentd54786ef57c43793c6e0935a70554d9624b2b120 (diff)
cppcheck: reduce scope
Change-Id: Ie1eab551a2d5dce21b55226b17d62d9a78c1ffdd
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/control/FieldDescControl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/control/FieldDescControl.cxx b/dbaccess/source/ui/control/FieldDescControl.cxx
index 4e6bce8dc701..009300b4da0c 100644
--- a/dbaccess/source/ui/control/FieldDescControl.cxx
+++ b/dbaccess/source/ui/control/FieldDescControl.cxx
@@ -1792,10 +1792,10 @@ String OFieldDescControl::getControlDefault( const OFieldDescription* _pFieldDes
{
sal_uInt32 nFormatKey;
sal_Bool bTextFormat = sal_False;
- double nValue = 0.0;
try
{
+ double nValue = 0.0;
bTextFormat = isTextFormat(_pFieldDescr,nFormatKey);
if ( _pFieldDescr->GetControlDefault() >>= sDefault )
{