diff options
author | Kurt Zenker <kz@openoffice.org> | 2006-07-19 15:43:28 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2006-07-19 15:43:28 +0000 |
commit | 6c9cf31f61903a1d6a01c241f0264f7c67ccd645 (patch) | |
tree | 1d03f8adf0492dd833c292f0f552edcb1e863a45 /forms/source/component/DatabaseForm.cxx | |
parent | bb105cf0c950509f253668bcdc3f157ef4dfbc21 (diff) |
INTEGRATION: CWS warningfixes02 (1.73.2); FILE MERGED
2006/06/30 12:17:35 sb 1.73.2.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
Diffstat (limited to 'forms/source/component/DatabaseForm.cxx')
-rw-r--r-- | forms/source/component/DatabaseForm.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx index c2b5efbdf..1ae886207 100644 --- a/forms/source/component/DatabaseForm.cxx +++ b/forms/source/component/DatabaseForm.cxx @@ -4,9 +4,9 @@ * * $RCSfile: DatabaseForm.cxx,v $ * - * $Revision: 1.74 $ + * $Revision: 1.75 $ * - * last change: $Author: obo $ $Date: 2006-07-10 14:46:34 $ + * last change: $Author: kz $ $Date: 2006-07-19 16:43:28 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -654,7 +654,7 @@ void ODatabaseForm::AppendComponent(HtmlSuccessfulObjList& rList, const Referenc if (!hasProperty(PROPERTY_NAME, xComponentSet)) return; - sal_Int16 nClassId; + sal_Int16 nClassId = 0; xComponentSet->getPropertyValue(PROPERTY_CLASSID) >>= nClassId; ::rtl::OUString aName; xComponentSet->getPropertyValue( PROPERTY_NAME ) >>= aName; @@ -717,7 +717,7 @@ void ODatabaseForm::AppendComponent(HtmlSuccessfulObjList& rList, const Referenc // <name>=<refValue> if( !hasProperty(PROPERTY_STATE, xComponentSet) ) break; - sal_Int16 nChecked; + sal_Int16 nChecked = 0; xComponentSet->getPropertyValue( PROPERTY_STATE ) >>= nChecked; if( nChecked != 1 ) break; @@ -802,7 +802,7 @@ void ODatabaseForm::AppendComponent(HtmlSuccessfulObjList& rList, const Referenc double aDoubleVal; if (aVal >>= aDoubleVal) { - sal_Int16 nScale; + sal_Int16 nScale = 0; xComponentSet->getPropertyValue( PROPERTY_DECIMAL_ACCURACY ) >>= nScale; aText = ::rtl::math::doubleToUString(aDoubleVal, rtl_math_StringFormat_F, nScale, '.', sal_True); } |