diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-10-09 16:39:32 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-10-09 20:42:44 +0200 |
commit | 7d361e96c9ea822790db21806e9fc05279423833 (patch) | |
tree | 4a158bdac2bd6df4ec2fc3c5a810003c1dd41ff6 /dbaccess/source/core/dataaccess/ComponentDefinition.hxx | |
parent | 4b0afe968ed62ac65d5f04918f4cda501ecf1619 (diff) |
loplugin:redundantpointerops
(All related to uses of std::shared_ptr, which builds against libstdc++
apparently missed (fix forthcoming) and which I only now found with my macOS
build against libc++.)
Change-Id: If581e689f0e5ff62d9ce35513c9ff87b00328766
Reviewed-on: https://gerrit.libreoffice.org/80548
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'dbaccess/source/core/dataaccess/ComponentDefinition.hxx')
-rw-r--r-- | dbaccess/source/core/dataaccess/ComponentDefinition.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/core/dataaccess/ComponentDefinition.hxx b/dbaccess/source/core/dataaccess/ComponentDefinition.hxx index e71b5fe535a9..02e40390ed7f 100644 --- a/dbaccess/source/core/dataaccess/ComponentDefinition.hxx +++ b/dbaccess/source/core/dataaccess/ComponentDefinition.hxx @@ -93,8 +93,8 @@ protected: virtual ~OComponentDefinition() override; virtual void SAL_CALL disposing() override; - const OComponentDefinition_Impl& getDefinition() const { return dynamic_cast< const OComponentDefinition_Impl& >( *m_pImpl.get() ); } - OComponentDefinition_Impl& getDefinition() { return dynamic_cast< OComponentDefinition_Impl& >( *m_pImpl.get() ); } + const OComponentDefinition_Impl& getDefinition() const { return dynamic_cast< const OComponentDefinition_Impl& >( *m_pImpl ); } + OComponentDefinition_Impl& getDefinition() { return dynamic_cast< OComponentDefinition_Impl& >( *m_pImpl ); } public: OComponentDefinition( const css::uno::Reference< css::uno::XComponentContext >&, |