xmloff/source/core/nmspmap.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8fb7614efbdc5dd78e3e45550c2edaa4bc2cda45
Author: Caolán McNamara <caol...@redhat.com>
Date:   Fri May 22 09:54:43 2015 +0100

    kde250524-4.odt (etc) are missing some namespace declarations in meta.xml
    
    Change-Id: Ie6a86262f60a4d44423bf8673d3847594e25e296

diff --git a/xmloff/source/core/nmspmap.cxx b/xmloff/source/core/nmspmap.cxx
index c4c9342..6a97160 100644
--- a/xmloff/source/core/nmspmap.cxx
+++ b/xmloff/source/core/nmspmap.cxx
@@ -194,7 +194,7 @@ OUString SvXMLNamespaceMap::GetQNameByKey( sal_uInt16 nKey,
     {
         case XML_NAMESPACE_UNKNOWN:
             // ...if it's a completely unknown namespace, assert and return 
the local name
-            assert(false);
+            SAL_WARN("xmloff.core", "unknown namespace, probable missing 
xmlns: declaration");
         case XML_NAMESPACE_NONE:
             // ...if there isn't one, return the local name
             return rLocalName;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to