diff options
Diffstat (limited to 'sw/qa/extras/ooxmlexport/ooxmlexport10.cxx')
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport10.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport10.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport10.cxx index ba6a6a6a98e2..9ff2a3db4e38 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport10.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport10.cxx @@ -73,7 +73,8 @@ public: virtual std::unique_ptr<Resetter> preTest(const char* filename) override { - if (OString(filename) == "smartart.docx" || OString(filename) == "strict-smartart.docx" ) + if (filename == std::string_view("smartart.docx") + || filename == std::string_view("strict-smartart.docx") ) { std::unique_ptr<Resetter> pResetter(new Resetter( [] () { |