diff options
Diffstat (limited to 'sc/source/filter/oox/sheetdatacontext.cxx')
-rw-r--r-- | sc/source/filter/oox/sheetdatacontext.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/oox/sheetdatacontext.cxx b/sc/source/filter/oox/sheetdatacontext.cxx index 9b651c384c2f..5d3d4501ca73 100644 --- a/sc/source/filter/oox/sheetdatacontext.cxx +++ b/sc/source/filter/oox/sheetdatacontext.cxx @@ -29,7 +29,7 @@ #include <formulaparser.hxx> #include <richstringcontext.hxx> #include <sal/log.hxx> -#include <comphelper/string.hxx> +#include <o3tl/string_view.hxx> namespace oox::xls { @@ -296,11 +296,11 @@ void SheetDataContext::importRow( const AttributeList& rAttribs ) if( (0 < nSepPos) && (nSepPos + 1 < aColSpanToken.getLength()) ) { // OOXML uses 1-based integer column indexes, row model expects 0-based colspans - const sal_Int32 nCol1 = comphelper::string::toInt32(aColSpanToken.subView( 0, nSepPos )) - 1; + const sal_Int32 nCol1 = o3tl::toInt32(aColSpanToken.subView( 0, nSepPos )) - 1; const bool bValid1 = mrAddressConv.checkCol( nCol1, true); if (bValid1) { - const sal_Int32 nCol2 = comphelper::string::toInt32(aColSpanToken.subView( nSepPos + 1 )) - 1; + const sal_Int32 nCol2 = o3tl::toInt32(aColSpanToken.subView( nSepPos + 1 )) - 1; mrAddressConv.checkCol( nCol2, true); aModel.insertColSpan( ValueRange( nCol1, ::std::min( nCol2, nMaxCol ))); } |