chart2/source/tools/ObjectIdentifier.cxx |    2 +-
 chart2/source/tools/RangeHighlighter.cxx |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 2d5581b49a2f1bbb326a3603def697d1ffe8d63d
Author: Julien Nabet <serval2...@yahoo.fr>
Date:   Wed May 7 23:32:15 2014 +0200

    Reference can be removed
    
    See 
http://nabble.documentfoundation.org/Questions-about-getCppuType-tp4106361p4107883.html
    
    Change-Id: I4d29b9d80f8142792f948c6797006fe7e698a2a4

diff --git a/chart2/source/tools/ObjectIdentifier.cxx 
b/chart2/source/tools/ObjectIdentifier.cxx
index ef399da..9edbdf0 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 f9525a2..cc7e431 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 ) );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to