From 8353667d35bc511378c9b14261b6bb11b7bd56aa Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 27 Nov 2015 11:14:38 +0200 Subject: com::sun::star->css in chart2 Change-Id: I04320d32d6d5c54e461cfabef58645f8b772bc69 --- chart2/source/inc/DisposeHelper.hxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'chart2/source/inc/DisposeHelper.hxx') diff --git a/chart2/source/inc/DisposeHelper.hxx b/chart2/source/inc/DisposeHelper.hxx index a2f1bba814af..72642a23121c 100644 --- a/chart2/source/inc/DisposeHelper.hxx +++ b/chart2/source/inc/DisposeHelper.hxx @@ -30,16 +30,15 @@ namespace DisposeHelper template< class T > void Dispose( const T & xIntf ) { - ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > xComp( - xIntf, ::com::sun::star::uno::UNO_QUERY ); + css::uno::Reference< css::lang::XComponent > xComp( xIntf, css::uno::UNO_QUERY ); if( xComp.is()) xComp->dispose(); } template< class Intf > - void DisposeAndClear( ::com::sun::star::uno::Reference< Intf > & rIntf ) + void DisposeAndClear( css::uno::Reference< Intf > & rIntf ) { - Dispose< ::com::sun::star::uno::Reference< Intf > >( rIntf ); + Dispose< css::uno::Reference< Intf > >( rIntf ); rIntf.set( 0 ); } -- cgit