diff options
Diffstat (limited to 'sw/qa/extras/uiwriter/uiwriter.cxx')
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx index 202c91cd9069..34f0e21466d1 100644 --- a/sw/qa/extras/uiwriter/uiwriter.cxx +++ b/sw/qa/extras/uiwriter/uiwriter.cxx @@ -3681,7 +3681,8 @@ void SwUiWriterTest::testEmbeddedDataSource() CPPUNIT_ASSERT(!xDatabaseContext->hasByName("calc-data-source")); // Load: should have a component and a data source, too. - load(DATA_DIRECTORY, "embedded-data-source.odt"); + // Path with "#" must not cause issues + load(DATA_DIRECTORY + OUStringLiteral("hash%23path/"), "embedded-data-source.odt"); CPPUNIT_ASSERT(mxComponent.is()); CPPUNIT_ASSERT(xDatabaseContext->hasByName("calc-data-source")); |