From adb74e59693998ce217de243573b1f13caea9b29 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 30 Sep 2011 10:19:05 +0300 Subject: [PATCH] WaE: control reaches end of non-void function --- sw/source/filter/xml/xmlitem.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sw/source/filter/xml/xmlitem.cxx b/sw/source/filter/xml/xmlitem.cxx index fd0a128e1064..ccf2f2a7e60d 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