diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-27 14:20:01 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-27 14:38:38 +0000 |
commit | 4e8692a3bf45565cee8116ebe1ddc3c6728540f9 (patch) | |
tree | f823a530af3682f7015a4ae41f6f95ddddc2b216 /basic | |
parent | coverity#707652 Uninitialized scalar field (diff) | |
download | core-4e8692a3bf45565cee8116ebe1ddc3c6728540f9.tar.gz core-4e8692a3bf45565cee8116ebe1ddc3c6728540f9.zip |
coverity#984078 Uninitialized scalar field
Change-Id: I36b4a8c7d047f392fdbbe167a0e801b9a6d80b03
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/sbx/sbxform.cxx | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/basic/source/sbx/sbxform.cxx b/basic/source/sbx/sbxform.cxx index b7338d8c8778..315b94db2ea2 100644 --- a/basic/source/sbx/sbxform.cxx +++ b/basic/source/sbx/sbxform.cxx @@ -112,17 +112,20 @@ SbxBasicFormater::SbxBasicFormater( sal_Unicode _cDecPoint, sal_Unicode _cThousa OUString _sFalseStrg, OUString _sCurrencyStrg, OUString _sCurrencyFormatStrg ) + : cDecPoint(_cDecPoint) + , cThousandSep(_cThousandSep) + , sOnStrg(_sOnStrg) + , sOffStrg(_sOffStrg) + , sYesStrg(_sYesStrg) + , sNoStrg(_sNoStrg) + , sTrueStrg(_sTrueStrg) + , sFalseStrg(_sFalseStrg) + , sCurrencyStrg(_sCurrencyStrg) + , sCurrencyFormatStrg(_sCurrencyFormatStrg) + , dNum(0.0) + , nNumExp(0) + , nExpExp(0) { - cDecPoint = _cDecPoint; - cThousandSep = _cThousandSep; - sOnStrg = _sOnStrg; - sOffStrg = _sOffStrg; - sYesStrg = _sYesStrg; - sNoStrg = _sNoStrg; - sTrueStrg = _sTrueStrg; - sFalseStrg = _sFalseStrg; - sCurrencyStrg = _sCurrencyStrg; - sCurrencyFormatStrg = _sCurrencyFormatStrg; } // function for ouput of a error-text (for debugging) |