summaryrefslogtreecommitdiff
path: root/winaccessibility
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-12-12 18:45:16 +0100
committerMichael Stahl <mstahl@redhat.com>2013-12-12 20:06:27 +0100
commit57acb3d068ef1e47532ae100d78aa0bd8d061683 (patch)
treef4fd636531febfb140e12ac8554f1c5fa12f305d /winaccessibility
parent975e1d293d6f702c81647449fd28560b6d00e4a0 (diff)
winaccessibility: out-line those COM methods
Change-Id: I7e9a94898c6bc8142b46a05ffba56fc41eb125c2
Diffstat (limited to 'winaccessibility')
-rw-r--r--winaccessibility/source/UAccCOM/UNOXWrapper.cxx13
-rw-r--r--winaccessibility/source/UAccCOM/UNOXWrapper.h13
2 files changed, 15 insertions, 11 deletions
diff --git a/winaccessibility/source/UAccCOM/UNOXWrapper.cxx b/winaccessibility/source/UAccCOM/UNOXWrapper.cxx
index c07306f97493..bc1a89cfc9df 100644
--- a/winaccessibility/source/UAccCOM/UNOXWrapper.cxx
+++ b/winaccessibility/source/UAccCOM/UNOXWrapper.cxx
@@ -21,7 +21,20 @@
#include "UAccCOM.h"
#include "UNOXWrapper.h"
+using namespace ::com::sun::star;
+
/////////////////////////////////////////////////////////////////////////////
// CUNOXWrapper
+STDMETHODIMP CUNOXWrapper::put_XInterface(hyper nXInterface)
+{
+ pUNOInterface = reinterpret_cast<accessibility::XAccessible*>(nXInterface);
+ return S_OK;
+}
+
+STDMETHODIMP CUNOXWrapper::put_XSubInterface(hyper)
+{
+ return S_OK;
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/UNOXWrapper.h b/winaccessibility/source/UAccCOM/UNOXWrapper.h
index 6d9540254b93..d6c6660a6013 100644
--- a/winaccessibility/source/UAccCOM/UNOXWrapper.h
+++ b/winaccessibility/source/UAccCOM/UNOXWrapper.h
@@ -37,17 +37,8 @@ public:
public:
// IUNOXWrapper
-
- STDMETHOD(put_XInterface)(hyper pXInterface)
- {
- pUNOInterface = (com::sun::star::accessibility::XAccessible*)pXInterface;
- return S_OK;
- }
-
- STDMETHOD(put_XSubInterface)(hyper)
- {
- return S_OK;
- }
+ STDMETHOD(put_XInterface)(hyper pXInterface);
+ STDMETHOD(put_XSubInterface)(hyper);
protected: