Reference can be removed

See http://nabble.documentfoundation.org/Questions-about-getCppuType-tp4106361p4107883.html

Change-Id: I4d29b9d80f8142792f948c6797006fe7e698a2a4
This commit is contained in:
Julien Nabet
2014-05-07 23:32:15 +02:00
parent 3b566ca82e
commit 2d5581b49a
2 changed files with 3 additions and 3 deletions

View File

@@ -263,7 +263,7 @@ ObjectIdentifier::ObjectIdentifier( const Any& rAny )
{
rAny >>= m_aObjectCID;
}
else if ( rType == cppu::UnoType< Reference< drawing::XShape > >::get() )
else if ( rType == cppu::UnoType< drawing::XShape >::get() )
{
rAny >>= m_xAdditionalShape;
}

View File

@@ -164,7 +164,7 @@ void RangeHighlighter::determineRanges()
}
}
}
else if ( rType == cppu::UnoType< Reference < drawing::XShape > >::get() )
else if ( rType == cppu::UnoType< drawing::XShape >::get() )
{
// #i12587# support for shapes in chart
Reference< drawing::XShape > xShape;
@@ -336,7 +336,7 @@ void SAL_CALL RangeHighlighter::selectionChanged( const lang::EventObject& /*aEv
void RangeHighlighter::fireSelectionEvent()
{
::cppu::OInterfaceContainerHelper* pIC = rBHelper.getContainer(
cppu::UnoType< Reference < view::XSelectionChangeListener > >::get() );
cppu::UnoType< view::XSelectionChangeListener >::get() );
if( pIC )
{
lang::EventObject aEvent( static_cast< lang::XComponent* >( this ) );