[Libreoffice-commits] core.git: dbaccess/qa
Lionel Elie Mamane
lionel at mamane.lu
Fri Sep 27 04:08:08 PDT 2013
dbaccess/qa/extras/dialog-save.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit a9a0933ec67eab0ec31c8fadb60fb8e8e3e90485
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Fri Sep 27 13:07:29 2013 +0200
raah... getURLFromWorkdir does not put the URL scheme
Change-Id: I62162230b313c66872ef1b3e8b18070126169aa1
diff --git a/dbaccess/qa/extras/dialog-save.cxx b/dbaccess/qa/extras/dialog-save.cxx
index 43fffa4..9278d38 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());
More information about the Libreoffice-commits
mailing list