summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2001-01-24 08:08:43 +0000
committerFrank Schönheit <fs@openoffice.org>2001-01-24 08:08:43 +0000
commitabb65b6a851b890c674684286fc8329cc0bf2f43 (patch)
tree24c4125e4c1ef25138a4922ecaaa55b442c78c4d /forms
parent05d49dc566fd0c308848ea9b1fd93e41741d2c39 (diff)
#82672# use tryPropertyValueEnum
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/ListBox.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx
index b62cfe2dc3af..21dfba1e1152 100644
--- a/forms/source/component/ListBox.cxx
+++ b/forms/source/component/ListBox.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ListBox.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: oj $ $Date: 2000-12-06 10:17:08 $
+ * last change: $Author: fs $ $Date: 2001-01-24 09:08:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -373,7 +373,7 @@ sal_Bool OListBoxModel::convertFastPropertyValue(
break;
case PROPERTY_ID_LISTSOURCETYPE:
- bModified = tryPropertyValue(_rConvertedValue, _rOldValue, _rValue, m_eListSourceType);
+ bModified = tryPropertyValueEnum(_rConvertedValue, _rOldValue, _rValue, m_eListSourceType);
break;
case PROPERTY_ID_LISTSOURCE:
@@ -879,13 +879,13 @@ void OListBoxModel::loadData()
m_aValueSeq.realloc(aValueList.size());
::rtl::OUString* pustrValues = m_aValueSeq.getArray();
- for (i = 0; i < aValueList.size(); ++i)
+ for (i = 0; i < (sal_Int32)aValueList.size(); ++i)
pustrValues[i] = aValueList[i];
// String-Sequence fuer ListBox erzeugen
StringSequence aStringSeq(aStringList.size());
::rtl::OUString* pustrStrings = aStringSeq.getArray();
- for (i = 0; i < aStringList.size(); ++i)
+ for (i = 0; i < (sal_Int32)aStringList.size(); ++i)
pustrStrings[i] = aStringList[i];
setFastPropertyValue(PROPERTY_ID_STRINGITEMLIST, makeAny(aStringSeq));
@@ -946,7 +946,7 @@ StringSequence OListBoxModel::GetCurValueSeq() const
if (nSelCount)
{
const ::rtl::OUString *pVals = NULL;
- sal_uInt16 nValCnt = 0;
+ sal_Int32 nValCnt = 0;
if (m_aValueSeq.getLength())
{
pVals = m_aValueSeq.getConstArray();