summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2005-03-23 10:30:12 +0000
committerVladimir Glazounov <vg@openoffice.org>2005-03-23 10:30:12 +0000
commit96b58301bbddcbb411a2b03531eff83f94f0be6c (patch)
tree5fc2736b542f0dffc96ef15a87ea3420b6863d58 /forms
parent951bb70718a801ce6206626c12648106f074dd65 (diff)
INTEGRATION: CWS eforms4 (1.36.6); FILE MERGED
2005/03/08 16:48:45 dvo 1.36.6.2: RESYNC: (1.36-1.38); FILE MERGED 2004/12/10 09:10:54 fs 1.36.6.1: #i36359# some method constness
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/ListBox.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx
index 4bf687f957f2..15ee223b905b 100644
--- a/forms/source/component/ListBox.cxx
+++ b/forms/source/component/ListBox.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ListBox.cxx,v $
*
-* $Revision: 1.38 $
+* $Revision: 1.39 $
*
-* last change: $Author: vg $ $Date: 2005-02-17 10:42:10 $
+* last change: $Author: vg $ $Date: 2005-03-23 11:30:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1320,7 +1320,7 @@ namespace frm
}
//--------------------------------------------------------------------
- Any OListBoxModel::translateExternalValueToControlValue( )
+ Any OListBoxModel::translateExternalValueToControlValue( ) const
{
OSL_PRECOND( hasExternalValueBinding(),
"OListBoxModel::translateExternalValueToControlValue: precondition not met!" );
@@ -1459,12 +1459,12 @@ namespace frm
}
//--------------------------------------------------------------------
- Any OListBoxModel::translateControlValueToExternalValue( )
+ Any OListBoxModel::translateControlValueToExternalValue( ) const
{
OSL_PRECOND( hasExternalValueBinding(), "OListBoxModel::translateControlValueToExternalValue: no binding!" );
Sequence< sal_Int16 > aSelectSequence;
- getPropertyValue( PROPERTY_SELECT_SEQ ) >>= aSelectSequence;
+ const_cast< OListBoxModel* >( this )->getPropertyValue( PROPERTY_SELECT_SEQ ) >>= aSelectSequence;
Any aReturn;
switch ( m_eTransferSelectionAs )