loplugin:constparams: winaccessibility (clang-cl)

Change-Id: Ic668c1ee6c2dac70642480bc584f962921b428b2
This commit is contained in:
Stephan Bergmann 2017-08-31 12:11:39 +02:00
parent 3f226429e3
commit 0829b992a2
4 changed files with 4 additions and 4 deletions

View File

@ -90,7 +90,7 @@ private:
static void DeleteAccListener( AccObject* pAccObj );
static void InsertAccChildNode(AccObject* pCurObj,AccObject* pParentObj,HWND pWnd);
static void DeleteAccChildNode(AccObject* pChild);
void DeleteFromHwndXAcc(css::accessibility::XAccessible* pXAcc );
void DeleteFromHwndXAcc(css::accessibility::XAccessible const * pXAcc );
int UpdateAccSelection(css::accessibility::XAccessible* pXAcc);
::rtl::Reference<AccEventListener> CreateAccEventListener(

View File

@ -2660,7 +2660,7 @@ CMAccessible::get_IAccessibleFromXAccessible(XAccessible * pXAcc, IAccessible **
LEAVE_PROTECTED_BLOCK
}
OUString CMAccessible::get_StringFromAny(Any& pAny)
OUString CMAccessible::get_StringFromAny(Any const & pAny)
{
switch(pAny.getValueTypeClass())
{

View File

@ -242,7 +242,7 @@ public:
return static_cast<CMAccessible*>(pv)->SmartQI(pv,iid,ppvObject);
}
static OUString get_StringFromAny(css::uno::Any& pAny);
static OUString get_StringFromAny(css::uno::Any const & pAny);
static OUString get_String4Numbering(const css::uno::Any& pAny,
sal_Int16 numberingLevel, const OUString& numberingPrefix);

View File

@ -473,7 +473,7 @@ void AccObjectWinManager::DeleteAccChildNode( AccObject* pObj )
* @param pXAcc XAccessible interface.
* @return
*/
void AccObjectWinManager::DeleteFromHwndXAcc(XAccessible* pXAcc )
void AccObjectWinManager::DeleteFromHwndXAcc(XAccessible const * pXAcc )
{
XHWNDToXAccHash::iterator iter = HwndXAcc.begin();
while(iter!=HwndXAcc.end())