diff options
Diffstat (limited to 'embeddedobj')
-rw-r--r-- | embeddedobj/source/inc/commonembobj.hxx | 2 | ||||
-rw-r--r-- | embeddedobj/source/inc/docholder.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/embeddedobj/source/inc/commonembobj.hxx b/embeddedobj/source/inc/commonembobj.hxx index c00fbdc096be..9ea5c5629424 100644 --- a/embeddedobj/source/inc/commonembobj.hxx +++ b/embeddedobj/source/inc/commonembobj.hxx @@ -252,7 +252,7 @@ public: // not a real listener and should not be void PostEvent_Impl( const OUString& aEventName ); - OUString const & getContainerName() { return m_aContainerName; } + OUString const & getContainerName() const { return m_aContainerName; } // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override ; diff --git a/embeddedobj/source/inc/docholder.hxx b/embeddedobj/source/inc/docholder.hxx index 974a762a995a..abe49ff9475e 100644 --- a/embeddedobj/source/inc/docholder.hxx +++ b/embeddedobj/source/inc/docholder.hxx @@ -169,7 +169,7 @@ public: m_xOutplaceInterceptor = xOutplaceInterceptor; } - const css::uno::Reference< css::util::XCloseable >& GetComponent() { return m_xComponent; } + const css::uno::Reference< css::util::XCloseable >& GetComponent() const { return m_xComponent; } // XEventListener virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override; |