[Libreoffice-commits] .: framework/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Mar 9 08:43:08 PST 2011
framework/source/uielement/dropdownboxtoolbarcontroller.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f85401f091ae6e0e5c342ae6de6dc6fa3d0e477a
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Mar 9 16:43:01 2011 +0000
Resolves: fdo#34635 GetSelectEntry is far more likely correct
diff --git a/framework/source/uielement/dropdownboxtoolbarcontroller.cxx b/framework/source/uielement/dropdownboxtoolbarcontroller.cxx
index 438532e..0693724 100644
--- a/framework/source/uielement/dropdownboxtoolbarcontroller.cxx
+++ b/framework/source/uielement/dropdownboxtoolbarcontroller.cxx
@@ -191,7 +191,7 @@ throw ( RuntimeException )
Sequence<PropertyValue> DropdownToolbarController::getExecuteArgs(sal_Int16 KeyModifier) const
{
Sequence<PropertyValue> aArgs( 2 );
- ::rtl::OUString aSelectedText = m_pListBoxControl->GetText();
+ ::rtl::OUString aSelectedText = m_pListBoxControl->GetSelectEntry();
// Add key modifier to argument list
aArgs[0].Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "KeyModifier" ));
More information about the Libreoffice-commits
mailing list