summaryrefslogtreecommitdiff
path: root/winaccessibility
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-08-31 12:11:39 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-08-31 12:14:41 +0200
commit0829b992a22119eae9240d3a13ec2c05cc828ec5 (patch)
tree9e9cb467e289631f7695a1579f0a30eb919a4719 /winaccessibility
parent3f226429e3a63083f47e5cb33123dee7ba2d0728 (diff)
loplugin:constparams: winaccessibility (clang-cl)
Change-Id: Ic668c1ee6c2dac70642480bc584f962921b428b2
Diffstat (limited to 'winaccessibility')
-rw-r--r--winaccessibility/inc/AccObjectWinManager.hxx2
-rw-r--r--winaccessibility/source/UAccCOM/MAccessible.cxx2
-rw-r--r--winaccessibility/source/UAccCOM/MAccessible.h2
-rw-r--r--winaccessibility/source/service/AccObjectWinManager.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/winaccessibility/inc/AccObjectWinManager.hxx b/winaccessibility/inc/AccObjectWinManager.hxx
index c28083cf6f18..df90cc80b993 100644
--- a/winaccessibility/inc/AccObjectWinManager.hxx
+++ b/winaccessibility/inc/AccObjectWinManager.hxx
@@ -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(
diff --git a/winaccessibility/source/UAccCOM/MAccessible.cxx b/winaccessibility/source/UAccCOM/MAccessible.cxx
index f6251afadf2c..f0a72faa2d15 100644
--- a/winaccessibility/source/UAccCOM/MAccessible.cxx
+++ b/winaccessibility/source/UAccCOM/MAccessible.cxx
@@ -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())
{
diff --git a/winaccessibility/source/UAccCOM/MAccessible.h b/winaccessibility/source/UAccCOM/MAccessible.h
index 3c7ba3ee826e..87311e540f65 100644
--- a/winaccessibility/source/UAccCOM/MAccessible.h
+++ b/winaccessibility/source/UAccCOM/MAccessible.h
@@ -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);
diff --git a/winaccessibility/source/service/AccObjectWinManager.cxx b/winaccessibility/source/service/AccObjectWinManager.cxx
index cc6a76de5cdc..07f273049922 100644
--- a/winaccessibility/source/service/AccObjectWinManager.cxx
+++ b/winaccessibility/source/service/AccObjectWinManager.cxx
@@ -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())