[Libreoffice-commits] core.git: embedserv/source extensions/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Tue Oct 1 14:03:22 UTC 2019
embedserv/source/embed/ed_idataobj.cxx | 6 +++---
embedserv/source/embed/ed_ipersiststr.cxx | 2 +-
extensions/source/activex/SOActiveX.cxx | 6 +++---
3 files changed, 7 insertions(+), 7 deletions(-)
New commits:
commit e7a1b285df5b71c9e3c082fa02a2b21d8ac27162
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Oct 1 10:24:22 2019 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Oct 1 16:02:31 2019 +0200
loplugin:indentation (clang-cl)
Change-Id: I19750bd9ac4c77c88097210626fd0c3dfa510a7a
Reviewed-on: https://gerrit.libreoffice.org/79928
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/embedserv/source/embed/ed_idataobj.cxx b/embedserv/source/embed/ed_idataobj.cxx
index 140595ebfa65..9e602867c856 100644
--- a/embedserv/source/embed/ed_idataobj.cxx
+++ b/embedserv/source/embed/ed_idataobj.cxx
@@ -97,7 +97,7 @@ STDMETHODIMP EmbedDocument_Impl::GetData( FORMATETC * pFormatetc, STGMEDIUM * pM
}
else if ( pFormatetc->cfFormat == CF_METAFILEPICT )
{
- if ( !( pFormatetc->tymed & TYMED_MFPICT ) )
+ if ( !( pFormatetc->tymed & TYMED_MFPICT ) )
return DV_E_TYMED;
HGLOBAL hMeta = reinterpret_cast<HGLOBAL>( getMetaFileHandle_Impl( false ) );
@@ -194,7 +194,7 @@ STDMETHODIMP EmbedDocument_Impl::QueryGetData( FORMATETC * pFormatetc )
}
else if ( pFormatetc->cfFormat == CF_METAFILEPICT )
{
- if ( !( pFormatetc->tymed & TYMED_MFPICT ) )
+ if ( !( pFormatetc->tymed & TYMED_MFPICT ) )
return DV_E_TYMED;
return S_OK;
@@ -233,7 +233,7 @@ STDMETHODIMP EmbedDocument_Impl::GetCanonicalFormatEtc( FORMATETC * pFormatetcIn
}
else if ( pFormatetcIn->cfFormat == CF_METAFILEPICT )
{
- pFormatetcOut->tymed = TYMED_MFPICT;
+ pFormatetcOut->tymed = TYMED_MFPICT;
return S_OK;
}
else
diff --git a/embedserv/source/embed/ed_ipersiststr.cxx b/embedserv/source/embed/ed_ipersiststr.cxx
index 77131196b4b9..ba21f0772d8c 100644
--- a/embedserv/source/embed/ed_ipersiststr.cxx
+++ b/embedserv/source/embed/ed_ipersiststr.cxx
@@ -574,7 +574,7 @@ STDMETHODIMP EmbedDocument_Impl::Load( IStorage *pStg )
hr = E_FAIL;
}
- return hr;
+ return hr;
}
STDMETHODIMP EmbedDocument_Impl::Save( IStorage *pStgSave, BOOL fSameAsLoad )
diff --git a/extensions/source/activex/SOActiveX.cxx b/extensions/source/activex/SOActiveX.cxx
index b1f4b9447260..ac8b5272c855 100644
--- a/extensions/source/activex/SOActiveX.cxx
+++ b/extensions/source/activex/SOActiveX.cxx
@@ -188,7 +188,7 @@ HRESULT CSOActiveX::Cleanup()
{
// remove dispatch interceptor
CComQIPtr< IDispatch, &IID_IDispatch > pIDispDispInter( mpDispatchInterceptor );
- CComVariant aVariant( pIDispDispInter );
+ CComVariant aVariant( pIDispDispInter );
ExecuteFunc( mpDispFrame,
L"releaseDispatchProviderInterceptor",
&aVariant,
@@ -458,7 +458,7 @@ HRESULT CSOActiveX::SetLayoutManagerProps()
if( pVarLayoutMgr.vt != VT_DISPATCH || pVarLayoutMgr.pdispVal == nullptr )
return E_FAIL;
- CComPtr<IDispatch> pdispLM( pVarLayoutMgr.pdispVal );
+ CComPtr<IDispatch> pdispLM( pVarLayoutMgr.pdispVal );
if( !SUCCEEDED( hr ) || !pdispLM )
@@ -845,7 +845,7 @@ HRESULT CSOActiveX::LoadURLToFrame( )
CComQIPtr< IDispatch, &IID_IDispatch > pIDispDispInter( mpDispatchInterceptor );
// register dispatch interceptor in the frame
- CComVariant aDispVariant( pIDispDispInter );
+ CComVariant aDispVariant( pIDispDispInter );
CComVariant dummyResult;
hr = ExecuteFunc( mpDispFrame,
L"registerDispatchProviderInterceptor",
More information about the Libreoffice-commits
mailing list