[Libreoffice-commits] core.git: include/connectivity

Michael Stahl mstahl at redhat.com
Mon Jul 21 02:34:03 PDT 2014


 include/connectivity/CommonTools.hxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 7f15d2612d450dd430a1288052bc408f3bb1fcd9
Author: Michael Stahl <mstahl at redhat.com>
Date:   Mon Jul 21 11:28:54 2014 +0200

    fix -Werror=extra: base class ‘class salhelper::SimpleReferenceObject’
    
    should be explicitly initialized in the copy constructor
    
    Change-Id: If375412e43bad6bced7bd5c69578f998b9e6618c

diff --git a/include/connectivity/CommonTools.hxx b/include/connectivity/CommonTools.hxx
index 1ef5908..cda2f65 100644
--- a/include/connectivity/CommonTools.hxx
+++ b/include/connectivity/CommonTools.hxx
@@ -75,7 +75,10 @@ namespace connectivity
 
         ORefVector() {}
         ORefVector(size_t _st) : m_vector(_st) {}
-        ORefVector(const ORefVector& _rRH) : m_vector(_rRH.m_vector) {}
+        ORefVector(const ORefVector& rOther)
+            : salhelper::SimpleReferenceObject()
+            , m_vector(rOther.m_vector)
+        {}
 
         ORefVector& operator=(const ORefVector& _rRH)
         {


More information about the Libreoffice-commits mailing list