summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/dputil.cxx2
-rw-r--r--sc/source/filter/html/htmlpars.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/dputil.cxx b/sc/source/core/data/dputil.cxx
index ac1dcca65eeb..651d550935f9 100644
--- a/sc/source/core/data/dputil.cxx
+++ b/sc/source/core/data/dputil.cxx
@@ -65,7 +65,7 @@ bool ScDPUtil::isDuplicateDimension(std::u16string_view rName)
OUString ScDPUtil::getSourceDimensionName(std::u16string_view rName)
{
- return comphelper::string::stripEnd(rName, '*');
+ return OUString(comphelper::string::stripEnd(rName, '*'));
}
sal_uInt8 ScDPUtil::getDuplicateIndex(const OUString& rName)
diff --git a/sc/source/filter/html/htmlpars.cxx b/sc/source/filter/html/htmlpars.cxx
index 0b04ccaafee5..0129cd9d1b3c 100644
--- a/sc/source/filter/html/htmlpars.cxx
+++ b/sc/source/filter/html/htmlpars.cxx
@@ -2934,7 +2934,7 @@ void ScHTMLQueryParser::FontOn( const HtmlImportInfo& rInfo )
while( nPos != -1 )
{
// font list separator: VCL = ';' HTML = ','
- OUString aFName = comphelper::string::strip(o3tl::getToken(rFace, 0, ',', nPos), ' ');
+ std::u16string_view aFName = comphelper::string::strip(o3tl::getToken(rFace, 0, ',', nPos), ' ');
aFontName = ScGlobal::addToken(aFontName, aFName, ';');
}
if ( !aFontName.isEmpty() )