Explicit copy ctor avoiding copying singular iterators
Change-Id: I0727d4676166e63992e78ec3ac7e68c217fa794b
This commit is contained in:
@@ -1715,6 +1715,15 @@ private:
|
|||||||
constantGroupIndex(constantGroup->getMembers().begin())
|
constantGroupIndex(constantGroup->getMembers().begin())
|
||||||
{ assert(theConstantGroup.is()); }
|
{ 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::OUString prefix;
|
||||||
rtl::Reference< unoidl::MapCursor > cursor;
|
rtl::Reference< unoidl::MapCursor > cursor;
|
||||||
rtl::Reference< unoidl::ConstantGroupEntity > constantGroup;
|
rtl::Reference< unoidl::ConstantGroupEntity > constantGroup;
|
||||||
|
Reference in New Issue
Block a user