cppuhelper/source/typemanager.cxx |    9 +++++++++
 1 file changed, 9 insertions(+)

New commits:
commit 05713a171fa8395369bb32b23e24bd97bb5ad58f
Author: Stephan Bergmann <sberg...@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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to