[Libreoffice-commits] core.git: dbaccess/qa

Lionel Elie Mamane lionel at mamane.lu
Fri Sep 27 03:53:05 PDT 2013


 dbaccess/qa/extras/dialog-save.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c24161acd6a605cfd364c303185730234868e918
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Fri Sep 27 12:52:10 2013 +0200

    get workdir URL directly
    
    as opposed to buggily trying to build it ourselves from the path
    
    Change-Id: Ibf44fac809a9cf12bc654a5a2f8ac8f00866b1a3

diff --git a/dbaccess/qa/extras/dialog-save.cxx b/dbaccess/qa/extras/dialog-save.cxx
index 38d5c61..43fffa4 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());


More information about the Libreoffice-commits mailing list