sw/source/uibase/config/StoredChapterNumbering.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a378fe877302a06141fd517c35a738ccd0967874
Author: Michael Stahl <mst...@redhat.com>
Date:   Thu Nov 13 20:50:27 2014 +0100

    coverity#1251590: fascinating what sort of nonsense works by accident
    
    Change-Id: I23704604ed2d041075caff4254074e83ae229402

diff --git a/sw/source/uibase/config/StoredChapterNumbering.cxx 
b/sw/source/uibase/config/StoredChapterNumbering.cxx
index eb8ae2f..646676c 100644
--- a/sw/source/uibase/config/StoredChapterNumbering.cxx
+++ b/sw/source/uibase/config/StoredChapterNumbering.cxx
@@ -371,7 +371,7 @@ public:
         }
         else if (XML_NAMESPACE_STYLE == nPrefix && IsXMLToken(rLocalName, 
XML_STYLE))
         {
-            new StoredChapterNumberingDummyStyleContext(
+            return new StoredChapterNumberingDummyStyleContext(
                     GetImport(), nPrefix, rLocalName, xAttrList);
         }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to