summaryrefslogtreecommitdiff
path: root/starmath/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-12-11 16:48:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-12-11 17:33:57 +0100
commit62128cda92ee3355d43e959e96028b993a38162f (patch)
treef50169071be182abe03f4180686dab387cc46808 /starmath/qa
parent9ef0c8b2d59105e6a9dd7d6f4ed6942bc4745ef8 (diff)
Strength-reduce some OUStringToOString("..."+...)
...to "..."+OUStringToOString(...), in preparation of making OUStringToOString take a std::u16string_view Change-Id: Ic01ca249d4d0eb58ac959ffdf96471308a3715dc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107600 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'starmath/qa')
-rw-r--r--starmath/qa/extras/mmlimport-test.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/starmath/qa/extras/mmlimport-test.cxx b/starmath/qa/extras/mmlimport-test.cxx
index 3ae2c4f49ae8..bc52fceb3d29 100644
--- a/starmath/qa/extras/mmlimport-test.cxx
+++ b/starmath/qa/extras/mmlimport-test.cxx
@@ -72,7 +72,8 @@ private:
pSrcMed->UseInteractionHandler(false);
bool bLoaded = mxDocShell->DoLoad(pSrcMed);
CPPUNIT_ASSERT_MESSAGE(
- OUStringToOString("failed to load " + rURL, RTL_TEXTENCODING_UTF8).getStr(), bLoaded);
+ OString("failed to load " + OUStringToOString(rURL, RTL_TEXTENCODING_UTF8)).getStr(),
+ bLoaded);
}
SmDocShellRef mxDocShell;