summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-07-19 15:44:00 +0000
committerKurt Zenker <kz@openoffice.org>2006-07-19 15:44:00 +0000
commit0a7b079692f387b851cde63b7f9615149a2573c5 (patch)
treed336d874f1a115e2d52e7f0ba724738a6c2a51e8 /forms
parent876b95fdcd6804137b0d22e3709a7bd426259b8a (diff)
INTEGRATION: CWS warningfixes02 (1.44.2); FILE MERGED
2006/06/30 12:17:35 sb 1.44.2.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/ListBox.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx
index 78b2b264759e..fe6da92ee7a8 100644
--- a/forms/source/component/ListBox.cxx
+++ b/forms/source/component/ListBox.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: ListBox.cxx,v $
*
- * $Revision: 1.46 $
+ * $Revision: 1.47 $
*
- * last change: $Author: obo $ $Date: 2006-07-13 15:18:46 $
+ * last change: $Author: kz $ $Date: 2006-07-19 16:44:00 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -526,7 +526,7 @@ namespace frm
if ((nAnyMask & BOUNDCOLUMN) == BOUNDCOLUMN)
{
- sal_Int16 nBoundColumn;
+ sal_Int16 nBoundColumn = 0;
m_aBoundColumn >>= nBoundColumn;
_rxOutStream << nBoundColumn;
}
@@ -1097,7 +1097,7 @@ namespace frm
if (nSelCount > 1)
{
// Einfach- oder Mehrfach-Selektion
- sal_Bool bMultiSel;
+ sal_Bool bMultiSel = false;
const_cast<OListBoxModel*>(this)->OPropertySetAggregationHelper::getFastPropertyValue(PROPERTY_ID_MULTISELECTION) >>= bMultiSel;
if (bMultiSel)
nSelCount = 1;