summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbasheetobject.hxx
diff options
context:
space:
mode:
authorDouglas Mencken <dougmencken@gmail.com>2015-10-04 22:19:14 -0400
committerMichael Stahl <mstahl@redhat.com>2015-10-06 12:13:54 +0000
commit85b1f91779cd90eb1c7808909c2721239fc51dd1 (patch)
tree21ca582dc9435d15304a9ea80170482cf0c18bfb /sc/source/ui/vba/vbasheetobject.hxx
parent8e7a2a62d1bd14ea629b4cbbdccd0c9b9b14a6e5 (diff)
vba: convert to variadic InheritedHelperInterfaceImpl&WeakImpl etc
Variadic templates ~-i.e. templates, which can take an arbitrary number of arguments of any type-~ is new C++11 feature note that uno::Reference and cppu::UnoType can only take one parameter thus leave XNamedObjectCollectionHelper non-variadic in vbacollectionimpl.hxx Change-Id: I22e60fa050ee31d39ae8bb7cac06cf243c4587b1 Reviewed-on: https://gerrit.libreoffice.org/19145 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sc/source/ui/vba/vbasheetobject.hxx')
-rw-r--r--sc/source/ui/vba/vbasheetobject.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbasheetobject.hxx b/sc/source/ui/vba/vbasheetobject.hxx
index 5451aeecf63c..bd72c393ab6d 100644
--- a/sc/source/ui/vba/vbasheetobject.hxx
+++ b/sc/source/ui/vba/vbasheetobject.hxx
@@ -32,7 +32,7 @@ namespace com { namespace sun { namespace star {
namespace drawing { class XControlShape; }
} } }
-typedef InheritedHelperInterfaceImpl1< ov::excel::XCharacters > ScVbaButtonCharacters_BASE;
+typedef InheritedHelperInterfaceWeakImpl< ov::excel::XCharacters > ScVbaButtonCharacters_BASE;
/** Simple implementation of the Characters symbol for drawing button objects. */
class ScVbaButtonCharacters : public ScVbaButtonCharacters_BASE
@@ -74,7 +74,7 @@ private:
sal_Int32 mnLength;
};
-typedef InheritedHelperInterfaceImpl1< ov::excel::XSheetObject > ScVbaSheetObject_BASE;
+typedef InheritedHelperInterfaceWeakImpl< ov::excel::XSheetObject > ScVbaSheetObject_BASE;
/** Base class for drawing objects embedded in sheets. */
class ScVbaSheetObjectBase : public ScVbaSheetObject_BASE