xmloff/source/core/nmspmap.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit da2c2a3dc42540229fa2b42ab797131fe080bec7 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu May 21 12:20:59 2015 +0200 loplugin:literaltoboolconversion Change-Id: I4b9299ef87686fee4e2771255ed1fcbc16374db9 diff --git a/xmloff/source/core/nmspmap.cxx b/xmloff/source/core/nmspmap.cxx index 78cf027..c4c9342 100644 --- a/xmloff/source/core/nmspmap.cxx +++ b/xmloff/source/core/nmspmap.cxx @@ -117,7 +117,7 @@ sal_uInt16 SvXMLNamespaceMap::AddIfKnown( const OUString& rPrefix, const OUStrin { sal_uInt16 nKey = GetKeyByName( rName ); - assert(XML_NAMESPACE_NONE); + assert(nKey != XML_NAMESPACE_NONE); if( XML_NAMESPACE_NONE == nKey ) return XML_NAMESPACE_UNKNOWN; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits