[Libreoffice-commits] core.git: vcl/unx

Stephan Bergmann sbergman at redhat.com
Mon Jul 13 00:30:46 PDT 2015


 vcl/unx/kde4/KDE4FilePicker.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7f32aec63fbc3b79c8f6c28039744f4eaed851a7
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jul 13 09:29:41 2015 +0200

    Broken code
    
    ...from d11b244bf9b9115f5384d6ff43bdffc7f1289d71 "getFiles: truncate to 1 file
    only"
    
    Change-Id: I149489212db943f79dfda7f1012d22809f090851

diff --git a/vcl/unx/kde4/KDE4FilePicker.cxx b/vcl/unx/kde4/KDE4FilePicker.cxx
index 9477732..9758253 100644
--- a/vcl/unx/kde4/KDE4FilePicker.cxx
+++ b/vcl/unx/kde4/KDE4FilePicker.cxx
@@ -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;
 }
 


More information about the Libreoffice-commits mailing list