summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-09-30 10:19:05 +0300
committerTor Lillqvist <tml@iki.fi>2011-10-03 09:44:20 +0300
commitadb74e59693998ce217de243573b1f13caea9b29 (patch)
tree6533a0b5021e3130c65dab3dc7c46c5eee722c31 /sw
parentdf69a3839a0dcf12a81a4e4e4dc58b2a47c7c85c (diff)
WaE: control reaches end of non-void function
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/xml/xmlitem.cxx5
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