diff options
Diffstat (limited to 'sc/source/ui/unoobj/exceldetect.cxx')
-rw-r--r-- | sc/source/ui/unoobj/exceldetect.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/exceldetect.cxx b/sc/source/ui/unoobj/exceldetect.cxx index a50f9994f4d2..75694bbc9620 100644 --- a/sc/source/ui/unoobj/exceldetect.cxx +++ b/sc/source/ui/unoobj/exceldetect.cxx @@ -120,9 +120,9 @@ bool isExcel40(const uno::Reference<io::XInputStream>& xInStream) return true; } -bool isTemplate(const OUString& rType) +bool isTemplate(std::u16string_view rType) { - return rType.indexOf("_VorlageTemplate") != -1; + return rType.find(u"_VorlageTemplate") != std::u16string_view::npos; } } |