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.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/canvas/source/vcl/canvasbitmap.cxx b/canvas/source/vcl/canvasbitmap.cxx
index 38008e86ba87..300617f417eb 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.
@@ -110,7 +111,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 +125,7 @@ namespace vclcanvas
const ::Size& rSz,
const GraphicAttr& rAttr ) const
{
- tools::LocalGuard aGuard;
+ SolarMutexGuard aGuard;
mbSurfaceDirty = true;
@@ -142,3 +143,5 @@ namespace vclcanvas
return uno::Any( sal_Int64(0) );
}
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */