summaryrefslogtreecommitdiff
path: root/canvas/source/vcl/canvasbitmap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/vcl/canvasbitmap.cxx')
-rw-r--r--canvas/source/vcl/canvasbitmap.cxx13
1 files changed, 5 insertions, 8 deletions
diff --git a/canvas/source/vcl/canvasbitmap.cxx b/canvas/source/vcl/canvasbitmap.cxx
index 2b244602e3fd..84f5a8db58c3 100644
--- a/canvas/source/vcl/canvasbitmap.cxx
+++ b/canvas/source/vcl/canvasbitmap.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -81,12 +82,6 @@ namespace vclcanvas
maCanvasHelper.init( rBitmap, rDevice, rOutDevProvider );
}
- void SAL_CALL CanvasBitmap::disposing()
- {
- // forward to base
- CanvasBitmap_Base::disposing();
- }
-
#define IMPLEMENTATION_NAME "VCLCanvas.CanvasBitmap"
#define SERVICE_NAME "com.sun.star.rendering.CanvasBitmap"
@@ -110,7 +105,7 @@ namespace vclcanvas
BitmapEx CanvasBitmap::getBitmap() const
{
- tools::LocalGuard aGuard;
+ SolarMutexGuard aGuard;
// TODO(T3): Rework to use shared_ptr all over the place for
// BmpEx. This is highly un-threadsafe
@@ -124,7 +119,7 @@ namespace vclcanvas
const ::Size& rSz,
const GraphicAttr& rAttr ) const
{
- tools::LocalGuard aGuard;
+ SolarMutexGuard aGuard;
mbSurfaceDirty = true;
@@ -142,3 +137,5 @@ namespace vclcanvas
return uno::Any( sal_Int64(0) );
}
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */