[Libreoffice-commits] .: oox/source

Muthu Subramanian sumuthu at kemper.freedesktop.org
Fri Mar 25 12:01:35 PDT 2011


 oox/source/token/namespaces.hxx.tail |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7f0bd797b81e70dd060ef9e5ff31ebb0c9fee620
Author: Muthu Subramanian <sumuthu at novell.com>
Date:   Sat Mar 26 00:27:56 2011 +0530

    Fixed NMSP_MASK definition.

diff --git a/oox/source/token/namespaces.hxx.tail b/oox/source/token/namespaces.hxx.tail
index 651fc38..2261c30 100644
--- a/oox/source/token/namespaces.hxx.tail
+++ b/oox/source/token/namespaces.hxx.tail
@@ -2,7 +2,7 @@
 // ============================================================================
 
 const sal_Int32 TOKEN_MASK          = static_cast< sal_Int32 >( (1 << NMSP_SHIFT) - 1 );
-const sal_Int32 NMSP_MASK           = static_cast< sal_Int32 >( SAL_MAX_INT16 & ~TOKEN_MASK );
+const sal_Int32 NMSP_MASK           = static_cast< sal_Int32 >( SAL_MAX_INT32 & ~TOKEN_MASK );
 
 /** Returns the raw token identifier without namespace of the passed token. */
 inline sal_Int32 getBaseToken( sal_Int32 nToken ) { return nToken & TOKEN_MASK; }


More information about the Libreoffice-commits mailing list