summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-07-23 14:02:56 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-07-23 14:02:56 +0000
commitc3fd6029be974515ea908cfa958f106c8a969119 (patch)
tree5516a14d9b15235b7949ca6116c70a67b180deea /cppuhelper
parent781914f49a59ad57efc3567d791500897eb06203 (diff)
INTEGRATION: CWS sb20 (1.6.42); FILE MERGED
2004/07/14 09:02:30 sb 1.6.42.2: #i31281# Dropped explicit keyword from ctors with more than one args. 2004/07/14 08:58:42 sb 1.6.42.1: #i31281# [Agg]ImplInheritanceHelper1--12 now support BaseClass ctors with up to six arguments (more can be added if need be).
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/test/testimplhelper.cxx39
1 files changed, 37 insertions, 2 deletions
diff --git a/cppuhelper/test/testimplhelper.cxx b/cppuhelper/test/testimplhelper.cxx
index c462faa01..fb86669f0 100644
--- a/cppuhelper/test/testimplhelper.cxx
+++ b/cppuhelper/test/testimplhelper.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: testimplhelper.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: vg $ $Date: 2003-10-06 12:57:24 $
+ * last change: $Author: rt $ $Date: 2004-07-23 15:02:56 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -182,6 +182,8 @@ struct TestWeakAggImpl : public WeakAggImplHelper4< CA, DBA, FE, G >
//==================================================================================================
struct TestWeakImpl : public WeakImplHelper4< CA, DBA, FE, G >
{
+ TestWeakImpl() {}
+
virtual ~TestWeakImpl()
{ OSL_TRACE( "> TestWeakImpl dtor called... <\n" ); }
@@ -206,6 +208,19 @@ struct TestWeakImpl : public WeakImplHelper4< CA, DBA, FE, G >
// G
virtual OUString SAL_CALL g() throw(RuntimeException)
{ return OUString( RTL_CONSTASCII_USTRINGPARAM("g") ); }
+
+protected:
+ TestWeakImpl(int) {}
+
+ TestWeakImpl(int, int) {}
+
+ TestWeakImpl(int, int, int) {}
+
+ TestWeakImpl(int, int, int, int) {}
+
+ TestWeakImpl(int, int, int, int, int) {}
+
+ TestWeakImpl(int, int, int, int, int, int, int = 0) {}
};
//==================================================================================================
@@ -283,6 +298,26 @@ struct TestWeakAggComponentImpl : public WeakAggComponentImplHelper4< CA, DBA, F
//==================================================================================================
struct TestImplInh : public ImplInheritanceHelper2< TestWeakImpl, H, I >
{
+ TestImplInh() {}
+
+ explicit TestImplInh(int):
+ ImplInheritanceHelper2< TestWeakImpl, H, I >(1) {}
+
+ TestImplInh(int, int):
+ ImplInheritanceHelper2< TestWeakImpl, H, I >(1, 2) {}
+
+ TestImplInh(int, int, int):
+ ImplInheritanceHelper2< TestWeakImpl, H, I >(1, 2, 3) {}
+
+ TestImplInh(int, int, int, int):
+ ImplInheritanceHelper2< TestWeakImpl, H, I >(1, 2, 3, 4) {}
+
+ TestImplInh(int, int, int, int, int):
+ ImplInheritanceHelper2< TestWeakImpl, H, I >(1, 2, 3, 4, 5) {}
+
+ TestImplInh(int, int, int, int, int, int):
+ ImplInheritanceHelper2< TestWeakImpl, H, I >(1, 2, 3, 4, 5, 6) {}
+
virtual ~TestImplInh()
{ OSL_TRACE( "> TestWeakImplInh dtor called... <\n" ); }