[Libreoffice-commits] core.git: 6 commits - android/Bootstrap android/experimental desktop/source sal/android vcl/source

Tor Lillqvist tml at iki.fi
Tue Feb 26 13:49:36 PST 2013


 android/Bootstrap/src/org/libreoffice/android/Bootstrap.java                               |    3 
 android/experimental/desktop/src/org/libreoffice/android/experimental/desktop/Desktop.java |  245 +++-------
 desktop/source/app/officeipcthread.cxx                                                     |   11 
 sal/android/lo-bootstrap.c                                                                 |   14 
 vcl/source/gdi/outdev.cxx                                                                  |   27 -
 vcl/source/gdi/outdev2.cxx                                                                 |   24 
 vcl/source/gdi/outdev3.cxx                                                                 |   44 -
 vcl/source/gdi/outdev4.cxx                                                                 |    3 
 vcl/source/gdi/outdev5.cxx                                                                 |    5 
 vcl/source/gdi/outdev6.cxx                                                                 |    6 
 vcl/source/window/wrkwin.cxx                                                               |   10 
 11 files changed, 85 insertions(+), 307 deletions(-)

New commits:
commit 0774c9f3038047dc2b196bbd131e1039936246bb
Author: Tor Lillqvist <tml at iki.fi>
Date:   Tue Feb 26 22:36:05 2013 +0200

    Bypass the crack pipe on Android and iOS
    
    Change-Id: I679794e72381226ccc3b2f743ab9e31a9fdaa3a6

diff --git a/desktop/source/app/officeipcthread.cxx b/desktop/source/app/officeipcthread.cxx
index 6d08226..f4428e5 100644
--- a/desktop/source/app/officeipcthread.cxx
+++ b/desktop/source/app/officeipcthread.cxx
@@ -442,6 +442,7 @@ void OfficeIPCThread::RequestsCompleted( int nCount )
 
 OfficeIPCThread::Status OfficeIPCThread::EnableOfficeIPCThread()
 {
+#if !defined(ANDROID) && !defined(IOS)
     ::osl::MutexGuard   aGuard( GetMutex() );
 
     if( pGlobalOfficeIPCThread.is() )
@@ -595,12 +596,15 @@ OfficeIPCThread::Status OfficeIPCThread::EnableOfficeIPCThread()
 
         return IPC_STATUS_2ND_OFFICE;
     }
-
+#else
+    pGlobalOfficeIPCThread = rtl::Reference< OfficeIPCThread >(new OfficeIPCThread);
+#endif
     return IPC_STATUS_OK;
 }
 
 void OfficeIPCThread::DisableOfficeIPCThread(bool join)
 {
+#if !defined(ANDROID) && !defined(IOS)
     osl::ClearableMutexGuard aMutex( GetMutex() );
 
     if( pGlobalOfficeIPCThread.is() )
@@ -623,6 +627,9 @@ void OfficeIPCThread::DisableOfficeIPCThread(bool join)
             pOfficeIPCThread->join();
         }
     }
+#else
+    (void) join;
+#endif
 }
 
 OfficeIPCThread::OfficeIPCThread() :
@@ -657,6 +664,7 @@ void OfficeIPCThread::SetReady(
 
 void OfficeIPCThread::execute()
 {
+#if !defined(ANDROID) && !defined(IOS)
     do
     {
         osl::StreamPipe aStreamPipe;
@@ -934,6 +942,7 @@ void OfficeIPCThread::execute()
             salhelper::Thread::wait( tval );
         }
     } while( schedule() );
+#endif
 }
 
 static void AddToDispatchList(
commit d2a640d69e73f30fb55e119168e47d66dd0a1a41
Author: Tor Lillqvist <tml at iki.fi>
Date:   Tue Feb 26 22:33:11 2013 +0200

    Make it easier to debug the app by sleeping for a while if a property is set
    
    If the property log.tag.LODesktopSleepOnCreate is set to "VERBOSE" then sleep
    after liblo-native-code.so has been loaded to give the developer a chance to
    start ndk-gdb and set breakpoints. Yeah, a bit silly to overload a logging
    property like this, but it was the first idea I came up with.
    
    Change-Id: I665f87778d083d2d167a5d16f24e2d50b1fba042

diff --git a/android/experimental/desktop/src/org/libreoffice/android/experimental/desktop/Desktop.java b/android/experimental/desktop/src/org/libreoffice/android/experimental/desktop/Desktop.java
index c47aaea..a3eb4d6 100644
--- a/android/experimental/desktop/src/org/libreoffice/android/experimental/desktop/Desktop.java
+++ b/android/experimental/desktop/src/org/libreoffice/android/experimental/desktop/Desktop.java
@@ -80,9 +80,6 @@ public class Desktop
             // Avoid all the old style OSL_TRACE calls especially in vcl
             Bootstrap.putenv("SAL_LOG=+WARN+INFO");
 
-            // Log.i(TAG, "Sleeping NOW");
-            // Thread.sleep(20000);
-
             bootstrapContext.componentContext = com.sun.star.comp.helper.Bootstrap.defaultBootstrap_InitialComponentContext();
 
             Log.i(TAG, "context is" + (bootstrapContext.componentContext!=null ? " not" : "") + " null");
@@ -120,6 +117,21 @@ public class Desktop
 
             Bootstrap.setCommandArgs(argv);
 
+            // To enable the sleep below, do: "adb shell setprop
+            // log.tag.LODesktopSleepOnCreate VERBOSE". Yeah, has
+            // nothing to do with logging as such.
+
+            // This should be after at least one call to something in
+            // the Bootstrap class as it is the static initialiser
+            // that loads the lo-native-code library, and presumably
+            // in ndk-gdb you want to set a breapoint in some native
+            // code...
+
+            if (Log.isLoggable("LODesktopSleepOnCreate", Log.VERBOSE)) {
+                Log.i(TAG, "Sleeping, start ndk-gdb NOW if you intend to debug");
+                Thread.sleep(20000);
+            }
+
             if (bootstrapContext == null)
                 initBootstrapContext();
 
commit e4bad391fc76126d7e1da7b79a86020748700921
Author: Tor Lillqvist <tml at iki.fi>
Date:   Tue Feb 26 20:47:38 2013 +0200

    createWindowFoo is unused
    
    Change-Id: Ia61efc5d5ee65178fd7d868cb57eed9ba3c0519e

diff --git a/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java b/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java
index d0f844f..b24a2e5 100644
--- a/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java
+++ b/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java
@@ -77,9 +77,6 @@ public final class Bootstrap
     // where the lo-bootstrap library is.
     public static native void setCommandArgs(String[] argv);
 
-    // A wrapper for createWindowFoo() in the vcl library
-    public static native int createWindowFoo();
-
     // A method that starts a thread to redirect stdout and stderr writes to
     // the Android logging mechanism, or stops the redirection.
     public static native boolean redirect_stdio(boolean state);
diff --git a/sal/android/lo-bootstrap.c b/sal/android/lo-bootstrap.c
index 54e10c1..99da6ab 100644
--- a/sal/android/lo-bootstrap.c
+++ b/sal/android/lo-bootstrap.c
@@ -927,20 +927,6 @@ Java_org_libreoffice_android_Bootstrap_setCommandArgs(JNIEnv* env,
     osl_setCommandArgs(c_argc, c_argv);
 }
 
-extern int createWindowFoo(void);
-
-__attribute__ ((visibility("default")))
-jint
-Java_org_libreoffice_android_Bootstrap_createWindowFoo(JNIEnv* env,
-                                                       jobject clazz)
-{
-    (void) env;
-    (void) clazz;
-
-    return createWindowFoo();
-}
-
-
 /* Code for reading lines from the pipe based on the (Apache-licensed) Android
  * logwrapper.c
  */
diff --git a/vcl/source/window/wrkwin.cxx b/vcl/source/window/wrkwin.cxx
index cc5bade..166bb09 100644
--- a/vcl/source/window/wrkwin.cxx
+++ b/vcl/source/window/wrkwin.cxx
@@ -98,16 +98,6 @@ WorkWindow::WorkWindow( WindowType nType ) :
     ImplInitWorkWindowData();
 }
 
-#ifdef ANDROID
-
-extern "C" void *
-createWindowFoo(void)
-{
-    return (void*) new WorkWindow((Window *)NULL);
-}
-
-#endif
-
 // -----------------------------------------------------------------------
 
 WorkWindow::WorkWindow( Window* pParent, WinBits nStyle ) :
commit dacaa0af5069abc474718eb5f1769898f79be782
Author: Tor Lillqvist <tml at iki.fi>
Date:   Tue Feb 26 20:24:22 2013 +0200

    Remove copy-pasted imports and comments
    
    Change-Id: I47e61b4ae7d95797f4d17031e9613bb549eb4813

diff --git a/android/experimental/desktop/src/org/libreoffice/android/experimental/desktop/Desktop.java b/android/experimental/desktop/src/org/libreoffice/android/experimental/desktop/Desktop.java
index cb9ce7c..c47aaea 100644
--- a/android/experimental/desktop/src/org/libreoffice/android/experimental/desktop/Desktop.java
+++ b/android/experimental/desktop/src/org/libreoffice/android/experimental/desktop/Desktop.java
@@ -9,122 +9,28 @@
 // This is just a testbed for ideas and implementations. (Still, it might turn
 // out to be somewhat useful as such while waiting for "real" apps.)
 
-// ================ NOTE ================
-// Note that these comments are copy-pasted from another test app,
-// DocumentLoader, and might or might not be much relevant for this
-// source file and how it will evolve.
-
-// Important points:
-
-// Everything that might take a long time should be done asynchronously:
-//  - loading the document (loadComponentFromURL())
-//  - counting number of pages (getRendererCount())
-//  - rendering a page (render())
-
-// Unclear whether pages can be rendered in parallel. Probably best to
-// serialize all the above in the same worker thread. We use
-// AsyncTask.SERIAL_EXECUTOR below.
-
-// While a page is loading ideally should display some animated spinner (but
-// for now just a static "please wait" text).
-
-// ===
-
-// How should we handle re-rendering at higher resolution when zooming in, and
-// then panning around?
-
-// Hopefully when LO is asked to render just a part of a page (i.e. the
-// MapMode of the device rendered to causes significant parts of the page to
-// be outside the device) the code is clever enough to quickly skip stuff that
-// will be clipped. But I don't hold my breath.
-
-// How could we do it?
-
-// 1/ Re-render just the zoomed-in area. Probably not a good idea, as probably
-// the user will almost immediately also pan a bit or zoom out a bit, which
-// would cause a re-render.
-
-// 2/ Some kind of tiled approach. Initially just one tile for the whole
-// page. When zooming in, at some point (2x?) split the currently visible
-// tiles into four sub-tiles, each initially displaying the same resolution as
-// the parent tile. Start asynchronous rendering of visible sub-tiles at
-// double resolution. Keep the "parent" rendered bitmap but don't keep bitmaps
-// that go out of view. (Except perhaps for some caching.) When zooming out,
-// at some point (0.5x?) merge four sub-tiles back into one. Hmm. Is this the
-// right approach?
-
-// In any case, also this rendering at higher resolution should be done
-// asynchronously, of course. If the user zooms in and pans around, the
-// existing bitmap will be shown scaled (and ugly) until required rendering
-// has finished and then the affected tiles are replaced with
-// higher-resolution ones.
-
 package org.libreoffice.experimental.desktop;
 
 import android.app.Activity;
-import android.app.AlertDialog;
 import android.content.Context;
-import android.content.DialogInterface;
 import android.graphics.Bitmap;
 import android.graphics.Canvas;
 import android.graphics.Color;
-import android.graphics.ColorFilter;
-import android.graphics.Matrix;
-import android.graphics.PixelFormat;
 import android.graphics.Paint;
 import android.graphics.Point;
 import android.graphics.Rect;
-import android.graphics.drawable.BitmapDrawable;
-import android.graphics.drawable.ColorDrawable;
-import android.graphics.drawable.Drawable;
-import android.os.AsyncTask;
 import android.os.Bundle;
 import android.text.InputType;
 import android.util.Log;
-import android.view.GestureDetector;
-import android.view.Gravity;
-import android.view.Menu;
-import android.view.MenuInflater;
-import android.view.MenuItem;
 import android.view.MotionEvent;
 import android.view.View;
-import android.view.ViewGroup;
-import android.view.animation.Animation;
-import android.view.animation.AnimationSet;
-import android.view.animation.TranslateAnimation;
 import android.view.inputmethod.BaseInputConnection;
 import android.view.inputmethod.EditorInfo;
 import android.view.inputmethod.InputConnection;
 import android.view.inputmethod.InputMethodManager;
-import android.widget.ImageView;
-import android.widget.NumberPicker;
-import android.widget.TextView;
-import android.widget.ViewFlipper;
-import android.widget.ViewSwitcher;
-
-import junit.framework.Assert;
-
-import com.sun.star.awt.Size;
-import com.sun.star.awt.XBitmap;
-import com.sun.star.awt.XControl;
-import com.sun.star.awt.XDevice;
-import com.sun.star.awt.XToolkitExperimental;
-import com.sun.star.beans.PropertyValue;
-import com.sun.star.frame.XComponentLoader;
-import com.sun.star.frame.XController;
-import com.sun.star.frame.XFrame;
-import com.sun.star.frame.XModel;
-import com.sun.star.lang.XEventListener;
+
 import com.sun.star.lang.XMultiComponentFactory;
-import com.sun.star.lang.XTypeProvider;
-import com.sun.star.uno.Type;
-import com.sun.star.uno.UnoRuntime;
 import com.sun.star.uno.XComponentContext;
-import com.sun.star.view.XRenderable;
-
-import java.nio.ByteBuffer;
-import java.nio.ByteOrder;
-import java.util.ArrayList;
 
 import org.libreoffice.android.Bootstrap;
 
@@ -149,78 +55,11 @@ public class Desktop
         public long timingOverhead;
         public XComponentContext componentContext;
         public XMultiComponentFactory mcf;
-        public XComponentLoader componentLoader;
-        public XToolkitExperimental toolkit;
-        public XDevice dummySmallDevice;
     }
 
     BootstrapContext bootstrapContext;
     Bundle extras;
 
-    class MyXController
-        implements XController
-    {
-        XFrame frame;
-        XModel model;
-
-        public void attachFrame(XFrame frame)
-        {
-            Log.i(TAG, "attachFrame");
-            this.frame = frame;
-        }
-
-        public boolean attachModel(XModel model)
-        {
-            Log.i(TAG, "attachModel");
-            this.model = model;
-            return true;
-        }
-
-        public boolean suspend(boolean doSuspend)
-        {
-            Log.i(TAG, "suspend");
-            return false;
-        }
-
-        public Object getViewData()
-        {
-            Log.i(TAG, "getViewData");
-            return null;
-        }
-
-        public void restoreViewData(Object data)
-        {
-            Log.i(TAG, "restoreViewData");
-        }
-
-        public XModel getModel()
-        {
-            Log.i(TAG, "getModel");
-            return model;
-        }
-
-        public XFrame getFrame()
-        {
-            Log.i(TAG, "getFrame");
-            return frame;
-        }
-
-        public void dispose()
-        {
-            Log.i(TAG, "dispose");
-        }
-
-        public void addEventListener(XEventListener listener)
-        {
-            Log.i(TAG, "addEventListener");
-        }
-
-        public void removeEventListener(XEventListener listener)
-        {
-            Log.i(TAG, "removeEventListener");
-        }
-    }
-
     // FIXME: we should prolly manage a bitmap buffer here and give it to
     // VCL to render into ... and pull the WM/stacking pieces up into the Java ...
     // [ perhaps ;-]
commit 75a2bdea021649a98b3dd009a7bc316bcf173d73
Author: Tor Lillqvist <tml at iki.fi>
Date:   Tue Feb 26 20:17:17 2013 +0200

    Experiment with enabling text input (not propagated to LO yet...)
    
    Change-Id: Ie9e393dcf23b1b6c219c9bcdf9a3014d7c1cc950

diff --git a/android/experimental/desktop/src/org/libreoffice/android/experimental/desktop/Desktop.java b/android/experimental/desktop/src/org/libreoffice/android/experimental/desktop/Desktop.java
index 58fe555..cb9ce7c 100644
--- a/android/experimental/desktop/src/org/libreoffice/android/experimental/desktop/Desktop.java
+++ b/android/experimental/desktop/src/org/libreoffice/android/experimental/desktop/Desktop.java
@@ -79,6 +79,7 @@ import android.graphics.drawable.ColorDrawable;
 import android.graphics.drawable.Drawable;
 import android.os.AsyncTask;
 import android.os.Bundle;
+import android.text.InputType;
 import android.util.Log;
 import android.view.GestureDetector;
 import android.view.Gravity;
@@ -86,10 +87,15 @@ import android.view.Menu;
 import android.view.MenuInflater;
 import android.view.MenuItem;
 import android.view.MotionEvent;
+import android.view.View;
 import android.view.ViewGroup;
 import android.view.animation.Animation;
 import android.view.animation.AnimationSet;
 import android.view.animation.TranslateAnimation;
+import android.view.inputmethod.BaseInputConnection;
+import android.view.inputmethod.EditorInfo;
+import android.view.inputmethod.InputConnection;
+import android.view.inputmethod.InputMethodManager;
 import android.widget.ImageView;
 import android.widget.NumberPicker;
 import android.widget.TextView;
@@ -253,12 +259,11 @@ public class Desktop
         }
     }
 
-    @Override
-    public void onCreate(Bundle savedInstanceState)
+    @Override public void onCreate(Bundle savedInstanceState)
     {
         super.onCreate(savedInstanceState);
 
-        Log.i(TAG, "onCreate - added here\n");
+        Log.i(TAG, "onCreate");
 
         try {
             String input;
@@ -279,7 +284,7 @@ public class Desktop
             if (bootstrapContext == null)
                 initBootstrapContext();
 
-            Log.i(TAG, "onCreate - set content view\n");
+            Log.i(TAG, "onCreate - set content view");
             setContentView(new BitmapView());
 
             spawnMain();
@@ -290,13 +295,16 @@ public class Desktop
         }
     }
 
-    class BitmapView extends android.view.View
+    class BitmapView
+        extends View
     {
         Bitmap mBitmap;
+        boolean renderedOnce;
 
         public BitmapView()
         {
             super(Desktop.this);
+            setFocusableInTouchMode(true);
         }
 
         @Override protected void onDraw(Canvas canvas)
@@ -310,10 +318,56 @@ public class Desktop
             }
             renderVCL(mBitmap);
             canvas.drawBitmap(mBitmap, 0, 0, null);
+            renderedOnce = true;
 
             // re-call ourselves a bit later ...
             invalidate();
         }
+
+        @Override public boolean onTouchEvent(MotionEvent event)
+        {
+            if (!renderedOnce)
+                return super.onTouchEvent(event);
+
+            super.onTouchEvent(event);
+            Log.d(TAG, "onTOUCH");
+            if (event.getAction() == MotionEvent.ACTION_UP) {
+                // show the keyboard so we can enter text
+                InputMethodManager imm = (InputMethodManager) getContext()
+                    .getSystemService(Context.INPUT_METHOD_SERVICE);
+                imm.showSoftInput(this, InputMethodManager.SHOW_FORCED);
+            }
+            return true;
+        }
+
+        @Override public InputConnection onCreateInputConnection(EditorInfo outAttrs) {
+            Log.d(TAG, "onCreateInputConnection");
+
+            BaseInputConnection fic = new LOInputConnection(this, true);
+            outAttrs.actionLabel = null;
+            outAttrs.inputType = InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS;
+            outAttrs.imeOptions = EditorInfo.IME_ACTION_NONE;
+
+            return fic;
+        }
+
+        @Override public boolean onCheckIsTextEditor() {
+            Log.d(TAG, "onCheckIsTextEditor");
+            return renderedOnce;
+        }
+    }
+
+    class LOInputConnection
+        extends BaseInputConnection
+    {
+        public LOInputConnection(View targetView, boolean fullEditor) {
+            super(targetView, fullEditor);
+        }
+
+        @Override public boolean commitText(CharSequence text, int newCursorPosition) {
+            Log.i(TAG, "commitText(" + text + ", " + newCursorPosition + ")");
+            return true;
+        }
     }
 }
 
commit 4a91280b15d7357560879ebc383c6f755e374d60
Author: Tor Lillqvist <tml at iki.fi>
Date:   Tue Feb 26 19:48:18 2013 +0200

    Cut down on the excessive and rather unhelpful OSL_TRACEs in vcl/source/gdi
    
    Change-Id: I959fc2fc5359fbb66c2ce3291a69978e47b83ad2

diff --git a/vcl/source/gdi/outdev.cxx b/vcl/source/gdi/outdev.cxx
index 5d91ba3..231c238 100644
--- a/vcl/source/gdi/outdev.cxx
+++ b/vcl/source/gdi/outdev.cxx
@@ -1055,7 +1055,6 @@ void OutputDevice::ImplSetClipRegion( const Region* pRegion )
 
 void OutputDevice::SetClipRegion()
 {
-    OSL_TRACE( "OutputDevice::SetClipRegion()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mpMetaFile )
@@ -1071,7 +1070,6 @@ void OutputDevice::SetClipRegion()
 
 void OutputDevice::SetClipRegion( const Region& rRegion )
 {
-    OSL_TRACE( "OutputDevice::SetClipRegion( rRegion )" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
     DBG_CHKOBJ( &rRegion, Region, ImplDbgTestRegion );
 
@@ -1126,7 +1124,6 @@ Region OutputDevice::GetActiveClipRegion() const
 
 void OutputDevice::MoveClipRegion( long nHorzMove, long nVertMove )
 {
-    OSL_TRACE( "OutputDevice::MoveClipRegion()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mbClipRegion )
@@ -1147,7 +1144,6 @@ void OutputDevice::MoveClipRegion( long nHorzMove, long nVertMove )
 
 void OutputDevice::IntersectClipRegion( const Rectangle& rRect )
 {
-    OSL_TRACE( "OutputDevice::IntersectClipRegion( rRect )" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mpMetaFile )
@@ -1166,7 +1162,6 @@ void OutputDevice::IntersectClipRegion( const Rectangle& rRect )
 
 void OutputDevice::IntersectClipRegion( const Region& rRegion )
 {
-    OSL_TRACE( "OutputDevice::IntersectClipRegion( rRegion )" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
     DBG_CHKOBJ( &rRegion, Region, ImplDbgTestRegion );
 
@@ -1191,7 +1186,6 @@ void OutputDevice::IntersectClipRegion( const Region& rRegion )
 
 void OutputDevice::SetDrawMode( sal_uLong nDrawMode )
 {
-    OSL_TRACE( "OutputDevice::SetDrawMode( %lx )", nDrawMode );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     mnDrawMode = nDrawMode;
@@ -1204,7 +1198,6 @@ void OutputDevice::SetDrawMode( sal_uLong nDrawMode )
 
 void OutputDevice::SetRasterOp( RasterOp eRasterOp )
 {
-    OSL_TRACE( "OutputDevice::SetRasterOp( %d )", (int)eRasterOp );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mpMetaFile )
@@ -1227,7 +1220,6 @@ void OutputDevice::SetRasterOp( RasterOp eRasterOp )
 
 void OutputDevice::SetLineColor()
 {
-    OSL_TRACE( "OutputDevice::SetLineColor()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mpMetaFile )
@@ -1289,7 +1281,6 @@ Color OutputDevice::ImplDrawModeToColor( const Color& rColor ) const
 
 void OutputDevice::SetLineColor( const Color& rColor )
 {
-    OSL_TRACE( "OutputDevice::SetLineColor( %lx )", rColor.GetColor() );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     Color aColor = ImplDrawModeToColor( rColor );
@@ -1324,7 +1315,6 @@ void OutputDevice::SetLineColor( const Color& rColor )
 
 void OutputDevice::SetFillColor()
 {
-    OSL_TRACE( "OutputDevice::SetFillColor()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mpMetaFile )
@@ -1345,7 +1335,6 @@ void OutputDevice::SetFillColor()
 
 void OutputDevice::SetFillColor( const Color& rColor )
 {
-    OSL_TRACE( "OutputDevice::SetFillColor( %lx )", rColor.GetColor() );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     Color aColor( rColor );
@@ -1417,7 +1406,6 @@ void OutputDevice::SetFillColor( const Color& rColor )
 
 void OutputDevice::SetBackground()
 {
-    OSL_TRACE( "OutputDevice::SetBackground()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     maBackground = Wallpaper();
@@ -1431,7 +1419,6 @@ void OutputDevice::SetBackground()
 
 void OutputDevice::SetBackground( const Wallpaper& rBackground )
 {
-    OSL_TRACE( "OutputDevice::SetBackground( rBackground )" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     maBackground = rBackground;
@@ -1449,7 +1436,6 @@ void OutputDevice::SetBackground( const Wallpaper& rBackground )
 
 void OutputDevice::SetRefPoint()
 {
-    OSL_TRACE( "OutputDevice::SetRefPoint()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mpMetaFile )
@@ -1466,7 +1452,6 @@ void OutputDevice::SetRefPoint()
 
 void OutputDevice::SetRefPoint( const Point& rRefPoint )
 {
-    OSL_TRACE( "OutputDevice::SetRefPoint( rRefPoint )" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mpMetaFile )
@@ -1483,7 +1468,6 @@ void OutputDevice::SetRefPoint( const Point& rRefPoint )
 
 void OutputDevice::DrawLine( const Point& rStartPt, const Point& rEndPt )
 {
-    OSL_TRACE( "OutputDevice::DrawLine()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mpMetaFile )
@@ -1685,7 +1669,6 @@ void OutputDevice::impPaintLineGeometryWithEvtlExpand(
 void OutputDevice::DrawLine( const Point& rStartPt, const Point& rEndPt,
                              const LineInfo& rLineInfo )
 {
-    OSL_TRACE( "OutputDevice::DrawLine()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( rLineInfo.IsDefault() )
@@ -1739,7 +1722,6 @@ void OutputDevice::DrawLine( const Point& rStartPt, const Point& rEndPt,
 
 void OutputDevice::DrawRect( const Rectangle& rRect )
 {
-    OSL_TRACE( "OutputDevice::DrawRect()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mpMetaFile )
@@ -1780,7 +1762,6 @@ void OutputDevice::DrawRect( const Rectangle& rRect )
 
 void OutputDevice::DrawPolyLine( const Polygon& rPoly )
 {
-    OSL_TRACE( "OutputDevice::DrawPolyLine()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
     DBG_CHKOBJ( &rPoly, Polygon, NULL );
 
@@ -1858,7 +1839,6 @@ void OutputDevice::DrawPolyLine( const Polygon& rPoly )
 
 void OutputDevice::DrawPolyLine( const Polygon& rPoly, const LineInfo& rLineInfo )
 {
-    OSL_TRACE( "OutputDevice::DrawPolyLine()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
     DBG_CHKOBJ( &rPoly, Polygon, NULL );
 
@@ -1950,7 +1930,6 @@ void OutputDevice::ImpDrawPolyLineWithLineInfo(const Polygon& rPoly, const LineI
 
 void OutputDevice::DrawPolygon( const Polygon& rPoly )
 {
-    OSL_TRACE( "OutputDevice::DrawPolygon()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
     DBG_CHKOBJ( &rPoly, Polygon, NULL );
 
@@ -2046,7 +2025,6 @@ void OutputDevice::DrawPolygon( const Polygon& rPoly )
 
 void OutputDevice::DrawPolyPolygon( const PolyPolygon& rPolyPoly )
 {
-    OSL_TRACE( "OutputDevice::DrawPolyPolygon()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
     DBG_CHKOBJ( &rPolyPoly, PolyPolygon, NULL );
 
@@ -2163,10 +2141,8 @@ void OutputDevice::DrawPolygon( const ::basegfx::B2DPolygon& rB2DPolygon)
 
 void OutputDevice::DrawPolyPolygon( const basegfx::B2DPolyPolygon& rB2DPolyPoly )
 {
-    OSL_TRACE( "OutputDevice::DrawPolyPolygon(B2D&)" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
-
     if( mpMetaFile )
         mpMetaFile->AddAction( new MetaPolyPolygonAction( PolyPolygon( rB2DPolyPoly ) ) );
 
@@ -2293,7 +2269,6 @@ void OutputDevice::DrawPolyLine(
     basegfx::B2DLineJoin eLineJoin,
     com::sun::star::drawing::LineCap eLineCap)
 {
-    OSL_TRACE( "OutputDevice::DrawPolyLine(B2D&)" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
     (void)eLineJoin; // ATM used in UNX, but not in WNT, access it for warning-free
     (void)eLineCap;
@@ -2410,7 +2385,6 @@ sal_uInt32 OutputDevice::GetGCStackDepth() const
 
 void OutputDevice::Push( sal_uInt16 nFlags )
 {
-    OSL_TRACE( "OutputDevice::Push()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mpMetaFile )
@@ -2499,7 +2473,6 @@ void OutputDevice::Push( sal_uInt16 nFlags )
 
 void OutputDevice::Pop()
 {
-    OSL_TRACE( "OutputDevice::Pop()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if( mpMetaFile )
diff --git a/vcl/source/gdi/outdev2.cxx b/vcl/source/gdi/outdev2.cxx
index ab8e481..b30db08 100644
--- a/vcl/source/gdi/outdev2.cxx
+++ b/vcl/source/gdi/outdev2.cxx
@@ -244,7 +244,6 @@ void OutputDevice::ImplDrawOutDevDirect( const OutputDevice* pSrcDev, void* pVoi
 void OutputDevice::DrawOutDev( const Point& rDestPt, const Size& rDestSize,
                                const Point& rSrcPt,  const Size& rSrcSize )
 {
-    OSL_TRACE( "OutputDevice::DrawOutDev()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
     DBG_ASSERT( meOutDevType != OUTDEV_PRINTER, "Don't use OutputDevice::DrawOutDev(...) with printer devices!" );
 
@@ -298,7 +297,6 @@ void OutputDevice::DrawOutDev( const Point& rDestPt, const Size& rDestSize,
                                const Point& rSrcPt,  const Size& rSrcSize,
                                const OutputDevice& rOutDev )
 {
-    OSL_TRACE( "OutputDevice::DrawOutDev()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
     DBG_CHKOBJ( &rOutDev, OutputDevice, ImplDbgCheckOutputDevice );
     DBG_ASSERT( meOutDevType != OUTDEV_PRINTER, "Don't use OutputDevice::DrawOutDev(...) with printer devices!" );
@@ -369,7 +367,6 @@ void OutputDevice::CopyArea( const Point& rDestPt,
                              const Point& rSrcPt,  const Size& rSrcSize,
                              sal_uInt16 nFlags )
 {
-    OSL_TRACE( "OutputDevice::CopyArea()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
     DBG_ASSERT( meOutDevType != OUTDEV_PRINTER, "Don't use OutputDevice::CopyArea(...) with printer devices!" );
 
@@ -489,8 +486,6 @@ void OutputDevice::ImplGetFrameDev( const Point& rPt, const Point& rDevPt, const
 
 void OutputDevice::DrawBitmap( const Point& rDestPt, const Bitmap& rBitmap )
 {
-    OSL_TRACE( "OutputDevice::DrawBitmap()" );
-
     if( ImplIsRecordLayout() )
         return;
 
@@ -506,8 +501,6 @@ void OutputDevice::DrawBitmap( const Point& rDestPt, const Bitmap& rBitmap )
 
 void OutputDevice::DrawBitmap( const Point& rDestPt, const Size& rDestSize, const Bitmap& rBitmap )
 {
-    OSL_TRACE( "OutputDevice::DrawBitmap( Size )" );
-
     if( ImplIsRecordLayout() )
         return;
 
@@ -524,8 +517,6 @@ void OutputDevice::DrawBitmap( const Point& rDestPt, const Size& rDestSize,
                                const Point& rSrcPtPixel, const Size& rSrcSizePixel,
                                const Bitmap& rBitmap )
 {
-    OSL_TRACE( "OutputDevice::DrawBitmap( Point, Size )" );
-
     if( ImplIsRecordLayout() )
         return;
 
@@ -648,8 +639,6 @@ void OutputDevice::ImplDrawBitmap( const Point& rDestPt, const Size& rDestSize,
 void OutputDevice::DrawBitmapEx( const Point& rDestPt,
                                  const BitmapEx& rBitmapEx )
 {
-    OSL_TRACE( "OutputDevice::DrawBitmapEx()" );
-
     if( ImplIsRecordLayout() )
         return;
 
@@ -665,8 +654,6 @@ void OutputDevice::DrawBitmapEx( const Point& rDestPt,
 void OutputDevice::DrawBitmapEx( const Point& rDestPt, const Size& rDestSize,
                                  const BitmapEx& rBitmapEx )
 {
-    OSL_TRACE( "OutputDevice::DrawBitmapEx( Size )" );
-
     if( ImplIsRecordLayout() )
         return;
 
@@ -680,8 +667,6 @@ void OutputDevice::DrawBitmapEx( const Point& rDestPt, const Size& rDestSize,
                                  const Point& rSrcPtPixel, const Size& rSrcSizePixel,
                                  const BitmapEx& rBitmapEx )
 {
-    OSL_TRACE( "OutputDevice::DrawBitmapEx( Point, Size )" );
-
     if( ImplIsRecordLayout() )
         return;
 
@@ -911,8 +896,6 @@ void OutputDevice::ImplDrawBitmapEx( const Point& rDestPt, const Size& rDestSize
 void OutputDevice::DrawMask( const Point& rDestPt,
                              const Bitmap& rBitmap, const Color& rMaskColor )
 {
-    OSL_TRACE( "OutputDevice::DrawMask()" );
-
     if( ImplIsRecordLayout() )
         return;
 
@@ -937,8 +920,6 @@ void OutputDevice::DrawMask( const Point& rDestPt,
 void OutputDevice::DrawMask( const Point& rDestPt, const Size& rDestSize,
                              const Bitmap& rBitmap, const Color& rMaskColor )
 {
-    OSL_TRACE( "OutputDevice::DrawMask( Size )" );
-
     if( ImplIsRecordLayout() )
         return;
 
@@ -964,8 +945,6 @@ void OutputDevice::DrawMask( const Point& rDestPt, const Size& rDestSize,
                              const Point& rSrcPtPixel, const Size& rSrcSizePixel,
                              const Bitmap& rBitmap, const Color& rMaskColor )
 {
-    OSL_TRACE( "OutputDevice::DrawMask( Point, Size )" );
-
     if( ImplIsRecordLayout() )
         return;
 
@@ -1329,7 +1308,6 @@ Color OutputDevice::GetPixel( const Point& rPt ) const
 
 void OutputDevice::DrawPixel( const Point& rPt )
 {
-    OSL_TRACE( "OutputDevice::DrawPixel()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mpMetaFile )
@@ -1362,7 +1340,6 @@ void OutputDevice::DrawPixel( const Point& rPt )
 
 void OutputDevice::DrawPixel( const Point& rPt, const Color& rColor )
 {
-    OSL_TRACE( "OutputDevice::DrawPixel()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     Color aColor = ImplDrawModeToColor( rColor );
@@ -1398,7 +1375,6 @@ void OutputDevice::DrawPixel( const Polygon& rPts, const Color* pColors )
         DrawPixel( rPts, GetLineColor() );
     else
     {
-        OSL_TRACE( "OutputDevice::DrawPixel()" );
         DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
         DBG_ASSERT( pColors, "OutputDevice::DrawPixel: No color array specified" );
 
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx
index 44a4e96..1364fcf 100644
--- a/vcl/source/gdi/outdev3.cxx
+++ b/vcl/source/gdi/outdev3.cxx
@@ -469,8 +469,6 @@ static void ImplFontSubstitute( String& rFontName,
 Font OutputDevice::GetDefaultFont( sal_uInt16 nType, LanguageType eLang,
                                    sal_uLong nFlags, const OutputDevice* pOutDev )
 {
-    OSL_TRACE( "OutputDevice::GetDefaultFont()" );
-
     com::sun::star::lang::Locale aLocale;
     if( eLang == LANGUAGE_NONE || eLang == LANGUAGE_SYSTEM || eLang == LANGUAGE_DONTKNOW )
     {
@@ -5117,7 +5115,6 @@ void OutputDevice::SetAntialiasing( sal_uInt16 nMode )
 
 void OutputDevice::SetFont( const Font& rNewFont )
 {
-    OSL_TRACE( "OutputDevice::SetFont()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
     DBG_CHKOBJ( &rNewFont, Font, NULL );
 
@@ -5229,8 +5226,6 @@ void OutputDevice::SetFont( const Font& rNewFont )
 
 void OutputDevice::SetLayoutMode( sal_uLong nTextLayoutMode )
 {
-    OSL_TRACE( "OutputDevice::SetTextLayoutMode()" );
-
     if( mpMetaFile )
         mpMetaFile->AddAction( new MetaLayoutModeAction( nTextLayoutMode ) );
 
@@ -5244,8 +5239,6 @@ void OutputDevice::SetLayoutMode( sal_uLong nTextLayoutMode )
 
 void OutputDevice::SetDigitLanguage( LanguageType eTextLanguage )
 {
-    OSL_TRACE( "OutputDevice::SetTextLanguage()" );
-
     if( mpMetaFile )
         mpMetaFile->AddAction( new MetaTextLanguageAction( eTextLanguage ) );
 
@@ -5259,7 +5252,6 @@ void OutputDevice::SetDigitLanguage( LanguageType eTextLanguage )
 
 void OutputDevice::SetTextColor( const Color& rColor )
 {
-    OSL_TRACE( "OutputDevice::SetTextColor()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     Color aColor( rColor );
@@ -5305,7 +5297,6 @@ void OutputDevice::SetTextColor( const Color& rColor )
 
 void OutputDevice::SetTextFillColor()
 {
-    OSL_TRACE( "OutputDevice::SetTextFillColor()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mpMetaFile )
@@ -5324,7 +5315,6 @@ void OutputDevice::SetTextFillColor()
 
 void OutputDevice::SetTextFillColor( const Color& rColor )
 {
-    OSL_TRACE( "OutputDevice::SetTextFillColor()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     Color aColor( rColor );
@@ -5388,7 +5378,6 @@ Color OutputDevice::GetTextFillColor() const
 
 void OutputDevice::SetTextLineColor()
 {
-    OSL_TRACE( "OutputDevice::SetTextLineColor()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mpMetaFile )
@@ -5404,7 +5393,6 @@ void OutputDevice::SetTextLineColor()
 
 void OutputDevice::SetTextLineColor( const Color& rColor )
 {
-    OSL_TRACE( "OutputDevice::SetTextLineColor()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     Color aColor( rColor );
@@ -5447,7 +5435,6 @@ void OutputDevice::SetTextLineColor( const Color& rColor )
 
 void OutputDevice::SetOverlineColor()
 {
-    OSL_TRACE( "OutputDevice::SetOverlineColor()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mpMetaFile )
@@ -5463,7 +5450,6 @@ void OutputDevice::SetOverlineColor()
 
 void OutputDevice::SetOverlineColor( const Color& rColor )
 {
-    OSL_TRACE( "OutputDevice::SetOverlineColor()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     Color aColor( rColor );
@@ -5507,7 +5493,6 @@ void OutputDevice::SetOverlineColor( const Color& rColor )
 
 void OutputDevice::SetTextAlign( TextAlign eAlign )
 {
-    OSL_TRACE( "OutputDevice::SetTextAlign()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mpMetaFile )
@@ -5531,7 +5516,6 @@ void OutputDevice::DrawTextLine( const Point& rPos, long nWidth,
                                  FontUnderline eOverline,
                                  sal_Bool bUnderlineAbove )
 {
-    OSL_TRACE( "OutputDevice::DrawTextLine()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mpMetaFile )
@@ -5575,7 +5559,6 @@ void OutputDevice::DrawTextLine( const Point& rPos, long nWidth,
 void OutputDevice::DrawWaveLine( const Point& rStartPos, const Point& rEndPos,
                                  sal_uInt16 nStyle )
 {
-    OSL_TRACE( "OutputDevice::DrawWaveLine()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( !IsDeviceOutputNecessary() || ImplIsRecordLayout() )
@@ -5654,7 +5637,6 @@ void OutputDevice::DrawText( const Point& rStartPt, const String& rStr,
         pDisplayText = &mpOutDevData->mpRecordLayout->m_aDisplayText;
     }
 
-    OSL_TRACE( "OutputDevice::DrawText()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
 #if OSL_DEBUG_LEVEL > 2
@@ -5730,7 +5712,6 @@ void OutputDevice::DrawText( const Point& rStartPt, const String& rStr,
 long OutputDevice::GetTextWidth( const String& rStr,
                                  xub_StrLen nIndex, xub_StrLen nLen ) const
 {
-    OSL_TRACE( "OutputDevice::GetTextWidth()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     long nWidth = GetTextArray( rStr, NULL, nIndex, nLen );
@@ -5741,7 +5722,6 @@ long OutputDevice::GetTextWidth( const String& rStr,
 
 long OutputDevice::GetTextHeight() const
 {
-    OSL_TRACE( "OutputDevice::GetTextHeight()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if( mbNewFont )
@@ -5770,7 +5750,6 @@ void OutputDevice::DrawTextArray( const Point& rStartPt, const String& rStr,
                                   const sal_Int32* pDXAry,
                                   xub_StrLen nIndex, xub_StrLen nLen )
 {
-    OSL_TRACE( "OutputDevice::DrawTextArray()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mpMetaFile )
@@ -5801,7 +5780,6 @@ void OutputDevice::DrawTextArray( const Point& rStartPt, const String& rStr,
 long OutputDevice::GetTextArray( const String& rStr, sal_Int32* pDXAry,
                                  xub_StrLen nIndex, xub_StrLen nLen ) const
 {
-    OSL_TRACE( "OutputDevice::GetTextArray()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if( nIndex >= rStr.Len() )
@@ -5850,7 +5828,6 @@ bool OutputDevice::GetCaretPositions( const XubString& rStr, sal_Int32* pCaretXA
     sal_Int32* pDXAry, long nLayoutWidth,
     sal_Bool bCellBreaking ) const
 {
-    OSL_TRACE( "OutputDevice::GetCaretPositions()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if( nIndex >= rStr.Len() )
@@ -5918,7 +5895,6 @@ void OutputDevice::DrawStretchText( const Point& rStartPt, sal_uLong nWidth,
                                     const String& rStr,
                                     xub_StrLen nIndex, xub_StrLen nLen )
 {
-    OSL_TRACE( "OutputDevice::DrawStretchText()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mpMetaFile )
@@ -6365,7 +6341,6 @@ xub_StrLen OutputDevice::GetTextBreak( const String& rStr, long nTextWidth,
                                        xub_StrLen nIndex, xub_StrLen nLen,
                                        long nCharExtra, sal_Bool /*TODO: bCellBreaking*/ ) const
 {
-    OSL_TRACE( "OutputDevice::GetTextBreak()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     SalLayout* pSalLayout = ImplLayout( rStr, nIndex, nLen );
@@ -6401,7 +6376,6 @@ xub_StrLen OutputDevice::GetTextBreak( const String& rStr, long nTextWidth,
                                        xub_StrLen nIndex, xub_StrLen nLen,
                                        long nCharExtra ) const
 {
-    OSL_TRACE( "OutputDevice::GetTextBreak()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     rHyphenatorPos = STRING_LEN;
@@ -6733,7 +6707,6 @@ void OutputDevice::AddTextRectActions( const Rectangle& rRect,
                                        sal_uInt16           nStyle,
                                        GDIMetaFile&     rMtf )
 {
-    OSL_TRACE( "OutputDevice::AddTextRectActions( const Rectangle& )" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( !rOrigStr.Len() || rRect.IsEmpty() )
@@ -6775,7 +6748,6 @@ void OutputDevice::DrawText( const Rectangle& rRect, const String& rOrigStr, sal
         pDisplayText = &mpOutDevData->mpRecordLayout->m_aDisplayText;
     }
 
-    OSL_TRACE( "OutputDevice::DrawText( const Rectangle& )" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     bool bDecomposeTextRectAction = ( _pTextLayout != NULL ) && _pTextLayout->DecomposeTextRectAction();
@@ -6818,7 +6790,6 @@ Rectangle OutputDevice::GetTextRect( const Rectangle& rRect,
                                      TextRectInfo* pInfo,
                                      const ::vcl::ITextLayout* _pTextLayout ) const
 {
-    OSL_TRACE( "OutputDevice::GetTextRect()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     Rectangle           aRect = rRect;
@@ -6961,8 +6932,6 @@ OUString OutputDevice::GetEllipsisString( const String& rOrigStr, long nMaxWidth
 String OutputDevice::ImplGetEllipsisString( const OutputDevice& rTargetDevice, const XubString& rOrigStr, long nMaxWidth,
                                                sal_uInt16 nStyle, const ::vcl::ITextLayout& _rLayout )
 {
-    OSL_TRACE( "OutputDevice::ImplGetEllipsisString()" );
-
     String aStr = rOrigStr;
     xub_StrLen nIndex = _rLayout.GetTextBreak( aStr, nMaxWidth, 0, aStr.Len() );
 
@@ -7094,7 +7063,6 @@ void OutputDevice::DrawCtrlText( const Point& rPos, const XubString& rStr,
                                  xub_StrLen nIndex, xub_StrLen nLen,
                                  sal_uInt16 nStyle, MetricVector* pVector, OUString* pDisplayText )
 {
-    OSL_TRACE( "OutputDevice::DrawCtrlText()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( !IsDeviceOutputNecessary() || (nIndex >= rStr.Len()) )
@@ -7227,7 +7195,6 @@ long OutputDevice::GetCtrlTextWidth( const String& rStr,
                                      xub_StrLen nIndex, xub_StrLen nLen,
                                      sal_uInt16 nStyle ) const
 {
-    OSL_TRACE( "OutputDevice::GetCtrlTextSize()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( nStyle & TEXT_DRAW_MNEMONIC )
@@ -7286,7 +7253,6 @@ String OutputDevice::GetNonMnemonicString( const String& rStr, xub_StrLen& rMnem
 
 int OutputDevice::GetDevFontCount() const
 {
-    OSL_TRACE( "OutputDevice::GetDevFontCount()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if( !mpGetDevFontList )
@@ -7298,7 +7264,6 @@ int OutputDevice::GetDevFontCount() const
 
 FontInfo OutputDevice::GetDevFont( int nDevFontIndex ) const
 {
-    OSL_TRACE( "OutputDevice::GetDevFont()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     FontInfo aFontInfo;
@@ -7330,7 +7295,6 @@ FontInfo OutputDevice::GetDevFont( int nDevFontIndex ) const
 
 sal_Bool OutputDevice::AddTempDevFont( const String& rFileURL, const String& rFontName )
 {
-    OSL_TRACE( "OutputDevice::AddTempDevFont()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     ImplInitFontList();
@@ -7353,7 +7317,6 @@ sal_Bool OutputDevice::AddTempDevFont( const String& rFileURL, const String& rFo
 
 int OutputDevice::GetDevFontSizeCount( const Font& rFont ) const
 {
-    OSL_TRACE( "OutputDevice::GetDevFontSizeCount()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     delete mpGetDevSizeList;
@@ -7367,7 +7330,6 @@ int OutputDevice::GetDevFontSizeCount( const Font& rFont ) const
 
 Size OutputDevice::GetDevFontSize( const Font& rFont, int nSizeIndex ) const
 {
-    OSL_TRACE( "OutputDevice::GetDevFontSize()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     // check range
@@ -7402,7 +7364,6 @@ Size OutputDevice::GetDevFontSize( const Font& rFont, int nSizeIndex ) const
 
 sal_Bool OutputDevice::IsFontAvailable( const String& rFontName ) const
 {
-    OSL_TRACE( "OutputDevice::IsFontAvailable()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     ImplDevFontListData* pFound = mpFontList->FindFontFamily( rFontName );
@@ -7413,7 +7374,6 @@ sal_Bool OutputDevice::IsFontAvailable( const String& rFontName ) const
 
 FontMetric OutputDevice::GetFontMetric() const
 {
-    OSL_TRACE( "OutputDevice::GetFontMetric()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     FontMetric aMetric;
@@ -7521,7 +7481,6 @@ SystemFontData OutputDevice::GetSysFontData(int nFallbacklevel) const
 SystemTextLayoutData OutputDevice::GetSysTextLayoutData(const Point& rStartPt, const XubString& rStr, xub_StrLen nIndex, xub_StrLen nLen,
                                                         const sal_Int32* pDXAry) const
 {
-    OSL_TRACE( "OutputDevice::GetSysTextLayoutData()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     SystemTextLayoutData aSysLayoutData;
@@ -7572,7 +7531,6 @@ SystemTextLayoutData OutputDevice::GetSysTextLayoutData(const Point& rStartPt, c
 
 long OutputDevice::GetMinKashida() const
 {
-    OSL_TRACE( "OutputDevice::GetMinKashida()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
     if( mbNewFont && !ImplNewFont() )
         return 0;
@@ -7611,7 +7569,6 @@ xub_StrLen OutputDevice::ValidateKashidas ( const String& rTxt,
 sal_Bool OutputDevice::GetGlyphBoundRects( const Point& rOrigin, const String& rStr,
     int nIndex, int nLen, int nBase, MetricVector& rVector )
 {
-    OSL_TRACE( "OutputDevice::GetGlyphBoundRect_CTL()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     rVector.clear();
@@ -7637,7 +7594,6 @@ sal_Bool OutputDevice::GetTextBoundRect( Rectangle& rRect,
     const String& rStr, xub_StrLen nBase, xub_StrLen nIndex, xub_StrLen nLen,
     sal_uLong nLayoutWidth, const sal_Int32* pDXAry ) const
 {
-    OSL_TRACE( "OutputDevice::GetTextBoundRect()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     sal_Bool bRet = sal_False;
diff --git a/vcl/source/gdi/outdev4.cxx b/vcl/source/gdi/outdev4.cxx
index 4e895eb..ee5d8da 100644
--- a/vcl/source/gdi/outdev4.cxx
+++ b/vcl/source/gdi/outdev4.cxx
@@ -619,7 +619,6 @@ void OutputDevice::ImplDrawComplexGradient( const Rectangle& rRect,
 void OutputDevice::DrawGradient( const Rectangle& rRect,
                                  const Gradient& rGradient )
 {
-    OSL_TRACE( "OutputDevice::DrawGradient()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
     DBG_CHKOBJ( &rGradient, Gradient, NULL );
 
@@ -750,7 +749,6 @@ void OutputDevice::DrawGradient( const Rectangle& rRect,
 void OutputDevice::DrawGradient( const PolyPolygon& rPolyPoly,
                                  const Gradient& rGradient )
 {
-    OSL_TRACE( "OutputDevice::DrawGradient()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
     DBG_CHKOBJ( &rGradient, Gradient, NULL );
 
@@ -1017,7 +1015,6 @@ void OutputDevice::AddGradientActions( const Rectangle& rRect, const Gradient& r
 
 void OutputDevice::DrawHatch( const PolyPolygon& rPolyPoly, const Hatch& rHatch )
 {
-    OSL_TRACE( "OutputDevice::DrawHatch()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     Hatch aHatch( rHatch );
diff --git a/vcl/source/gdi/outdev5.cxx b/vcl/source/gdi/outdev5.cxx
index a7b2ad2..0b7ae3d 100644
--- a/vcl/source/gdi/outdev5.cxx
+++ b/vcl/source/gdi/outdev5.cxx
@@ -40,7 +40,6 @@ DBG_NAMEEX( OutputDevice )
 void OutputDevice::DrawRect( const Rectangle& rRect,
                              sal_uLong nHorzRound, sal_uLong nVertRound )
 {
-    OSL_TRACE( "OutputDevice::DrawRoundRect()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mpMetaFile )
@@ -99,7 +98,6 @@ void OutputDevice::DrawRect( const Rectangle& rRect,
 
 void OutputDevice::DrawEllipse( const Rectangle& rRect )
 {
-    OSL_TRACE( "OutputDevice::DrawEllipse()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mpMetaFile )
@@ -150,7 +148,6 @@ void OutputDevice::DrawEllipse( const Rectangle& rRect )
 void OutputDevice::DrawArc( const Rectangle& rRect,
                             const Point& rStartPt, const Point& rEndPt )
 {
-    OSL_TRACE( "OutputDevice::DrawArc()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mpMetaFile )
@@ -197,7 +194,6 @@ void OutputDevice::DrawArc( const Rectangle& rRect,
 void OutputDevice::DrawPie( const Rectangle& rRect,
                             const Point& rStartPt, const Point& rEndPt )
 {
-    OSL_TRACE( "OutputDevice::DrawPie()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mpMetaFile )
@@ -251,7 +247,6 @@ void OutputDevice::DrawPie( const Rectangle& rRect,
 void OutputDevice::DrawChord( const Rectangle& rRect,
                               const Point& rStartPt, const Point& rEndPt )
 {
-    OSL_TRACE( "OutputDevice::DrawChord()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     if ( mpMetaFile )
diff --git a/vcl/source/gdi/outdev6.cxx b/vcl/source/gdi/outdev6.cxx
index 782eb93..b79ee99 100644
--- a/vcl/source/gdi/outdev6.cxx
+++ b/vcl/source/gdi/outdev6.cxx
@@ -50,7 +50,6 @@ DBG_NAMEEX( OutputDevice )
 
 void OutputDevice::DrawGrid( const Rectangle& rRect, const Size& rDist, sal_uLong nFlags )
 {
-    OSL_TRACE( "OutputDevice::DrawGrid()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     Rectangle aDstRect( PixelToLogic( Point() ), GetOutputSize() );
@@ -149,7 +148,6 @@ void OutputDevice::DrawGrid( const Rectangle& rRect, const Size& rDist, sal_uLon
 
 void OutputDevice::DrawTransparent( const basegfx::B2DPolyPolygon& rB2DPolyPoly, double fTransparency)
 {
-    OSL_TRACE( "OutputDevice::DrawTransparent(B2D&,transparency)" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     // AW: Do NOT paint empty PolyPolygons
@@ -214,7 +212,6 @@ void OutputDevice::DrawTransparent( const basegfx::B2DPolyPolygon& rB2DPolyPoly,
 void OutputDevice::DrawTransparent( const PolyPolygon& rPolyPoly,
                                     sal_uInt16 nTransparencePercent )
 {
-    OSL_TRACE( "OutputDevice::DrawTransparent()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     // short circuit for drawing an opaque polygon
@@ -605,7 +602,6 @@ void OutputDevice::DrawTransparent( const PolyPolygon& rPolyPoly,
 void OutputDevice::DrawTransparent( const GDIMetaFile& rMtf, const Point& rPos,
                                     const Size& rSize, const Gradient& rTransparenceGradient )
 {
-    OSL_TRACE( "OutputDevice::DrawTransparent()" );
     DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
 
     const Color aBlack( COL_BLACK );
@@ -1150,8 +1146,6 @@ void OutputDevice::Erase()
 bool OutputDevice::DrawEPS( const Point& rPoint, const Size& rSize,
                             const GfxLink& rGfxLink, GDIMetaFile* pSubst )
 {
-    OSL_TRACE( "OutputDevice::DrawEPS()" );
-
     bool bDrawn(true);
 
     if ( mpMetaFile )


More information about the Libreoffice-commits mailing list