Broken code

...from d11b244bf9 "getFiles: truncate to 1 file
only"

Change-Id: I149489212db943f79dfda7f1012d22809f090851
This commit is contained in:
Stephan Bergmann
2015-07-13 09:29:41 +02:00
parent 5b16fff9ac
commit 7f32aec63f

View File

@@ -341,7 +341,7 @@ uno::Sequence< OUString > SAL_CALL KDE4FilePicker::getFiles()
if (seq.getLength() > 1)
seq.realloc(1);
if (seq.getLength() == 1)
seq[0] = urls.front();
seq[0] = toOUString(urls.front().url());
return seq;
}