[Libreoffice-commits] .: binfilter/bf_xmloff

Petr Mladek pmladek at kemper.freedesktop.org
Fri Jun 22 10:06:18 PDT 2012


 binfilter/bf_xmloff/source/chart/PropertyMap.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9798a240b0f489132fd48b941b745d16a56e6667
Author: Petr Mladek <pmladek at suse.cz>
Date:   Fri Jun 22 18:59:20 2012 +0200

    checkdll libbf_xolo.so crasher with gcc-4.7.1 20120615
    
    It smells like a compiler bug.
    
    Change-Id: I8a5848b5622420ce61c9288354cd1ef670245e44

diff --git a/binfilter/bf_xmloff/source/chart/PropertyMap.hxx b/binfilter/bf_xmloff/source/chart/PropertyMap.hxx
index 0d15a79..4029bcc 100644
--- a/binfilter/bf_xmloff/source/chart/PropertyMap.hxx
+++ b/binfilter/bf_xmloff/source/chart/PropertyMap.hxx
@@ -78,7 +78,7 @@ namespace binfilter {
 
 #define MAP_ENTRY( a, ns, nm, t ) { a, sizeof(a)-1, XML_NAMESPACE_##ns, xmloff::token::nm, t, 0 }
 #define MAP_CONTEXT( a, ns, nm, t, c ) { a, sizeof(a)-1, XML_NAMESPACE_##ns, xmloff::token::nm, t, XML_SCH_CONTEXT_##c }
-#define MAP_SPECIAL( a, ns, nm, t, c ) { a, sizeof(a)-1, XML_NAMESPACE_##ns, xmloff::token::nm, sal::static_int_cast< sal_Int32 >(t | MID_FLAG_SPECIAL_ITEM), XML_SCH_CONTEXT_SPECIAL_##c }
+#define MAP_SPECIAL( a, ns, nm, t, c ) { a, sizeof(a)-1, XML_NAMESPACE_##ns, xmloff::token::nm, static_cast< sal_Int32 >(t | MID_FLAG_SPECIAL_ITEM), XML_SCH_CONTEXT_SPECIAL_##c }
 #define MAP_ENTRY_END { 0,0,0,xmloff::token::XML_TOKEN_INVALID,0,0 }
 
 // ---------------------------------------------------------


More information about the Libreoffice-commits mailing list