summaryrefslogtreecommitdiff
path: root/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/qa/extras/ooxmlimport/ooxmlimport.cxx')
-rw-r--r--sw/qa/extras/ooxmlimport/ooxmlimport.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
index 84183572cefd..2af4b6877673 100644
--- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
@@ -8,6 +8,7 @@
*/
#include <memory>
+#include <string_view>
#include <config_features.h>
#ifdef MACOSX
@@ -76,7 +77,7 @@ public:
virtual std::unique_ptr<Resetter> preTest(const char* filename) override
{
- if (OString(filename) == "fdo87488.docx")
+ if (filename == std::string_view("fdo87488.docx"))
{
std::unique_ptr<Resetter> pResetter(new Resetter(
[] () {