diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-12 16:31:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-13 06:12:00 +0000 |
commit | c3586b684c58e06cd80dea87d7681354acfec80b (patch) | |
tree | 09e1b3caab55f1c9ecd4c2559250b42892fd5ee7 /editeng/source | |
parent | a005fbeddc4e615cfff56a9bd84355f8d42c1c8c (diff) |
OSL_TRACE->SAL in chart2..oox
Change-Id: I133a6441824bfbefcfcda130119b5c5d706f86b2
Reviewed-on: https://gerrit.libreoffice.org/31907
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/accessibility/AccessibleEditableTextPara.cxx | 15 | ||||
-rw-r--r-- | editeng/source/accessibility/AccessibleImageBullet.cxx | 10 | ||||
-rw-r--r-- | editeng/source/items/textitem.cxx | 2 |
3 files changed, 2 insertions, 25 deletions
diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx b/editeng/source/accessibility/AccessibleEditableTextPara.cxx index 2b621f43fefc..2216ecef38b9 100644 --- a/editeng/source/accessibility/AccessibleEditableTextPara.cxx +++ b/editeng/source/accessibility/AccessibleEditableTextPara.cxx @@ -117,9 +117,6 @@ namespace accessibility // #i27138# mpParaManager( _pParaManager ) { -#ifdef DBG_UTIL - OSL_TRACE( "AccessibleEditableTextPara received ID: %d", mnNotifierClientId ); -#endif try { @@ -148,9 +145,6 @@ namespace accessibility try { ::comphelper::AccessibleEventNotifier::revokeClient( getNotifierClientId() ); -#ifdef DBG_UTIL - OSL_TRACE( "AccessibleEditableTextPara revoked ID: %d", mnNotifierClientId ); -#endif } catch (const uno::Exception&) { @@ -307,9 +301,6 @@ namespace accessibility // #106234# Delegate to EventNotifier ::comphelper::AccessibleEventNotifier::revokeClientNotifyDisposing( nClientId, xThis ); -#ifdef DBG_UTIL - OSL_TRACE( "Disposed ID: %d", nClientId ); -#endif } catch (const uno::Exception&) { @@ -710,11 +701,7 @@ namespace accessibility uno::Reference< XAccessible > SAL_CALL AccessibleEditableTextPara::getAccessibleParent() throw (uno::RuntimeException, std::exception) { - -#ifdef DBG_UTIL - if( !mxParent.is() ) - OSL_TRACE( "AccessibleEditableTextPara::getAccessibleParent: no frontend set, did somebody forgot to call AccessibleTextHelper::SetEventSource()?"); -#endif + SAL_WARN_IF(!mxParent.is(), "editeng", "AccessibleEditableTextPara::getAccessibleParent: no frontend set, did somebody forgot to call AccessibleTextHelper::SetEventSource()?"); return mxParent; } diff --git a/editeng/source/accessibility/AccessibleImageBullet.cxx b/editeng/source/accessibility/AccessibleImageBullet.cxx index 9075690e60f6..312a6b18ed06 100644 --- a/editeng/source/accessibility/AccessibleImageBullet.cxx +++ b/editeng/source/accessibility/AccessibleImageBullet.cxx @@ -63,10 +63,6 @@ namespace accessibility // fetched. Nevertheless, normally should employ RAII here... mnNotifierClientId(::comphelper::AccessibleEventNotifier::registerClient()) { -#ifdef DBG_UTIL - OSL_TRACE( "Received ID: %d", mnNotifierClientId ); -#endif - try { // Create the state set. @@ -91,9 +87,6 @@ namespace accessibility try { ::comphelper::AccessibleEventNotifier::revokeClient( getNotifierClientId() ); -#ifdef DBG_UTIL - OSL_TRACE( "AccessibleImageBullet revoked ID: %d", mnNotifierClientId ); -#endif } catch( const uno::Exception& ) {} } @@ -401,9 +394,6 @@ namespace accessibility // #106234# Delegate to EventNotifier ::comphelper::AccessibleEventNotifier::revokeClientNotifyDisposing( nClientId, xThis ); -#ifdef DBG_UTIL - OSL_TRACE( "AccessibleImageBullet disposed ID: %d", nClientId ); -#endif } catch( const uno::Exception& ) {} } diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx index 1e01793795cf..772a394b6bf1 100644 --- a/editeng/source/items/textitem.cxx +++ b/editeng/source/items/textitem.cxx @@ -3079,7 +3079,7 @@ bool SvxCharScaleWidthItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemberI return true; } - OSL_TRACE( "SvxCharScaleWidthItem::PutValue - Wrong type!" ); + SAL_WARN("editeng", "SvxCharScaleWidthItem::PutValue - Wrong type!" ); return false; } |