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

Stephan Bergmann sbergman at redhat.com
Wed Nov 27 00:15:04 PST 2013


 accessibility/source/standard/vclxaccessiblebox.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1533129759c0017413efe2213bfe503c26dc16f0
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Nov 27 09:12:38 2013 +0100

    Revert sense in VCLXAccessibleBox::getAccessibleActionCount again
    
    ...this had been switched from "m_bIsDropDownBox ? 1 : 0" to "m_bIsDropDownBox ?
    0 : 1" in efb23f29983f87104a684e7fab00b84fc59d131d "Integrate branch of
    IAccessible2" for no apparent reason and broke JunitTest_testtools_unoapi.
    
    Change-Id: I276d2f452648387a5fa693349cf868787b2d48e1

diff --git a/accessibility/source/standard/vclxaccessiblebox.cxx b/accessibility/source/standard/vclxaccessiblebox.cxx
index 7aa7836..764c0ca 100644
--- a/accessibility/source/standard/vclxaccessiblebox.cxx
+++ b/accessibility/source/standard/vclxaccessiblebox.cxx
@@ -409,7 +409,7 @@ sal_Int32 SAL_CALL VCLXAccessibleBox::getAccessibleActionCount (void)
 
     // There is one action for drop down boxes (toggle popup) and none for
     // the other boxes.
-    return m_bIsDropDownBox ? 0 : 1;
+    return m_bIsDropDownBox ? 1 : 0;
 }
 
 sal_Bool SAL_CALL VCLXAccessibleBox::doAccessibleAction (sal_Int32 nIndex)


More information about the Libreoffice-commits mailing list