summaryrefslogtreecommitdiff
path: root/winaccessibility
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-08-13 15:56:33 +0300
committerTor Lillqvist <tml@collabora.com>2014-08-13 16:02:15 +0300
commit450f6a177b93c3417fbc73a99f1de3f5c28376d2 (patch)
tree59ce070b1ed5c60871ad89419472af64c5102e7e /winaccessibility
parent37ecf082378a94d28d90b6f7639b0815484d9e3e (diff)
WaE: C4245: 'argument' : conversion from 'int' to 'unsigned short'
Change-Id: I2631ff653377b58dde5ae135571fd669cfbf9d30
Diffstat (limited to 'winaccessibility')
-rw-r--r--winaccessibility/source/service/AccTopWindowListener.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/winaccessibility/source/service/AccTopWindowListener.cxx b/winaccessibility/source/service/AccTopWindowListener.cxx
index 4f4bf5497eb0..a3df23bb2e96 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();