summaryrefslogtreecommitdiff
path: root/include/xmloff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-09-06 14:36:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-09-06 14:39:02 +0200
commit548ab842a845e1e51922c8928be4ee57c8909146 (patch)
treea8a41ac85f8a5f56a13aafdbdcdd922c0c16aad2 /include/xmloff
parentc6383758c7f22071346b25f0d3e45d17d73b5a64 (diff)
Again avoid UBSan "left shift of 65536 by 16 places cannot be represented...
...in type 'int'"; i.e., re-apply 11cc9bdc21be241f2feb3ab4822d9d365dba4f96 "Avoid UBSan 'left shift of 65536 by 16 places cannot be represented..." after 67ef208b2b586603e205105a384231645d7f6712 "Fixes for migrating SvXMLImport to use FastParser" removed that fix, for no apparent reason. Change-Id: I8379d2ae8a39ce8a655688d1168d8de67186472a
Diffstat (limited to 'include/xmloff')
-rw-r--r--include/xmloff/xmltkmap.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xmloff/xmltkmap.hxx b/include/xmloff/xmltkmap.hxx
index c9f0bee56136..89cfd6584d1a 100644
--- a/include/xmloff/xmltkmap.hxx
+++ b/include/xmloff/xmltkmap.hxx
@@ -44,7 +44,7 @@ struct SvXMLTokenMapEntry
nPrefixKey( nPrefix ),
eLocalName( eName ),
nToken( nTok ),
- nFastToken( ( sal_Int32( nPrefixKey + 1 ) ) << 16 | eLocalName )
+ nFastToken( sal_uInt32( nPrefixKey + 1 ) << 16 | eLocalName )
{
if ( nFastTok ) // alternative value for duplicate/dummy tokens
nFastToken = nFastTok;