diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-09-27 12:52:10 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-09-27 12:52:42 +0200 |
commit | c24161acd6a605cfd364c303185730234868e918 (patch) | |
tree | 8417fa0adb47ff19b9277602954cd279dd7a03a3 /dbaccess | |
parent | e93df5c7b25ae422f3638dd6bab59442ba316789 (diff) |
get workdir URL directly
as opposed to buggily trying to build it ourselves from the path
Change-Id: Ibf44fac809a9cf12bc654a5a2f8ac8f00866b1a3
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/qa/extras/dialog-save.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/qa/extras/dialog-save.cxx b/dbaccess/qa/extras/dialog-save.cxx index 38d5c614786a..43fffa44d71e 100644 --- a/dbaccess/qa/extras/dialog-save.cxx +++ b/dbaccess/qa/extras/dialog-save.cxx @@ -67,7 +67,7 @@ DialogSaveTest::DialogSaveTest() void DialogSaveTest::test() { OUString aFileName; - aFileName = "file://" + getPathFromWorkdir("/CppunitTest/testDialogSave.odb"); + aFileName = getURLFromWorkdir("/CppunitTest/testDialogSave.odb"); { uno::Reference< lang::XComponent > xComponent = loadFromDesktop(aFileName); CPPUNIT_ASSERT(xComponent.is()); |