diff options
Diffstat (limited to 'xmloff/source/forms/elementexport.cxx')
-rw-r--r-- | xmloff/source/forms/elementexport.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx index 6a94b3484c95..c30699d675e2 100644 --- a/xmloff/source/forms/elementexport.cxx +++ b/xmloff/source/forms/elementexport.cxx @@ -1791,7 +1791,7 @@ namespace xmloff sal_Int16 nLinkageType = aHelper.isCellIntegerBinding( xBinding ) ? 1 : 0; OUStringBuffer sBuffer; - m_rContext.getGlobalContext().GetMM100UnitConverter().convertEnum( + SvXMLUnitConverter::convertEnum( sBuffer, (sal_uInt16)nLinkageType, OEnumMapper::getEnumMap( OEnumMapper::epListLinkageType ) @@ -1835,7 +1835,7 @@ namespace xmloff Reference< XListEntrySink > xSink( m_xProps, UNO_QUERY ); Reference< XListEntrySource > xSource; if ( xSink.is() ) - xSource = xSource.query( xSink->getListEntrySource() ); + xSource.set(xSink->getListEntrySource(), css::uno::UNO_QUERY); OSL_ENSURE( xSource.is(), "OControlExport::exportCellListSourceRange: list source or sink!" ); if ( xSource.is() ) { |