summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cppuhelper/source/typemanager.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/cppuhelper/source/typemanager.cxx b/cppuhelper/source/typemanager.cxx
index 8044d826fed2..c4f4cbc714f4 100644
--- a/cppuhelper/source/typemanager.cxx
+++ b/cppuhelper/source/typemanager.cxx
@@ -1715,6 +1715,15 @@ private:
constantGroupIndex(constantGroup->getMembers().begin())
{ assert(theConstantGroup.is()); }
+ Position(Position const & other):
+ prefix(other.prefix), cursor(other.cursor),
+ constantGroup(other.constantGroup)
+ {
+ if (constantGroup.is()) {
+ constantGroupIndex = other.constantGroupIndex;
+ }
+ }
+
rtl::OUString prefix;
rtl::Reference< unoidl::MapCursor > cursor;
rtl::Reference< unoidl::ConstantGroupEntity > constantGroup;