diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-12-12 18:45:16 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-12-12 20:06:27 +0100 |
commit | 57acb3d068ef1e47532ae100d78aa0bd8d061683 (patch) | |
tree | f4fd636531febfb140e12ac8554f1c5fa12f305d /winaccessibility | |
parent | 975e1d293d6f702c81647449fd28560b6d00e4a0 (diff) |
winaccessibility: out-line those COM methods
Change-Id: I7e9a94898c6bc8142b46a05ffba56fc41eb125c2
Diffstat (limited to 'winaccessibility')
-rw-r--r-- | winaccessibility/source/UAccCOM/UNOXWrapper.cxx | 13 | ||||
-rw-r--r-- | winaccessibility/source/UAccCOM/UNOXWrapper.h | 13 |
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: |