diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-25 13:29:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-26 09:18:39 +0200 |
commit | 7b171dbfb5b50b684eb221270759482fe49b4e15 (patch) | |
tree | 58d97e95bad60c87e1daf9b61d184c57fb3f951c /embeddedobj | |
parent | f04bd7975292d297b72e8bb23aa74a2a5198aa23 (diff) |
loplugin:constmethod in embeddedobj..extensions
Change-Id: Iec6a9ff8b62ac1986cca205435273b64b71f33cd
Reviewed-on: https://gerrit.libreoffice.org/79539
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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; |