summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-11 13:35:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-11 13:42:39 +0100
commitf22e5db80b46b71a3df66bc7f829f0b22168b5b0 (patch)
treec265234942db2291bdeb96559cec3e72e8e59416 /canvas
parentacc939f6cb832bac281274210e3737c1ba06216c (diff)
loplugin:externvar (clang-cl)
Change-Id: Ied0ee5f637e83fe7819c68e3f4ea4634f21ac3f6
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/directx/dx_canvas.cxx4
-rw-r--r--canvas/source/directx/dx_spritecanvas.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/canvas/source/directx/dx_canvas.cxx b/canvas/source/directx/dx_canvas.cxx
index 8f806a5acedd..b42f2ab92d56 100644
--- a/canvas/source/directx/dx_canvas.cxx
+++ b/canvas/source/directx/dx_canvas.cxx
@@ -219,7 +219,7 @@ namespace dxcanvas
return xRet;
}
- sdecl::class_<Canvas, sdecl::with_args<true> > serviceImpl1(&initCanvas);
+ sdecl::class_<Canvas, sdecl::with_args<true> > const serviceImpl1(&initCanvas);
const sdecl::ServiceDecl dxCanvasDecl(
serviceImpl1,
CANVAS_IMPLEMENTATION_NAME,
@@ -233,7 +233,7 @@ namespace dxcanvas
}
namespace sdecl = comphelper::service_decl;
- sdecl::class_<BitmapCanvas, sdecl::with_args<true> > serviceImpl2(&initBitmapCanvas);
+ sdecl::class_<BitmapCanvas, sdecl::with_args<true> > const serviceImpl2(&initBitmapCanvas);
const sdecl::ServiceDecl dxBitmapCanvasDecl(
serviceImpl2,
BITMAPCANVAS_IMPLEMENTATION_NAME,
diff --git a/canvas/source/directx/dx_spritecanvas.cxx b/canvas/source/directx/dx_spritecanvas.cxx
index 16d728712e32..5c65c336e6a4 100644
--- a/canvas/source/directx/dx_spritecanvas.cxx
+++ b/canvas/source/directx/dx_spritecanvas.cxx
@@ -180,7 +180,7 @@ namespace dxcanvas
return xRet;
}
- sdecl::class_<SpriteCanvas, sdecl::with_args<true> > serviceImpl(&initCanvas);
+ sdecl::class_<SpriteCanvas, sdecl::with_args<true> > const serviceImpl(&initCanvas);
const sdecl::ServiceDecl dxSpriteCanvasDecl(
serviceImpl,
SPRITECANVAS_IMPLEMENTATION_NAME,