summaryrefslogtreecommitdiff
path: root/chart2/source/inc/DisposeHelper.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-27 11:14:38 +0200
committerNoel Grandin <noel@peralex.com>2016-03-14 13:43:38 +0200
commit8353667d35bc511378c9b14261b6bb11b7bd56aa (patch)
treea065c941301f2b693445958046360b27a651d439 /chart2/source/inc/DisposeHelper.hxx
parent6c47de46613b531bd975d073cf31c3fda6f8b8da (diff)
com::sun::star->css in chart2
Change-Id: I04320d32d6d5c54e461cfabef58645f8b772bc69
Diffstat (limited to 'chart2/source/inc/DisposeHelper.hxx')
-rw-r--r--chart2/source/inc/DisposeHelper.hxx7
1 files changed, 3 insertions, 4 deletions
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 );
}