[Libreoffice-commits] core.git: 2 commits - winaccessibility/source
Tor Lillqvist
tml at collabora.com
Wed Aug 13 06:02:51 PDT 2014
winaccessibility/source/UAccCOM/AccTable.cxx | 1 -
winaccessibility/source/service/AccTopWindowListener.cxx | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 5ba86251c08ea9a9297afd2c1d8f57adaecc3d03
Author: Tor Lillqvist <tml at collabora.com>
Date: Wed Aug 13 16:00:27 2014 +0300
WaE: C4189: 'isTRUE' : local variable is initialized but not referenced
Change-Id: I84859c105c5f91ec66f075dd96be865ddeb71e33
diff --git a/winaccessibility/source/UAccCOM/AccTable.cxx b/winaccessibility/source/UAccCOM/AccTable.cxx
index c945ad7..472b968 100644
--- a/winaccessibility/source/UAccCOM/AccTable.cxx
+++ b/winaccessibility/source/UAccCOM/AccTable.cxx
@@ -539,7 +539,6 @@ STDMETHODIMP CAccTable::get_summary(IUnknown * * accessible)
Reference<XAccessible> pRAcc = GetXInterface()->getAccessibleSummary();
IAccessible* pRet = NULL;
- BOOL isTRUE = CMAccessible::get_IAccessibleFromXAccessible(pRAcc.get(), &pRet);
if(pRet)
{
commit 450f6a177b93c3417fbc73a99f1de3f5c28376d2
Author: Tor Lillqvist <tml at collabora.com>
Date: Wed Aug 13 15:56:33 2014 +0300
WaE: C4245: 'argument' : conversion from 'int' to 'unsigned short'
Change-Id: I2631ff653377b58dde5ae135571fd669cfbf9d30
diff --git a/winaccessibility/source/service/AccTopWindowListener.cxx b/winaccessibility/source/service/AccTopWindowListener.cxx
index 4f4bf54..a3df23b 100644
--- a/winaccessibility/source/service/AccTopWindowListener.cxx
+++ b/winaccessibility/source/service/AccTopWindowListener.cxx
@@ -78,7 +78,7 @@ void AccTopWindowListener::HandleWindowOpened( com::sun::star::accessibility::XA
AddAllListeners(pAccessible,NULL,(HWND)systemdata->hWnd);
if( window->GetStyle() & WB_MOVEABLE )
- accManagerAgent.IncreaseState( pAccessible, -1 /* U_MOVEBLE */ );
+ accManagerAgent.IncreaseState( pAccessible, (unsigned short) -1 /* U_MOVEBLE */ );
short role = pAccessibleContext->getAccessibleRole();
More information about the Libreoffice-commits
mailing list