From c3586b684c58e06cd80dea87d7681354acfec80b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 12 Dec 2016 16:31:57 +0200 Subject: OSL_TRACE->SAL in chart2..oox Change-Id: I133a6441824bfbefcfcda130119b5c5d706f86b2 Reviewed-on: https://gerrit.libreoffice.org/31907 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- chart2/source/model/main/ChartModel.cxx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'chart2/source/model/main/ChartModel.cxx') diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx index b9f59a9fbe70..9a4dfe2a115c 100644 --- a/chart2/source/model/main/ChartModel.cxx +++ b/chart2/source/model/main/ChartModel.cxx @@ -112,8 +112,6 @@ ChartModel::ChartModel(uno::Reference const & xContext) ,bSet(false) , mpOpenGLWindow(nullptr) { - OSL_TRACE( "ChartModel: CTOR called" ); - osl_atomic_increment(&m_refCount); { m_xOldModelAgg.set( @@ -158,8 +156,6 @@ ChartModel::ChartModel( const ChartModel & rOther ) , bSet(false) , mpOpenGLWindow(nullptr) { - OSL_TRACE( "ChartModel: Copy-CTOR called" ); - osl_atomic_increment(&m_refCount); { m_xOldModelAgg.set( @@ -195,7 +191,6 @@ ChartModel::ChartModel( const ChartModel & rOther ) ChartModel::~ChartModel() { - OSL_TRACE( "ChartModel: DTOR called" ); if( m_xOldModelAgg.is()) m_xOldModelAgg->setDelegator( nullptr ); } @@ -455,7 +450,7 @@ void SAL_CALL ChartModel::unlockControllers() throw(uno::RuntimeException, std:: return; //behave passive if already disposed or closed or throw exception @todo? if( m_nControllerLockCount == 0 ) { - OSL_TRACE( "ChartModel: unlockControllers called with m_nControllerLockCount == 0" ); + SAL_WARN("chart2", "ChartModel: unlockControllers called with m_nControllerLockCount == 0" ); return; } --m_nControllerLockCount; @@ -579,8 +574,6 @@ void SAL_CALL ChartModel::dispose() throw(uno::RuntimeException, std::exception) if( m_xOldModelAgg.is()) m_xOldModelAgg->setDelegator( nullptr ); - - OSL_TRACE( "ChartModel: dispose() called" ); } void SAL_CALL ChartModel::addEventListener( const uno::Reference< lang::XEventListener > & xListener ) -- cgit v1.2.3