diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-04-27 18:08:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-04-28 15:41:02 +0200 |
commit | 39c3574b799690d4405d9318a5ba221b5feaccbe (patch) | |
tree | 40cacd124e11dd71b23affec3713c6f0fef27906 /svx/qa | |
parent | 9658115370bf33c2fdb68a3b759cf2f9d9e7c6c1 (diff) |
use string_view in INetURLObject::encode
Change-Id: Ib686c6872388b02c8939d3b65f6bd25cda348bc8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114754
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/qa')
-rw-r--r-- | svx/qa/unit/gallery/test_gallery.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/qa/unit/gallery/test_gallery.cxx b/svx/qa/unit/gallery/test_gallery.cxx index 072361232dc7..da224b439f3b 100644 --- a/svx/qa/unit/gallery/test_gallery.cxx +++ b/svx/qa/unit/gallery/test_gallery.cxx @@ -261,10 +261,10 @@ void GalleryObjTest::TestGalleryThemeEntry() INetURLObject aURL(aGalleryURL); aURL.Append(myThemeName); INetURLObject aThemeURL(aURL), aSdvURL(aURL), aSdgURL(aURL), aStrURL(aURL); - aThemeURL.setExtension("thm"); - aSdvURL.setExtension("sdv"); - aSdgURL.setExtension("sdg"); - aStrURL.setExtension("str"); + aThemeURL.setExtension(u"thm"); + aSdvURL.setExtension(u"sdv"); + aSdgURL.setExtension(u"sdg"); + aStrURL.setExtension(u"str"); CPPUNIT_ASSERT_EQUAL_MESSAGE("Theme URL doesn't match", aGalleryBinaryStorageLocations.GetThmURL().GetMainURL( INetURLObject::DecodeMechanism::Unambiguous), |