sw/qa/extras/uiwriter/uiwriter7.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 0b3337c7f4773f84e8cfc2682ee5b1fbde0d51ae
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Fri Nov 11 13:57:04 2022 +0100
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Fri Nov 11 14:36:47 2022 +0100

    uiwriter7: simplify code
    
    kudos to Mike Kaganski
    
    Change-Id: Ic10f794d09b882da95958ad42f3a02aaabbbe1f3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142583
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/sw/qa/extras/uiwriter/uiwriter7.cxx 
b/sw/qa/extras/uiwriter/uiwriter7.cxx
index 35eef322044e..a54caedd32c6 100644
--- a/sw/qa/extras/uiwriter/uiwriter7.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter7.cxx
@@ -2055,8 +2055,7 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest7, 
testEmbeddedDataSource)
 
     // Load: should have a component and a data source, too.
     // Path with "#" must not cause issues
-    OUString aURL = OUString::Concat(u"hash%23path/") + 
"embedded-data-source.odt";
-    createSwDoc(aURL.toUtf8().getStr());
+    createSwDoc("hash%23path/embedded-data-source.odt");
     CPPUNIT_ASSERT(xDatabaseContext->hasByName("calc-data-source"));
 
     // Data source has a table named Sheet1.

Reply via email to