diff options
Diffstat (limited to 'reportdesign/source/filter/xml/xmlReport.cxx')
-rw-r--r-- | reportdesign/source/filter/xml/xmlReport.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/filter/xml/xmlReport.cxx b/reportdesign/source/filter/xml/xmlReport.cxx index 67fa765b8270..4c2ed009dc3a 100644 --- a/reportdesign/source/filter/xml/xmlReport.cxx +++ b/reportdesign/source/filter/xml/xmlReport.cxx @@ -67,8 +67,8 @@ OXMLReport::OXMLReport( ORptFilter& rImport, { case XML_TOK_COMMAND_TYPE: { - sal_uInt16 nRet = static_cast<sal_uInt16>(sdb::CommandType::COMMAND); - const SvXMLEnumMapEntry* aXML_EnumMap = OXMLHelper::GetCommandTypeOptions(); + sal_Int32 nRet = sdb::CommandType::COMMAND; + const SvXMLEnumMapEntry<sal_Int32>* aXML_EnumMap = OXMLHelper::GetCommandTypeOptions(); bool bConvertOk = SvXMLUnitConverter::convertEnum( nRet, sValue, aXML_EnumMap ); SAL_WARN_IF(!bConvertOk, "reportdesign", "convertEnum failed"); m_xReportDefinition->setCommandType(nRet); |