[Libreoffice-commits] core.git: cppuhelper/source
Stephan Bergmann
sbergman at redhat.com
Tue Apr 30 06:04:55 PDT 2013
cppuhelper/source/typemanager.cxx | 9 +++++++++
1 file changed, 9 insertions(+)
New commits:
commit 05713a171fa8395369bb32b23e24bd97bb5ad58f
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Apr 30 15:04:20 2013 +0200
Explicit copy ctor avoiding copying singular iterators
Change-Id: I0727d4676166e63992e78ec3ac7e68c217fa794b
diff --git a/cppuhelper/source/typemanager.cxx b/cppuhelper/source/typemanager.cxx
index 8044d82..c4f4cbc 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;
More information about the Libreoffice-commits
mailing list