From c2a8ee9c56effec1476556f4c1a820fb985ef35c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 25 Jan 2016 15:25:25 +0200 Subject: [PATCH] more Windows build fixes after my OInterfaceContainer2 change Change-Id: I4adb4a1937c12c1f6cb9183d567afb729d4e78ea --- embeddedobj/source/msole/olecomponent.cxx | 4 ++-- embeddedobj/source/msole/olemisc.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/embeddedobj/source/msole/olecomponent.cxx b/embeddedobj/source/msole/olecomponent.cxx index 91492197e3a7..6a7b9e471131 100644 --- a/embeddedobj/source/msole/olecomponent.cxx +++ b/embeddedobj/source/msole/olecomponent.cxx @@ -1437,7 +1437,7 @@ void SAL_CALL OleComponent::close( sal_Bool bDeliverOwnership ) if ( m_pInterfaceContainer ) { - ::comphelper::OInterfaceContainerHelper2* pContainer = + ::cppu::OInterfaceContainerHelper* pContainer = m_pInterfaceContainer->getContainer( cppu::UnoType::get()); if ( pContainer != NULL ) { @@ -1729,7 +1729,7 @@ void SAL_CALL OleComponent::setModified( sal_Bool bModified ) if ( bModified && m_pInterfaceContainer ) { - ::comphelper::OInterfaceContainerHelper2* pContainer = + ::cppu::OInterfaceContainerHelper* pContainer = m_pInterfaceContainer->getContainer( cppu::UnoType::get()); if ( pContainer != NULL ) { diff --git a/embeddedobj/source/msole/olemisc.cxx b/embeddedobj/source/msole/olemisc.cxx index 1abc8f176067..9fdeb18b80a6 100644 --- a/embeddedobj/source/msole/olemisc.cxx +++ b/embeddedobj/source/msole/olemisc.cxx @@ -190,7 +190,7 @@ void OleEmbeddedObject::StateChangeNotification_Impl( sal_Bool bBeforeChange, sa { if ( m_pInterfaceContainer ) { - ::comphelper::OInterfaceContainerHelper2* pContainer = m_pInterfaceContainer->getContainer( + ::cppu::OInterfaceContainerHelper* pContainer = m_pInterfaceContainer->getContainer( cppu::UnoType::get()); if ( pContainer != NULL ) {