Kaydet (Commit) bbabdfd8 authored tarafından Caolán McNamara's avatar Caolán McNamara

WaE: for higher debugging levels

Change-Id: Ibcf081c0c64381e8c188764f036687a8bfc0ea0e
üst f86ec4cd
......@@ -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 )
......
......@@ -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]);
......
......@@ -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
......
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment