diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-06-19 17:51:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-06-19 20:09:20 +0100 |
commit | bbabdfd84135bf2b8db09a4c1fb1d6f390ea5dba (patch) | |
tree | 21c088f1e35db357eafb39b355be984afe515ec4 /vcl | |
parent | f86ec4cdbd9a7b8851748a4647969069fb75660b (diff) |
WaE: for higher debugging levels
Change-Id: Ibcf081c0c64381e8c188764f036687a8bfc0ea0e
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/textlayout.cxx | 2 | ||||
-rw-r--r-- | vcl/source/glyphs/graphite_layout.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/winproc.cxx | 11 | ||||
-rw-r--r-- | vcl/win/source/window/salframe.cxx | 4 |
4 files changed, 2 insertions, 17 deletions
diff --git a/vcl/source/gdi/textlayout.cxx b/vcl/source/gdi/textlayout.cxx index ebac54121f83..7be750d52ee3 100644 --- a/vcl/source/gdi/textlayout.cxx +++ b/vcl/source/gdi/textlayout.cxx @@ -188,7 +188,7 @@ namespace vcl aTrace.append( " ): " ); aTrace.append( nTextWidth ); aTrace.append( " = ( " ); - for ( size_t i=0; i<_nLength; ) + for ( sal_Int32 i=0; i<_nLength; ) { aTrace.append( _pDXAry[i] ); if ( ++i < _nLength ) diff --git a/vcl/source/glyphs/graphite_layout.cxx b/vcl/source/glyphs/graphite_layout.cxx index 034842afdd21..afd8411777a5 100644 --- a/vcl/source/glyphs/graphite_layout.cxx +++ b/vcl/source/glyphs/graphite_layout.cxx @@ -603,7 +603,7 @@ gr_segment * GraphiteLayout::CreateSegment(ImplLayoutArgs& rArgs) if (pSegment != NULL) { #ifdef GRLAYOUT_DEBUG - fprintf(grLog(),"Gr::LayoutText %d-%d, context %d, len %d, numchars %" SAL_PRI_SIZET "u, rtl %d scaling %f:", rArgs.mnMinCharPos, + fprintf(grLog(),"Gr::LayoutText %d-%d, context %d, len %d, numchars %d, rtl %d scaling %f:", rArgs.mnMinCharPos, rArgs.mnEndCharPos, limit, rArgs.mnLength, numchars, bRtl, mfScaling); for (int i = mnSegCharOffset; i < limit; ++i) fprintf(grLog(), " %04X", rArgs.mpStr[i]); diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx index 73e5a7a6e800..8485971971f0 100644 --- a/vcl/source/window/winproc.cxx +++ b/vcl/source/window/winproc.cxx @@ -51,17 +51,6 @@ #include <com/sun/star/datatransfer/dnd/XDragSource.hpp> #include <com/sun/star/awt/MouseEvent.hpp> -#if OSL_DEBUG_LEVEL > 1 -char dbgbuffer[1024]; -#ifndef WNT -#include <stdio.h> -#define MyOutputDebugString(s) (fprintf(stderr, s )) -#else -extern void MyOutputDebugString( char *s); -#endif -#endif - - // ======================================================================= #define IMPL_MIN_NEEDSYSWIN 49 diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx index 05f1f35415fb..2571b99e2fa7 100644 --- a/vcl/win/source/window/salframe.cxx +++ b/vcl/win/source/window/salframe.cxx @@ -106,10 +106,6 @@ using namespace ::com::sun::star::beans; # define WM_MOUSEHWHEEL 0x020E #endif -#if OSL_DEBUG_LEVEL > 1 -void MyOutputDebugString( char *s) { OutputDebugString( s ); } -#endif - // ======================================================================= const unsigned int WM_USER_SYSTEM_WINDOW_ACTIVATED = RegisterWindowMessageA("SYSTEM_WINDOW_ACTIVATED"); |