diff options
Diffstat (limited to 'forms/source')
-rw-r--r-- | forms/source/component/ListBox.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx index 4941918b6bed..bd31454d1b55 100644 --- a/forms/source/component/ListBox.cxx +++ b/forms/source/component/ListBox.cxx @@ -1436,7 +1436,7 @@ namespace frm if ( hasValidator() ) return OBoundControlModel::getCurrentFormComponentValue(); - Any aCurretnValue; + Any aCurrentValue; try { @@ -1447,16 +1447,16 @@ namespace frm OSL_VERIFY( const_cast< OListBoxModel* >( this )->getPropertyValue( PROPERTY_MULTISELECTION ) >>= bMultiSelection ); if ( bMultiSelection ) - aCurretnValue = lcl_getMultiSelectedEntriesAny( aSelectSequence, impl_getValues() ); + aCurrentValue = lcl_getMultiSelectedEntriesAny( aSelectSequence, impl_getValues() ); else - aCurretnValue = lcl_getSingleSelectedEntryAny( aSelectSequence, impl_getValues() ); + aCurrentValue = lcl_getSingleSelectedEntryAny( aSelectSequence, impl_getValues() ); } catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } - return aCurretnValue; + return aCurrentValue; } //-------------------------------------------------------------------- |