[Libreoffice-commits] core.git: accessibility/source

Caolán McNamara caolanm at redhat.com
Fri Jun 20 13:01:01 PDT 2014


 accessibility/source/standard/vclxaccessiblebox.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit e62764108a1832e746f68768c29eaa90606903a7
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jun 20 20:59:48 2014 +0100

    hmm, that's not right
    
    Change-Id: Id714a54b08127c594c108c824bb0dedd74bb5c06

diff --git a/accessibility/source/standard/vclxaccessiblebox.cxx b/accessibility/source/standard/vclxaccessiblebox.cxx
index d754875..117fc73 100644
--- a/accessibility/source/standard/vclxaccessiblebox.cxx
+++ b/accessibility/source/standard/vclxaccessiblebox.cxx
@@ -463,9 +463,9 @@ OUString SAL_CALL VCLXAccessibleBox::getAccessibleActionDescription (sal_Int32 n
         throw ::com::sun::star::lang::IndexOutOfBoundsException();
 
     if (m_bIsDropDownBox)
-        TK_RES_STRING( RID_STR_ACC_ACTION_TOGGLEPOPUP);
-    else
-        ::rtl::OUString();
+        return TK_RES_STRING(RID_STR_ACC_ACTION_TOGGLEPOPUP);
+
+    return OUString();
 }
 
 Reference< XAccessibleKeyBinding > VCLXAccessibleBox::getAccessibleActionKeyBinding( sal_Int32 nIndex )


More information about the Libreoffice-commits mailing list