summaryrefslogtreecommitdiff
path: root/chart2/source/tools/LifeTime.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/tools/LifeTime.cxx')
-rw-r--r--chart2/source/tools/LifeTime.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/source/tools/LifeTime.cxx b/chart2/source/tools/LifeTime.cxx
index 8a9717ac221c..716670409167 100644
--- a/chart2/source/tools/LifeTime.cxx
+++ b/chart2/source/tools/LifeTime.cxx
@@ -352,8 +352,7 @@ void CloseableLifeTimeManager::impl_doClose()
if(xCloseable.is())
{
- uno::Reference< lang::XComponent > xComponent =
- uno::Reference< lang::XComponent >( xCloseable, uno::UNO_QUERY );
+ uno::Reference< lang::XComponent > xComponent( xCloseable, uno::UNO_QUERY );
if(xComponent.is())
{
OSL_ENSURE( m_bClosed, "a not closed component will be disposed " );