[Libreoffice-commits] core.git: sdext/source

Douglas Mencken dougmencken at gmail.com
Thu Mar 17 07:41:08 UTC 2016


 sdext/source/presenter/PresenterAccessibility.cxx |   12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

New commits:
commit be2c79c0fab348ade79f20f7a3727be818997d7f
Author: Douglas Mencken <dougmencken at gmail.com>
Date:   Wed Mar 16 14:51:57 2016 -0400

    sdext.presenter: change OSL_TRACE -> SAL_INFO
    
    Change-Id: I34724f28b96b00b8afe2b618d8d47561082987ca
    Reviewed-on: https://gerrit.libreoffice.org/23311
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: jan iversen <jani at documentfoundation.org>

diff --git a/sdext/source/presenter/PresenterAccessibility.cxx b/sdext/source/presenter/PresenterAccessibility.cxx
index 1fd9a77..0db8508 100644
--- a/sdext/source/presenter/PresenterAccessibility.cxx
+++ b/sdext/source/presenter/PresenterAccessibility.cxx
@@ -1569,15 +1569,13 @@ Sequence<css::beans::PropertyValue> SAL_CALL
     ThrowIfDisposed();
 
 #if OSL_DEBUG_LEVEL > 0
-    OSL_TRACE("PresenterAccessible::AccessibleParagraph::getCharacterAttributes at %p,%d returns empty set",
-        this,nIndex);
-    for (sal_Int32 nAttributeIndex(0),nAttributeCount(rRequestedAttributes.getLength());
-         nAttributeIndex<nAttributeCount;
+    SAL_INFO( "sdext.presenter", OSL_THIS_FUNC << " at " << this << ", " << nIndex << " returns empty set" );
+    for (sal_Int32 nAttributeIndex(0), nAttributeCount(rRequestedAttributes.getLength());
+         nAttributeIndex < nAttributeCount;
          ++nAttributeIndex)
     {
-        OSL_TRACE("    requested attribute %d is %s",
-            nAttributeIndex,
-            OUStringToOString(rRequestedAttributes[nAttributeIndex], RTL_TEXTENCODING_UTF8).getStr());
+        SAL_INFO( "sdext.presenter",
+                  "    requested attribute " << nAttributeIndex << " is " << rRequestedAttributes[nAttributeIndex] );
     }
 #endif
 


More information about the Libreoffice-commits mailing list