summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embedserv/source/embed/ed_idataobj.cxx6
-rw-r--r--embedserv/source/embed/ed_ipersiststr.cxx2
-rw-r--r--extensions/source/activex/SOActiveX.cxx6
3 files changed, 7 insertions, 7 deletions
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",