summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-09-17 08:51:20 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2024-09-17 21:41:46 +0200
commit5ccd777b33d070ca056ac18cec59ba741b73d48e (patch)
tree0497cbc2e41fa074da0b00058994dfd3ec1cafcb
parentec2d705c16db5854ac51dd54fd67f32f0f15a5cc (diff)
wina11y: Rename CAccImage::{pRXImg -> m_xImage}
Adhere to naming conventions to make clearer this is a class member, and a uno::Reference. Change-Id: I804bb66d88675d1f5e7e0ee31f9244db5abf0125 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173534 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
-rw-r--r--winaccessibility/source/UAccCOM/AccImage.cxx6
-rw-r--r--winaccessibility/source/UAccCOM/AccImage.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/winaccessibility/source/UAccCOM/AccImage.cxx b/winaccessibility/source/UAccCOM/AccImage.cxx
index bf53f440d98a..fbdcf6fa3ab2 100644
--- a/winaccessibility/source/UAccCOM/AccImage.cxx
+++ b/winaccessibility/source/UAccCOM/AccImage.cxx
@@ -44,7 +44,7 @@ COM_DECLSPEC_NOTHROW STDMETHODIMP CAccImage::get_description(BSTR* description)
{
if (description == nullptr)
return E_INVALIDARG;
- if (!pRXImg.is())
+ if (!m_xImage.is())
return E_FAIL;
OUString ouStr = GetXInterface()->getAccessibleImageDescription();
@@ -97,9 +97,9 @@ COM_DECLSPEC_NOTHROW STDMETHODIMP CAccImage::put_XInterface(hyper pXInterface)
}
Reference<XAccessibleImage> pRXI(pRContext, UNO_QUERY);
if (!pRXI.is())
- pRXImg = nullptr;
+ m_xImage = nullptr;
else
- pRXImg = pRXI.get();
+ m_xImage = pRXI.get();
return S_OK;
}
catch (...)
diff --git a/winaccessibility/source/UAccCOM/AccImage.h b/winaccessibility/source/UAccCOM/AccImage.h
index 4e0708a18066..9e0e88d6e07a 100644
--- a/winaccessibility/source/UAccCOM/AccImage.h
+++ b/winaccessibility/source/UAccCOM/AccImage.h
@@ -88,11 +88,11 @@ public:
private:
- css::uno::Reference<css::accessibility::XAccessibleImage> pRXImg;
+ css::uno::Reference<css::accessibility::XAccessibleImage> m_xImage;
css::accessibility::XAccessibleImage* GetXInterface()
{
- return pRXImg.get();
+ return m_xImage.get();
}
};