summaryrefslogtreecommitdiff
path: root/cppu
diff options
context:
space:
mode:
Diffstat (limited to 'cppu')
-rw-r--r--cppu/source/typelib/typelib.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx
index c94ee1a80ec2..02ae4cc6e932 100644
--- a/cppu/source/typelib/typelib.cxx
+++ b/cppu/source/typelib/typelib.cxx
@@ -909,8 +909,9 @@ private:
sal_Int32 members;
};
-BaseList::BaseList(typelib_InterfaceTypeDescription const * desc) {
- members = 0;
+BaseList::BaseList(typelib_InterfaceTypeDescription const * desc)
+ : members(0)
+{
for (sal_Int32 i = 0; i < desc->nBaseTypes; ++i) {
Set directBaseSet;
sal_Int32 directBaseMembers = 0;