diff options
-rw-r--r-- | dbaccess/qa/extras/dialog-save.cxx | 2 | ||||
-rw-r--r-- | unotest/source/cpp/bootstrapfixturebase.cxx | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/dbaccess/qa/extras/dialog-save.cxx b/dbaccess/qa/extras/dialog-save.cxx index 9278d38a8849..a373452ff682 100644 --- a/dbaccess/qa/extras/dialog-save.cxx +++ b/dbaccess/qa/extras/dialog-save.cxx @@ -65,7 +65,7 @@ DialogSaveTest::DialogSaveTest() void DialogSaveTest::test() { OUString aFileName; - aFileName = "file://" + getURLFromWorkdir("/CppunitTest/testDialogSave.odb"); + aFileName = getURLFromWorkdir("/CppunitTest/testDialogSave.odb"); { uno::Reference< lang::XComponent > xComponent = loadFromDesktop(aFileName); CPPUNIT_ASSERT(xComponent.is()); diff --git a/unotest/source/cpp/bootstrapfixturebase.cxx b/unotest/source/cpp/bootstrapfixturebase.cxx index 98f76f406b32..56d023d1bd48 100644 --- a/unotest/source/cpp/bootstrapfixturebase.cxx +++ b/unotest/source/cpp/bootstrapfixturebase.cxx @@ -23,7 +23,8 @@ using namespace ::com::sun::star; // heavy lifting is deferred until setUp. setUp and tearDown are interleaved // between the tests as you might expect. test::BootstrapFixtureBase::BootstrapFixtureBase() - : m_aSrcRootURL("file://"), m_aSolverRootURL( m_aSrcRootURL ) + : m_aSrcRootURL("file://"), m_aSolverRootURL( m_aSrcRootURL ), + m_aWorkdirRootURL(m_aSrcRootURL) { #ifndef ANDROID const char* pSrcRoot = getenv( "SRC_ROOT" ); |