[Libreoffice-commits] core.git: embedserv/source
Stephan Bergmann
sbergman at redhat.com
Thu Sep 14 06:37:47 UTC 2017
embedserv/source/embed/ed_ipersiststr.cxx | 2 +-
embedserv/source/inprocserv/inprocembobj.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit d4bd86f52d5a7d8ac0125132451911d9b51a6c58
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Sep 14 08:37:19 2017 +0200
loplugin:redundantpointerops (clang-cl)
Change-Id: I5d4a1c3746b0eec02e022e5ffefd1a30a01948cd
diff --git a/embedserv/source/embed/ed_ipersiststr.cxx b/embedserv/source/embed/ed_ipersiststr.cxx
index 59099e572225..73263b5e3646 100644
--- a/embedserv/source/embed/ed_ipersiststr.cxx
+++ b/embedserv/source/embed/ed_ipersiststr.cxx
@@ -363,7 +363,7 @@ STDMETHODIMP_(ULONG) EmbedDocument_Impl::Release()
STDMETHODIMP EmbedDocument_Impl::GetClassID( CLSID* pClassId )
{
- *pClassId = *&m_guid;
+ *pClassId = m_guid;
return S_OK;
}
diff --git a/embedserv/source/inprocserv/inprocembobj.cxx b/embedserv/source/inprocserv/inprocembobj.cxx
index d71e9960d4bf..51173c9c9c65 100644
--- a/embedserv/source/inprocserv/inprocembobj.cxx
+++ b/embedserv/source/inprocserv/inprocembobj.cxx
@@ -391,7 +391,7 @@ STDMETHODIMP_(ULONG) InprocEmbedDocument_Impl::Release()
STDMETHODIMP InprocEmbedDocument_Impl::GetClassID( CLSID* pClassId )
{
- *pClassId = *&m_guid;
+ *pClassId = m_guid;
return S_OK;
}
More information about the Libreoffice-commits
mailing list