summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-05-07 23:32:15 +0200
committerJulien Nabet <serval2412@yahoo.fr>2014-05-07 23:33:23 +0200
commit2d5581b49a2f1bbb326a3603def697d1ffe8d63d (patch)
tree89bb3cc2086bfc16a3e3276d2c71b0d811dc7f21
parent3b566ca82ebbe754902c1837e11da5fba1e6c93d (diff)
Reference can be removed
See http://nabble.documentfoundation.org/Questions-about-getCppuType-tp4106361p4107883.html Change-Id: I4d29b9d80f8142792f948c6797006fe7e698a2a4
-rw-r--r--chart2/source/tools/ObjectIdentifier.cxx2
-rw-r--r--chart2/source/tools/RangeHighlighter.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/tools/ObjectIdentifier.cxx b/chart2/source/tools/ObjectIdentifier.cxx
index ef399da99c46..9edbdf041abd 100644
--- a/chart2/source/tools/ObjectIdentifier.cxx
+++ b/chart2/source/tools/ObjectIdentifier.cxx
@@ -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;
}
diff --git a/chart2/source/tools/RangeHighlighter.cxx b/chart2/source/tools/RangeHighlighter.cxx
index f9525a286f00..cc7e431c0b47 100644
--- a/chart2/source/tools/RangeHighlighter.cxx
+++ b/chart2/source/tools/RangeHighlighter.cxx
@@ -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 ) );