From c31d7b012f953f4a677fd5a576c0aa8379897879 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 24 Oct 2011 12:27:16 +0200 Subject: Some warning cleanup (found with trunk Clang). --- xmloff/inc/xmloff/maptype.hxx | 2 +- xmloff/source/transform/TransformerActionInit.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'xmloff') diff --git a/xmloff/inc/xmloff/maptype.hxx b/xmloff/inc/xmloff/maptype.hxx index a4afdd020887..513960553f83 100644 --- a/xmloff/inc/xmloff/maptype.hxx +++ b/xmloff/inc/xmloff/maptype.hxx @@ -46,7 +46,7 @@ struct XMLPropertyMapEntry sal_uInt16 mnNameSpace; /** declares the Namespace in wich this property exists */ enum ::xmloff::token::XMLTokenEnum meXMLName; /// XML-Name - sal_Int32 mnType; /** Bit 0..23 : XML-Type of its value + sal_uInt32 mnType; /** Bit 0..23 : XML-Type of its value Bit 24..31: The flags specifies additional rules how to im/export the porperty */ diff --git a/xmloff/source/transform/TransformerActionInit.hxx b/xmloff/source/transform/TransformerActionInit.hxx index c4e10e739ffc..0e1d209f7c4a 100644 --- a/xmloff/source/transform/TransformerActionInit.hxx +++ b/xmloff/source/transform/TransformerActionInit.hxx @@ -41,7 +41,7 @@ struct XMLTransformerActionInit sal_uInt32 m_nParam2; sal_uInt32 m_nParam3; - static sal_Int32 QNameParam( sal_uInt16 nPrefix, + static sal_uInt32 QNameParam( sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eLocalName ) { return (static_cast< sal_uInt32 >( nPrefix ) << 16) + -- cgit v1.2.3