[Libreoffice-commits] core.git: dbaccess/qa unotest/source
Stephan Bergmann
sbergman at redhat.com
Fri Sep 27 05:27:27 PDT 2013
dbaccess/qa/extras/dialog-save.cxx | 2 +-
unotest/source/cpp/bootstrapfixturebase.cxx | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 5063e39261fb9c9568b56a2a6ff8949fb8230042
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Sep 27 14:26:51 2013 +0200
getURLFromWorkdir should actually return a URL
Change-Id: Id6d67f820226da15d90b95aa047767926583cc2e
diff --git a/dbaccess/qa/extras/dialog-save.cxx b/dbaccess/qa/extras/dialog-save.cxx
index 9278d38..a373452 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 98f76f4..56d023d 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" );
More information about the Libreoffice-commits
mailing list