summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-08-07 22:09:06 +0200
committerMichael Stahl <mstahl@redhat.com>2013-08-08 23:25:28 +0200
commit03eb15938e04a8a28fc08ca7528b2f7068fe1c7a (patch)
tree64a56e0d605757410bed25ad88735f5ac4339e73 /framework
parentaf2d474ff9a91645043c1d4292891c313cceef5e (diff)
vcl, sw: fix the inheritance of SwComboBox from ComboBox a bit
Remove the silly overloading, and introduce virtual methods. Change-Id: If54a6a3fb7464283f80d3387ae23db234690f8a3
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uielement/comboboxtoolbarcontroller.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/uielement/comboboxtoolbarcontroller.cxx b/framework/source/uielement/comboboxtoolbarcontroller.cxx
index de69836e1b8f..cf3d22834272 100644
--- a/framework/source/uielement/comboboxtoolbarcontroller.cxx
+++ b/framework/source/uielement/comboboxtoolbarcontroller.cxx
@@ -350,7 +350,7 @@ void ComboboxToolbarController::executeControlCommand( const ::com::sun::star::f
if ( rControlCommand.Arguments[i].Value >>= nPos )
{
if ( nPos < sal_Int32( m_pComboBox->GetEntryCount() ))
- m_pComboBox->RemoveEntry( sal_uInt16( nPos ));
+ m_pComboBox->RemoveEntryAt(sal_uInt16(nPos));
}
break;
}