raah... getURLFromWorkdir does not put the URL scheme

Change-Id: I62162230b313c66872ef1b3e8b18070126169aa1
This commit is contained in:
Lionel Elie Mamane
2013-09-27 13:07:29 +02:00
parent c24161acd6
commit a9a0933ec6

View File

@@ -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());