diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-12-04 16:24:56 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-12-04 17:54:48 +0100 |
commit | 6c905fb6430b6ec43630e826f9afd935734f4c91 (patch) | |
tree | 6fefee2c2004bab1afd12bbb6c951a6b427604cb /sw/qa | |
parent | fcb7fe3a082c200f69f10c1d3951761a7e41d6e0 (diff) |
Improve loplugin:stringview detection of unnecessary O[U]String construction
Change-Id: Ia45119e11377e916a1e1deb5648ed9033c417d77
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107228
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx index 2f1e60fd8c9c..857f27ee636d 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx @@ -282,8 +282,8 @@ DECLARE_OOXMLEXPORT_TEST(testFdo51034, "fdo51034.odt") // Replace symbol - (i.e. U+2212) with ASCII - , LO does this change and it shouldn't matter. static void CHECK_FORMULA(OUString const & expected, OUString const & actual) { CPPUNIT_ASSERT_EQUAL( - expected.replaceAll( " ", "" ).replaceAll( OUString(u"\u2212"), "-" ), - actual.replaceAll( " ", "" ).replaceAll( OUString(u"\u2212"), "-" )); + expected.replaceAll( " ", "" ).replaceAll( u"\u2212", "-" ), + actual.replaceAll( " ", "" ).replaceAll( u"\u2212", "-" )); } DECLARE_OOXMLEXPORT_TEST(testMathAccents, "math-accents.docx") |