Explicit copy ctor avoiding copying singular iterators

Change-Id: I0727d4676166e63992e78ec3ac7e68c217fa794b
This commit is contained in:
Stephan Bergmann 2013-04-30 15:04:20 +02:00
parent 72e5d0c8fb
commit 05713a171f

View File

@ -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;