diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-10-12 14:13:13 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-10-12 14:13:13 +0000 |
commit | 2f0b4ffbd49c9b4831b2e78e6b32e04ca635c41e (patch) | |
tree | 75b6a68dd0704ad60d73f20d34cba649aa45d0da /svtools/source/control/valueacc.cxx | |
parent | e7906f6cda4c4d870edc3e7c345e9bd8108168ad (diff) |
INTEGRATION: CWS sb59 (1.19.64); FILE MERGED
2006/07/25 08:52:54 sb 1.19.64.1: #i67487# Made code warning-free (wntmsci10).
Diffstat (limited to 'svtools/source/control/valueacc.cxx')
-rw-r--r-- | svtools/source/control/valueacc.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svtools/source/control/valueacc.cxx b/svtools/source/control/valueacc.cxx index f54d0328443c..e6c8f2ae314a 100644 --- a/svtools/source/control/valueacc.cxx +++ b/svtools/source/control/valueacc.cxx @@ -4,9 +4,9 @@ * * $RCSfile: valueacc.cxx,v $ * - * $Revision: 1.20 $ + * $Revision: 1.21 $ * - * last change: $Author: obo $ $Date: 2006-09-17 14:42:41 $ + * last change: $Author: obo $ $Date: 2006-10-12 15:13:13 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -206,7 +206,7 @@ uno::Reference< accessibility::XAccessible > SAL_CALL ValueSetAcc::getAccessible ThrowIfDisposed(); const vos::OGuard aSolarGuard( Application::GetSolarMutex() ); uno::Reference< accessibility::XAccessible > xRet; - ValueSetItem* pItem = getItem (i); + ValueSetItem* pItem = getItem (sal::static_int_cast< USHORT >(i)); if( pItem ) xRet = pItem->GetAccessible(); @@ -553,7 +553,7 @@ void SAL_CALL ValueSetAcc::selectAccessibleChild( sal_Int32 nChildIndex ) { ThrowIfDisposed(); const vos::OGuard aSolarGuard( Application::GetSolarMutex() ); - ValueSetItem* pItem = getItem (nChildIndex); + ValueSetItem* pItem = getItem (sal::static_int_cast< USHORT >(nChildIndex)); if(pItem != NULL) { @@ -571,7 +571,7 @@ sal_Bool SAL_CALL ValueSetAcc::isAccessibleChildSelected( sal_Int32 nChildIndex { ThrowIfDisposed(); const vos::OGuard aSolarGuard( Application::GetSolarMutex() ); - ValueSetItem* pItem = getItem (nChildIndex); + ValueSetItem* pItem = getItem (sal::static_int_cast< USHORT >(nChildIndex)); sal_Bool bRet = sal_False; if (pItem != NULL) |