diff options
Diffstat (limited to 'embeddedobj/source/inc/docholder.hxx')
-rw-r--r-- | embeddedobj/source/inc/docholder.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embeddedobj/source/inc/docholder.hxx b/embeddedobj/source/inc/docholder.hxx index e47e95872c1a..10a9b57cac30 100644 --- a/embeddedobj/source/inc/docholder.hxx +++ b/embeddedobj/source/inc/docholder.hxx @@ -164,7 +164,7 @@ public: m_xOutplaceInterceptor = xOutplaceInterceptor; } - css::uno::Reference< css::util::XCloseable > GetComponent() { return m_xComponent; } + const css::uno::Reference< css::util::XCloseable >& GetComponent() { return m_xComponent; } // XEventListener virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) override; |