Explicit copy ctor avoiding copying singular iterators
Change-Id: I0727d4676166e63992e78ec3ac7e68c217fa794b
This commit is contained in:
parent
72e5d0c8fb
commit
05713a171f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user