diff options
author | Noel Grandin <noel@peralex.com> | 2016-07-01 09:46:23 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-07-04 06:49:07 +0000 |
commit | cd71034b26a404c8f9b763865ef6ebdd0adeebb7 (patch) | |
tree | ff2aaa6a6d1849b51d883d48dfdef04b17817fcd /include/canvas | |
parent | 70bfe5f71c1d45c14ce831051480a11c58ffc34d (diff) |
comphelper::OBaseMutex -> cppu::BaseMutex
convert usage of deprecated class, and remove the old class
Change-Id: I19fb9271090d19e5531622b58492e1a848d306e2
Reviewed-on: https://gerrit.libreoffice.org/26843
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/canvas')
-rw-r--r-- | include/canvas/base/bitmapcanvasbase.hxx | 2 | ||||
-rw-r--r-- | include/canvas/base/bufferedgraphicdevicebase.hxx | 2 | ||||
-rw-r--r-- | include/canvas/base/cachedprimitivebase.hxx | 4 | ||||
-rw-r--r-- | include/canvas/base/canvasbase.hxx | 2 | ||||
-rw-r--r-- | include/canvas/base/canvascustomspritebase.hxx | 2 | ||||
-rw-r--r-- | include/canvas/base/spritecanvasbase.hxx | 2 | ||||
-rw-r--r-- | include/canvas/parametricpolypolygon.hxx | 4 |
7 files changed, 9 insertions, 9 deletions
diff --git a/include/canvas/base/bitmapcanvasbase.hxx b/include/canvas/base/bitmapcanvasbase.hxx index 4bab9ee31663..7b73477b64cb 100644 --- a/include/canvas/base/bitmapcanvasbase.hxx +++ b/include/canvas/base/bitmapcanvasbase.hxx @@ -44,7 +44,7 @@ namespace canvas @tpl Mutex Lock strategy to use. Defaults to using the - OBaseMutex-provided lock. Every time one of the methods is + BaseMutex-provided lock. Every time one of the methods is entered, an object of type Mutex is created with m_aMutex as the sole parameter, and destroyed again when the method scope is left. diff --git a/include/canvas/base/bufferedgraphicdevicebase.hxx b/include/canvas/base/bufferedgraphicdevicebase.hxx index 1f1034f742f5..fb63de688739 100644 --- a/include/canvas/base/bufferedgraphicdevicebase.hxx +++ b/include/canvas/base/bufferedgraphicdevicebase.hxx @@ -59,7 +59,7 @@ namespace canvas @tpl Mutex Lock strategy to use. Defaults to using the - OBaseMutex-provided lock. Every time one of the methods is + BaseMutex-provided lock. Every time one of the methods is entered, an object of type Mutex is created with m_aMutex as the sole parameter, and destroyed again when the method scope is left. diff --git a/include/canvas/base/cachedprimitivebase.hxx b/include/canvas/base/cachedprimitivebase.hxx index 7393b1dcff91..a467595202ba 100644 --- a/include/canvas/base/cachedprimitivebase.hxx +++ b/include/canvas/base/cachedprimitivebase.hxx @@ -26,7 +26,7 @@ #include <com/sun/star/rendering/XCachedPrimitive.hpp> #include <com/sun/star/rendering/ViewState.hpp> #include <cppuhelper/compbase2.hxx> -#include <comphelper/broadcasthelper.hxx> +#include <cppuhelper/basemutex.hxx> #include <canvas/canvastoolsdllapi.h> @@ -41,7 +41,7 @@ namespace canvas the XCachedPrimitive interface. */ class CANVASTOOLS_DLLPUBLIC CachedPrimitiveBase: - public comphelper::OBaseMutex, public CachedPrimitiveBase_Base + public cppu::BaseMutex, public CachedPrimitiveBase_Base { public: diff --git a/include/canvas/base/canvasbase.hxx b/include/canvas/base/canvasbase.hxx index 159478374437..5713831c3fea 100644 --- a/include/canvas/base/canvasbase.hxx +++ b/include/canvas/base/canvasbase.hxx @@ -80,7 +80,7 @@ namespace canvas @tpl Mutex Lock strategy to use. Defaults to using the - OBaseMutex-provided lock. Every time one of the methods is + BaseMutex-provided lock. Every time one of the methods is entered, an object of type Mutex is created with m_aMutex as the sole parameter, and destroyed again when the method scope is left. diff --git a/include/canvas/base/canvascustomspritebase.hxx b/include/canvas/base/canvascustomspritebase.hxx index 328900573522..4e4175c70287 100644 --- a/include/canvas/base/canvascustomspritebase.hxx +++ b/include/canvas/base/canvascustomspritebase.hxx @@ -53,7 +53,7 @@ namespace canvas @tpl Mutex Lock strategy to use. Defaults to using the - OBaseMutex-provided lock. Every time one of the methods is + BaseMutex-provided lock. Every time one of the methods is entered, an object of type Mutex is created with m_aMutex as the sole parameter, and destroyed again when the method scope is left. diff --git a/include/canvas/base/spritecanvasbase.hxx b/include/canvas/base/spritecanvasbase.hxx index 89a3412d1c9c..41c1c3880669 100644 --- a/include/canvas/base/spritecanvasbase.hxx +++ b/include/canvas/base/spritecanvasbase.hxx @@ -48,7 +48,7 @@ namespace canvas @tpl Mutex Lock strategy to use. Defaults to using the - OBaseMutex-provided lock. Every time one of the methods is + BaseMutex-provided lock. Every time one of the methods is entered, an object of type Mutex is created with m_aMutex as the sole parameter, and destroyed again when the method scope is left. diff --git a/include/canvas/parametricpolypolygon.hxx b/include/canvas/parametricpolypolygon.hxx index cc514f8bec4e..8e21228416ba 100644 --- a/include/canvas/parametricpolypolygon.hxx +++ b/include/canvas/parametricpolypolygon.hxx @@ -24,7 +24,7 @@ #include <com/sun/star/rendering/XGraphicDevice.hpp> #include <com/sun/star/rendering/XParametricPolyPolygon2D.hpp> #include <cppuhelper/compbase2.hxx> -#include <comphelper/broadcasthelper.hxx> +#include <cppuhelper/basemutex.hxx> #include <basegfx/polygon/b2dpolygon.hxx> #include <canvas/canvastoolsdllapi.h> @@ -43,7 +43,7 @@ namespace canvas typedef ::cppu::WeakComponentImplHelper2< css::rendering::XParametricPolyPolygon2D, css::lang::XServiceInfo > ParametricPolyPolygon_Base; - class CANVASTOOLS_DLLPUBLIC ParametricPolyPolygon : public ::comphelper::OBaseMutex, + class CANVASTOOLS_DLLPUBLIC ParametricPolyPolygon : public ::cppu::BaseMutex, public ParametricPolyPolygon_Base { public: |