diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-12-06 20:42:22 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-12-07 10:56:36 +0000 |
commit | d1a9c73ea16f5b4838f639ce2bb2226d9b9b334a (patch) | |
tree | 1fbc59474ab27dbb4c7e53e50911f8df2cd2c054 /include/canvas/base/canvasbase.hxx | |
parent | a6149bc0aa25dfbe963466a3a02c3d1ac18d75a1 (diff) |
tdf#88206 replace cppu::WeakImplHelper* misc
also edited two examples in canvas comments
Change-Id: Iac82b462168f869f995c33bb2c639f3dbe09cbd5
Reviewed-on: https://gerrit.libreoffice.org/31715
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/canvas/base/canvasbase.hxx')
-rw-r--r-- | include/canvas/base/canvasbase.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/canvas/base/canvasbase.hxx b/include/canvas/base/canvasbase.hxx index 5713831c3fea..cf30aabc8c6a 100644 --- a/include/canvas/base/canvasbase.hxx +++ b/include/canvas/base/canvasbase.hxx @@ -47,7 +47,7 @@ namespace canvas <pre> Example: - typedef ::cppu::WeakComponentImplHelper4< css::rendering::XSpriteCanvas, + typedef ::cppu::WeakComponentImplHelper < css::rendering::XSpriteCanvas, css::lang::XInitialization, css::lang::XServiceInfo, css::lang::XServiceName > CanvasBase_Base; @@ -61,12 +61,12 @@ namespace canvas </pre> @tpl Base - Base class to use, most probably one of the - WeakComponentImplHelperN templates with the appropriate + Base class to use, most probably the + WeakComponentImplHelper template with the appropriate interfaces. At least XCanvas should be among them (why else would you use this template, then?). Base class must have an Base( const Mutex& ) constructor (like the - WeakComponentImplHelperN templates have). As the very least, + WeakComponentImplHelper template has). As the very least, the base class must be derived from uno::XInterface, as some error reporting mechanisms rely on that. |