[Libreoffice-commits] .: sdext/source vcl/generic

Thomas Arnhold tarnhold at kemper.freedesktop.org
Sat Jun 9 03:48:27 PDT 2012


 sdext/source/presenter/PresenterAccessibility.cxx |    2 +-
 vcl/generic/glyphs/gcach_layout.cxx               |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit cfe98a1305202419f224a31e54cd37e64401fa4f
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Sat Jun 9 12:46:12 2012 +0200

    fdo#46390 Move VERBOSE to OSL_DEBUG_LEVEL leftovers
    
    Change-Id: Iebc7d58ad50777476d1ae69958ad90a8b86ed5d8

diff --git a/sdext/source/presenter/PresenterAccessibility.cxx b/sdext/source/presenter/PresenterAccessibility.cxx
index b48dbe7..32c46a6 100644
--- a/sdext/source/presenter/PresenterAccessibility.cxx
+++ b/sdext/source/presenter/PresenterAccessibility.cxx
@@ -1617,7 +1617,7 @@ Sequence<css::beans::PropertyValue> SAL_CALL
 {
     ThrowIfDisposed();
 
-#ifdef VERBOSE
+#if OSL_DEBUG_LEVEL > 1
     OSL_TRACE("PresenterAccessible::AccessibleParagraph::getCharacterAttributes at %x,%d returns empty set\r",
         this,nIndex);
     for (sal_Int32 nAttributeIndex(0),nAttributeCount(rRequestedAttributes.getLength());
diff --git a/vcl/generic/glyphs/gcach_layout.cxx b/vcl/generic/glyphs/gcach_layout.cxx
index ef03aa3..40c7a33 100644
--- a/vcl/generic/glyphs/gcach_layout.cxx
+++ b/vcl/generic/glyphs/gcach_layout.cxx
@@ -231,7 +231,7 @@ const void* IcuFontFromServerFont::getFontTable( LETag nICUTableTag ) const
 
     sal_uLong nLength;
     const unsigned char* pBuffer = mrServerFont.GetTable( pTagName, &nLength );
-#ifdef VERBOSE_DEBUG
+#if OSL_DEBUG_LEVEL > 1
     fprintf(stderr,"IcuGetTable(\"%s\") => %p\n", pTagName, pBuffer);
     int mnHeight = mrServerFont.GetFontSelData().mnHeight;
     const char* pName = mrServerFont.GetFontFileName()->getStr();


More information about the Libreoffice-commits mailing list