Kaydet (Commit) bdf16fe5 authored tarafından Herbert Dürr's avatar Herbert Dürr

fix narrowing conversions in xmlHelper

üst a0e76afb
...@@ -144,7 +144,7 @@ UniReference < XMLPropertySetMapper > OXMLHelper::GetTableStylesPropertySetMappe ...@@ -144,7 +144,7 @@ UniReference < XMLPropertySetMapper > OXMLHelper::GetTableStylesPropertySetMappe
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
UniReference < XMLPropertySetMapper > OXMLHelper::GetColumnStylesPropertySetMapper() UniReference < XMLPropertySetMapper > OXMLHelper::GetColumnStylesPropertySetMapper()
{ {
#define MAP_CONST_COLUMN( name, prefix, token, type, context ) { name.ascii, name.length, prefix, token, type|XML_TYPE_PROP_TABLE_COLUMN, context, SvtSaveOptions::ODFVER_010 } #define MAP_CONST_COLUMN( name, prefix, token, type, context ) { name.ascii, name.length, prefix, token, static_cast<sal_Int32>(type|XML_TYPE_PROP_TABLE_COLUMN), context, SvtSaveOptions::ODFVER_010 }
static const XMLPropertyMapEntry s_aColumnStylesProperties[] = static const XMLPropertyMapEntry s_aColumnStylesProperties[] =
{ {
MAP_CONST_COLUMN( PROPERTY_WIDTH, XML_NAMESPACE_STYLE, XML_COLUMN_WIDTH, XML_TYPE_MEASURE, 0), MAP_CONST_COLUMN( PROPERTY_WIDTH, XML_NAMESPACE_STYLE, XML_COLUMN_WIDTH, XML_TYPE_MEASURE, 0),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment