summaryrefslogtreecommitdiff
path: root/test/source/sheet
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 /test/source/sheet
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 'test/source/sheet')
-rw-r--r--test/source/sheet/xuniquecellformatrangessupplier.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/sheet/xuniquecellformatrangessupplier.cxx b/test/source/sheet/xuniquecellformatrangessupplier.cxx
index 18d81eb2f8ee..14f4a29b8770 100644
--- a/test/source/sheet/xuniquecellformatrangessupplier.cxx
+++ b/test/source/sheet/xuniquecellformatrangessupplier.cxx
@@ -27,7 +27,7 @@ void XUniqueCellFormatRangesSupplier::testGetUniqueCellFormatRanges()
auto count = xIndexAccess->getCount();
CPPUNIT_ASSERT_MESSAGE("No elements found", count);
for (auto i = 0; i<count; i++) {
- CPPUNIT_ASSERT_NO_THROW_MESSAGE(OUStringToOString("Unable to access element " + OUString::number(i), RTL_TEXTENCODING_UTF8).getStr(),
+ CPPUNIT_ASSERT_NO_THROW_MESSAGE(OString("Unable to access element " + OString::number(i)).getStr(),
xIndexAccess->getByIndex(i));
}
}