diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-09-30 10:19:05 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-10-03 09:44:20 +0300 |
commit | adb74e59693998ce217de243573b1f13caea9b29 (patch) | |
tree | 6533a0b5021e3130c65dab3dc7c46c5eee722c31 /sw | |
parent | fix build of CMIS UCP (diff) | |
download | core-adb74e59693998ce217de243573b1f13caea9b29.tar.gz core-adb74e59693998ce217de243573b1f13caea9b29.zip |
WaE: control reaches end of non-void function
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/xml/xmlitem.cxx | 5 |
1 files changed, 1 insertions, 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 |