summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--winaccessibility/inc/AccObject.hxx2
-rw-r--r--winaccessibility/source/service/AccObject.cxx3
2 files changed, 1 insertions, 4 deletions
diff --git a/winaccessibility/inc/AccObject.hxx b/winaccessibility/inc/AccObject.hxx
index 65c8f5777331..81d69082095a 100644
--- a/winaccessibility/inc/AccObject.hxx
+++ b/winaccessibility/inc/AccObject.hxx
@@ -67,7 +67,7 @@ private:
DWORD GetMSAAStateFromUNO(sal_Int64 xState);//translate state from UNO to MSAA value
css::accessibility::XAccessibleSelection* GetXAccessibleSelection();
void GetExpandedState(sal_Bool* isExpandable, sal_Bool* isExpanded);
- OUString GetMAccessibleValueFromAny(css::uno::Any pAny);
+ static OUString GetMAccessibleValueFromAny(css::uno::Any pAny);
public:
diff --git a/winaccessibility/source/service/AccObject.cxx b/winaccessibility/source/service/AccObject.cxx
index 51d04ec18dea..c7003568324b 100644
--- a/winaccessibility/source/service/AccObject.cxx
+++ b/winaccessibility/source/service/AccObject.cxx
@@ -506,9 +506,6 @@ OUString AccObject::GetMAccessibleValueFromAny(Any pAny)
{
OUString strValue;
- if(nullptr == m_pIMAcc)
- return strValue;
-
if(pAny.getValueType() == cppu::UnoType<cppu::UnoUnsignedShortType>::get() )
{
sal_uInt16 val;