summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-09 15:44:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-09 15:44:18 +0100
commit6f710c79e23c7f9a02c652180845f61a81c00113 (patch)
tree417183c02238cf1a12f1474c905963d62ad39bcf /canvas
parent3a639ccf74f4c0e3ca6ef24ab54703c350d67896 (diff)
New loplugin:externvar: canvas
Change-Id: If11977a086dd7bd7d76782577db619fd272e814c
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/cairo/cairo_services.cxx4
-rw-r--r--canvas/source/opengl/ogl_spritecanvas.cxx2
-rw-r--r--canvas/source/vcl/services.cxx4
3 files changed, 5 insertions, 5 deletions
diff --git a/canvas/source/cairo/cairo_services.cxx b/canvas/source/cairo/cairo_services.cxx
index 10c0e31c7d37..0c484d3644f3 100644
--- a/canvas/source/cairo/cairo_services.cxx
+++ b/canvas/source/cairo/cairo_services.cxx
@@ -51,7 +51,7 @@ namespace cairocanvas
return xRet;
}
- sdecl::class_< Canvas, sdecl::with_args<true> > serviceImpl1(&initCanvas);
+ sdecl::class_< Canvas, sdecl::with_args<true> > const serviceImpl1(&initCanvas);
const sdecl::ServiceDecl cairoCanvasDecl(
serviceImpl1,
CANVAS_IMPLEMENTATION_NAME,
@@ -65,7 +65,7 @@ namespace cairocanvas
}
namespace sdecl = comphelper::service_decl;
- sdecl::class_< SpriteCanvas, sdecl::with_args<true> > serviceImpl2(&initSpriteCanvas);
+ sdecl::class_< SpriteCanvas, sdecl::with_args<true> > const serviceImpl2(&initSpriteCanvas);
const sdecl::ServiceDecl cairoSpriteCanvasDecl(
serviceImpl2,
SPRITECANVAS_IMPLEMENTATION_NAME,
diff --git a/canvas/source/opengl/ogl_spritecanvas.cxx b/canvas/source/opengl/ogl_spritecanvas.cxx
index c3bc92a3da7e..8e9cbb8636ff 100644
--- a/canvas/source/opengl/ogl_spritecanvas.cxx
+++ b/canvas/source/opengl/ogl_spritecanvas.cxx
@@ -175,7 +175,7 @@ namespace oglcanvas
return xRet;
}
- sdecl::class_<SpriteCanvas, sdecl::with_args<true> > serviceImpl(&initCanvas);
+ sdecl::class_<SpriteCanvas, sdecl::with_args<true> > const serviceImpl(&initCanvas);
const sdecl::ServiceDecl oglSpriteCanvasDecl(
serviceImpl,
SPRITECANVAS_IMPLEMENTATION_NAME,
diff --git a/canvas/source/vcl/services.cxx b/canvas/source/vcl/services.cxx
index 001160c90f48..1417c78c0111 100644
--- a/canvas/source/vcl/services.cxx
+++ b/canvas/source/vcl/services.cxx
@@ -52,7 +52,7 @@ namespace vclcanvas
return xRet;
}
- sdecl::class_<Canvas, sdecl::with_args<true> > serviceImpl1(&initCanvas);
+ sdecl::class_<Canvas, sdecl::with_args<true> > const serviceImpl1(&initCanvas);
const sdecl::ServiceDecl vclCanvasDecl(
serviceImpl1,
CANVAS_IMPLEMENTATION_NAME,
@@ -65,7 +65,7 @@ namespace vclcanvas
return xRet;
}
- sdecl::class_<SpriteCanvas, sdecl::with_args<true> > serviceImpl2(&initSpriteCanvas);
+ sdecl::class_<SpriteCanvas, sdecl::with_args<true> > const serviceImpl2(&initSpriteCanvas);
const sdecl::ServiceDecl vclSpriteCanvasDecl(
serviceImpl2,
SPRITECANVAS_IMPLEMENTATION_NAME,