summaryrefslogtreecommitdiff
path: root/winaccessibility
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-12 08:49:51 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-13 10:10:42 +0200
commit1e0237b3739288acdfcc4a9bbc62798a671afb20 (patch)
tree04fefd7ce5b0e830ee9988d8837dc59077b6e99e /winaccessibility
parent544434c534e280ba7a13a5f9e9377ffebb7151fb (diff)
warning C4189: local variable is initialized but not referenced
Change-Id: I365a0a86b66aecd2bb733b0f09c4b0f9a6063b5b
Diffstat (limited to 'winaccessibility')
-rw-r--r--winaccessibility/source/service/AccContainerEventListener.cxx1
-rw-r--r--winaccessibility/source/service/AccObjectWinManager.cxx3
-rw-r--r--winaccessibility/source/service/AccTopWindowListener.cxx4
-rw-r--r--winaccessibility/source/service/msaaservice_impl.cxx1
4 files changed, 0 insertions, 9 deletions
diff --git a/winaccessibility/source/service/AccContainerEventListener.cxx b/winaccessibility/source/service/AccContainerEventListener.cxx
index affaca2613db..f0267f432f67 100644
--- a/winaccessibility/source/service/AccContainerEventListener.cxx
+++ b/winaccessibility/source/service/AccContainerEventListener.cxx
@@ -51,7 +51,6 @@ throw (::com::sun::star::uno::RuntimeException)
{
SolarMutexGuard g;
- short role = GetRole();
switch (aEvent.EventId)
{
case AccessibleEventId::CHILD:
diff --git a/winaccessibility/source/service/AccObjectWinManager.cxx b/winaccessibility/source/service/AccObjectWinManager.cxx
index 32c155e87977..d8ea5d4ab31e 100644
--- a/winaccessibility/source/service/AccObjectWinManager.cxx
+++ b/winaccessibility/source/service/AccObjectWinManager.cxx
@@ -174,8 +174,6 @@ sal_Bool AccObjectWinManager::NotifyAccEvent(XAccessible* pXAcc,short state)
if(selfAccObj==NULL)
return sal_False;
- int selectNum =0;
-
long dChildID = selfAccObj->GetResID();
HWND hAcc = selfAccObj->GetParentHWND();
@@ -385,7 +383,6 @@ void AccObjectWinManager::UpdateAccFocus(XAccessible* newFocus)
*/
int AccObjectWinManager::UpdateAccSelection(XAccessible* pXAcc)
{
- XAccessibleSelection* pSelection = NULL;
Reference< XAccessibleContext > pRContext;
if( pXAcc == NULL)
diff --git a/winaccessibility/source/service/AccTopWindowListener.cxx b/winaccessibility/source/service/AccTopWindowListener.cxx
index df30a1a4dcd1..4f4bf5497eb0 100644
--- a/winaccessibility/source/service/AccTopWindowListener.cxx
+++ b/winaccessibility/source/service/AccTopWindowListener.cxx
@@ -208,10 +208,6 @@ void AccTopWindowListener::windowClosed( const ::com::sun::star::lang::EventObje
if ( pAccessible == NULL)
return;
- VCLXWindow* pvclwindow = (VCLXWindow*)pAccessible;
- Window* window = pvclwindow->GetWindow();
- const SystemEnvData* systemdata=window->GetSystemData();
-
Reference<com::sun::star::accessibility::XAccessibleContext> xContext(pAccessible->getAccessibleContext(),UNO_QUERY);
if(!xContext.is())
{
diff --git a/winaccessibility/source/service/msaaservice_impl.cxx b/winaccessibility/source/service/msaaservice_impl.cxx
index fb0d63e3fc43..b53f5dc9270f 100644
--- a/winaccessibility/source/service/msaaservice_impl.cxx
+++ b/winaccessibility/source/service/msaaservice_impl.cxx
@@ -228,7 +228,6 @@ static void AccessBridgeUpdateOldTopWindows( const Reference< XMSAAService > &xA
css::uno::Reference< css::accessibility::XAccessibleContext > xAC( xAccessible->getAccessibleContext() );
if ( xAC.is())
{
- short role = xAC->getAccessibleRole();
if ( !xAC->getAccessibleName().isEmpty() )
AccessBridgeHandleExistingWindow( xAccMgr, pTopWindow, true );
}