more Windows build fixes

after my OInterfaceContainer2 change

Change-Id: I4adb4a1937c12c1f6cb9183d567afb729d4e78ea
This commit is contained in:
Noel Grandin 2016-01-25 15:25:25 +02:00
parent 826a6f65b5
commit c2a8ee9c56
2 changed files with 3 additions and 3 deletions

View File

@ -1437,7 +1437,7 @@ void SAL_CALL OleComponent::close( sal_Bool bDeliverOwnership )
if ( m_pInterfaceContainer ) if ( m_pInterfaceContainer )
{ {
::comphelper::OInterfaceContainerHelper2* pContainer = ::cppu::OInterfaceContainerHelper* pContainer =
m_pInterfaceContainer->getContainer( cppu::UnoType<util::XCloseListener>::get()); m_pInterfaceContainer->getContainer( cppu::UnoType<util::XCloseListener>::get());
if ( pContainer != NULL ) if ( pContainer != NULL )
{ {
@ -1729,7 +1729,7 @@ void SAL_CALL OleComponent::setModified( sal_Bool bModified )
if ( bModified && m_pInterfaceContainer ) if ( bModified && m_pInterfaceContainer )
{ {
::comphelper::OInterfaceContainerHelper2* pContainer = ::cppu::OInterfaceContainerHelper* pContainer =
m_pInterfaceContainer->getContainer( cppu::UnoType<util::XModifyListener>::get()); m_pInterfaceContainer->getContainer( cppu::UnoType<util::XModifyListener>::get());
if ( pContainer != NULL ) if ( pContainer != NULL )
{ {

View File

@ -190,7 +190,7 @@ void OleEmbeddedObject::StateChangeNotification_Impl( sal_Bool bBeforeChange, sa
{ {
if ( m_pInterfaceContainer ) if ( m_pInterfaceContainer )
{ {
::comphelper::OInterfaceContainerHelper2* pContainer = m_pInterfaceContainer->getContainer( ::cppu::OInterfaceContainerHelper* pContainer = m_pInterfaceContainer->getContainer(
cppu::UnoType<embed::XStateChangeListener>::get()); cppu::UnoType<embed::XStateChangeListener>::get());
if ( pContainer != NULL ) if ( pContainer != NULL )
{ {