diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 10:42:11 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 10:42:57 +0200 |
commit | 31e24f487e5a4e917bb35fd396cf9f3ad84982a8 (patch) | |
tree | 6e4cbfcd49a8fed02847b8c7719759e09260cf7c /chart2 | |
parent | 3e672693e35e720177eac98094c42570fca9cfbb (diff) |
Remove redundant Reference<> from within UnoType<> uses
Change-Id: I1aeb9c73c284e39f371e49ded98e8dba0d055056
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/main/ChartController_Window.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx index 23724f428b62..59cbae5769bf 100644 --- a/chart2/source/controller/main/ChartController_Window.cxx +++ b/chart2/source/controller/main/ChartController_Window.cxx @@ -1598,7 +1598,7 @@ sal_Bool SAL_CALL ChartController::select( const uno::Any& rSelection ) bSuccess = true; } } - else if ( rType == cppu::UnoType< uno::Reference< drawing::XShape > >::get() ) + else if ( rType == cppu::UnoType<drawing::XShape>::get() ) { uno::Reference< drawing::XShape > xShape; if ( ( rSelection >>= xShape ) && m_aSelection.setSelection( xShape ) ) @@ -1664,7 +1664,7 @@ sal_Bool SAL_CALL ChartController::select( const uno::Any& rSelection ) return; //behave passive if already disposed or suspended //--add listener - m_aLifeTimeManager.m_aListenerContainer.addInterface( cppu::UnoType< uno::Reference< view::XSelectionChangeListener > >::get(), xListener ); + m_aLifeTimeManager.m_aListenerContainer.addInterface( cppu::UnoType<view::XSelectionChangeListener>::get(), xListener ); } void SAL_CALL ChartController @@ -1677,14 +1677,14 @@ sal_Bool SAL_CALL ChartController::select( const uno::Any& rSelection ) return; //behave passive if already disposed or suspended //--remove listener - m_aLifeTimeManager.m_aListenerContainer.removeInterface( cppu::UnoType< uno::Reference< view::XSelectionChangeListener > >::get(), xListener ); + m_aLifeTimeManager.m_aListenerContainer.removeInterface( cppu::UnoType<view::XSelectionChangeListener>::get(), xListener ); } void ChartController ::impl_notifySelectionChangeListeners() { ::cppu::OInterfaceContainerHelper* pIC = m_aLifeTimeManager.m_aListenerContainer - .getContainer( cppu::UnoType< uno::Reference< view::XSelectionChangeListener > >::get() ); + .getContainer( cppu::UnoType<view::XSelectionChangeListener>::get() ); if( pIC ) { uno::Reference< view::XSelectionSupplier > xSelectionSupplier(this); |