[Libreoffice-commits] core.git: sw/source

Julien Nabet serval2412 at yahoo.fr
Sun Jul 20 01:38:39 PDT 2014


 sw/source/filter/ww8/docxattributeoutput.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a24139dafdf044b319bbf7c8e6fb34ee7b0c139d
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Jul 20 10:37:19 2014 +0200

    cppcheck: operator "=" should return TableReference&
    
    Change-Id: Ifefa4a314fbe9380332fd02c5fc8dfbb68e09cf5

diff --git a/sw/source/filter/ww8/docxattributeoutput.hxx b/sw/source/filter/ww8/docxattributeoutput.hxx
index d215607..04770c5 100644
--- a/sw/source/filter/ww8/docxattributeoutput.hxx
+++ b/sw/source/filter/ww8/docxattributeoutput.hxx
@@ -124,7 +124,7 @@ struct TableReference
     {
     }
 
-    TableReference operator= (const TableReference& rhs)
+    TableReference& operator= (const TableReference& rhs)
     {
         m_bTableCellOpen = rhs.m_bTableCellOpen ;
         m_nTableDepth    = rhs.m_nTableDepth ;


More information about the Libreoffice-commits mailing list