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

Stephan Bergmann sbergman at redhat.com
Fri Mar 4 16:03:50 UTC 2016


 winaccessibility/source/UAccCOM/EnumVariant.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6cadf68aefb9cf56c34f249675904bf1966786f4
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Mar 4 17:01:45 2016 +0100

    -Werror,-Wshadow
    
    Looks odd that this isGet block is a perfect copy of what is already done before
    this else-if block, but I have no insight at all into that code, so just leave
    it at that.
    
    Change-Id: Ieefd6618cb6b0dc49bc4d2c4733b02be2a8e3f7e

diff --git a/winaccessibility/source/UAccCOM/EnumVariant.cxx b/winaccessibility/source/UAccCOM/EnumVariant.cxx
index b13c8ad..e752834 100644
--- a/winaccessibility/source/UAccCOM/EnumVariant.cxx
+++ b/winaccessibility/source/UAccCOM/EnumVariant.cxx
@@ -76,7 +76,7 @@ HRESULT STDMETHODCALLTYPE CEnumVariant::Next(ULONG cElements,VARIANT __RPC_FAR *
         {
             if(CMAccessible::g_pAgent)
                 CMAccessible::g_pAgent->InsertAccObj(pRXAcc.get(),pUNOInterface);
-            BOOL isGet = CMAccessible::get_IAccessibleFromXAccessible(
+            isGet = CMAccessible::get_IAccessibleFromXAccessible(
                             pRXAcc.get(), &pChild);
             if(isGet)
             {


More information about the Libreoffice-commits mailing list