diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-09-27 13:07:29 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-09-27 13:07:44 +0200 |
commit | a9a0933ec67eab0ec31c8fadb60fb8e8e3e90485 (patch) | |
tree | cd7ae5b7eaffdb92a120408cba9fb9e2c17d437a /dbaccess | |
parent | c24161acd6a605cfd364c303185730234868e918 (diff) |
raah... getURLFromWorkdir does not put the URL scheme
Change-Id: I62162230b313c66872ef1b3e8b18070126169aa1
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/qa/extras/dialog-save.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dbaccess/qa/extras/dialog-save.cxx b/dbaccess/qa/extras/dialog-save.cxx index 43fffa44d71e..9278d38a8849 100644 --- a/dbaccess/qa/extras/dialog-save.cxx +++ b/dbaccess/qa/extras/dialog-save.cxx @@ -62,12 +62,10 @@ DialogSaveTest::DialogSaveTest() { } -// TODO: use temporary copy; see example in chart2/qa/extras/charttest.hxx:65 (function reload) - void DialogSaveTest::test() { OUString aFileName; - aFileName = getURLFromWorkdir("/CppunitTest/testDialogSave.odb"); + aFileName = "file://" + getURLFromWorkdir("/CppunitTest/testDialogSave.odb"); { uno::Reference< lang::XComponent > xComponent = loadFromDesktop(aFileName); CPPUNIT_ASSERT(xComponent.is()); |