[Libreoffice-commits] .: sw/source

Tor Lillqvist tml at kemper.freedesktop.org
Sun Oct 2 23:44:46 PDT 2011


 sw/source/filter/xml/xmlitem.cxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit adb74e59693998ce217de243573b1f13caea9b29
Author: Tor Lillqvist <tml at iki.fi>
Date:   Fri Sep 30 10:19:05 2011 +0300

    WaE: control reaches end of non-void function

diff --git a/sw/source/filter/xml/xmlitem.cxx b/sw/source/filter/xml/xmlitem.cxx
index fd0a128..ccf2f2a 100644
--- a/sw/source/filter/xml/xmlitem.cxx
+++ b/sw/source/filter/xml/xmlitem.cxx
@@ -66,10 +66,7 @@ SvXMLImportContext *SvXMLItemSetContext::CreateChildContext( sal_uInt16 nPrefix,
         return CreateChildContext( nPrefix, rLocalName, xAttrList,
                                    rItemSet, *pEntry, rUnitConv );
     }
-    else
-    {
-        return new SvXMLImportContext( GetImport(), nPrefix, rLocalName );
-    }
+    return new SvXMLImportContext( GetImport(), nPrefix, rLocalName );
 }
 
 /** This method is called from this instance implementation of


More information about the Libreoffice-commits mailing list