[Libreoffice-commits] .: binfilter/bf_xmloff

Caolán McNamara caolan at kemper.freedesktop.org
Tue May 24 01:53:10 PDT 2011


 binfilter/bf_xmloff/source/text/xmloff_XMLIndexTOCContext.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit dbc0ea9bb40379b5d4581a669d3d4e7bdb2c657d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue May 24 09:44:51 2011 +0100

    can only be true with unsigned values

diff --git a/binfilter/bf_xmloff/source/text/xmloff_XMLIndexTOCContext.cxx b/binfilter/bf_xmloff/source/text/xmloff_XMLIndexTOCContext.cxx
index a61fbdb..60ea8bd 100644
--- a/binfilter/bf_xmloff/source/text/xmloff_XMLIndexTOCContext.cxx
+++ b/binfilter/bf_xmloff/source/text/xmloff_XMLIndexTOCContext.cxx
@@ -118,7 +118,6 @@ XMLIndexTOCContext::XMLIndexTOCContext(
         if (SvXMLUnitConverter::convertEnum(nTmp, rLocalName, aIndexTypeMap))
         {
             // check for array index: 
-            DBG_ASSERT(nTmp >= 0, "index too low");
             DBG_ASSERT(nTmp < (sizeof(aIndexServiceMap)/sizeof(sal_Char*)), 
                        "index too high");
             DBG_ASSERT(sizeof(aIndexServiceMap) == 


More information about the Libreoffice-commits mailing list