diff options
author | Rohan Kumar <rohankanojia420@gmail.com> | 2016-04-12 11:31:44 +0530 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-04-14 09:25:38 +0000 |
commit | 81c9d54db34647fb1db311b228de6749c089dcf8 (patch) | |
tree | 06235038e56d20e27548afdb2bf143aa42e75b26 /chart2/source/controller/accessibility/AccessibleBase.cxx | |
parent | eec11a3064e40c810971350223a6b42cc150bc4c (diff) |
tdf#91794 removed OSL_DEBUG_LEVEL > 1 conditionals
Removed OSL_DEBUG_LEVEL > 1 conditionals to reduce the
problem of multiple debug levels
Change-Id: I453f74198e08308c3891e923ebaee58a276e34ad
Reviewed-on: https://gerrit.libreoffice.org/22616
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'chart2/source/controller/accessibility/AccessibleBase.cxx')
-rw-r--r-- | chart2/source/controller/accessibility/AccessibleBase.cxx | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/chart2/source/controller/accessibility/AccessibleBase.cxx b/chart2/source/controller/accessibility/AccessibleBase.cxx index 587a82773f28..7fba2be47ffb 100644 --- a/chart2/source/controller/accessibility/AccessibleBase.cxx +++ b/chart2/source/controller/accessibility/AccessibleBase.cxx @@ -126,13 +126,7 @@ bool AccessibleBase::NotifyEvent( EventType eEventType, const AccessibleUniqueId case OBJECT_CHANGE: { BroadcastAccEvent( AccessibleEventId::VISIBLE_DATA_CHANGED, aEmpty, aEmpty ); -#if OSL_DEBUG_LEVEL > 1 - OSL_TRACE( - OUStringToOString( - OUString( "Visible data event sent by: " ) + - getAccessibleName(), - RTL_TEXTENCODING_ASCII_US ).getStr() ); -#endif + SAL_INFO("chart2.accessibility", "Visible data event sent by: " << getAccessibleName()); } break; @@ -144,13 +138,8 @@ bool AccessibleBase::NotifyEvent( EventType eEventType, const AccessibleUniqueId AddState( AccessibleStateType::FOCUSED ); aSelected <<= AccessibleStateType::FOCUSED; BroadcastAccEvent( AccessibleEventId::STATE_CHANGED, aSelected, aEmpty, true ); -#if OSL_DEBUG_LEVEL > 1 - OSL_TRACE( - OUStringToOString( - OUString( "Selection acquired by: " ) + - getAccessibleName(), - RTL_TEXTENCODING_ASCII_US ).getStr() ); -#endif + + SAL_INFO("chart2.accessibility", "Selection acquired by: " << getAccessibleName()); } break; @@ -162,13 +151,7 @@ bool AccessibleBase::NotifyEvent( EventType eEventType, const AccessibleUniqueId AddState( AccessibleStateType::FOCUSED ); aSelected <<= AccessibleStateType::FOCUSED; BroadcastAccEvent( AccessibleEventId::STATE_CHANGED, aEmpty, aSelected, true ); -#if OSL_DEBUG_LEVEL > 1 - OSL_TRACE( - OUStringToOString( - OUString( "Selection lost by: " ) + - getAccessibleName(), - RTL_TEXTENCODING_ASCII_US ).getStr() ); -#endif + SAL_INFO("chart2.accessibility", "Selection lost by: " << getAccessibleName()); } break; |