[Libreoffice-commits] .: vcl/unx

Lubos Lunak llunak at kemper.freedesktop.org
Thu May 10 09:31:13 PDT 2012


 vcl/unx/kde4/KDE4FilePicker.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 5df9e10d27a071f878ed160f99129a7f3c34f5ed
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Thu May 10 18:29:12 2012 +0200

    do not prepend \n twice, it confuses KFileDialog (rhbz#820439)
    
    Draw -> Export -> filetype combo was broken.
    
    Change-Id: I9349749274498d5834dd63e73f3856434b1ab8d9

diff --git a/vcl/unx/kde4/KDE4FilePicker.cxx b/vcl/unx/kde4/KDE4FilePicker.cxx
index 140af9c..3537bfe 100644
--- a/vcl/unx/kde4/KDE4FilePicker.cxx
+++ b/vcl/unx/kde4/KDE4FilePicker.cxx
@@ -342,9 +342,6 @@ rtl::OUString SAL_CALL KDE4FilePicker::getCurrentFilter()
 void SAL_CALL KDE4FilePicker::appendFilterGroup( const rtl::OUString& , const uno::Sequence<beans::StringPair>& filters)
     throw( lang::IllegalArgumentException, uno::RuntimeException )
 {
-    if (!_filter.isNull())
-        _filter.append(QString("\n"));
-
     const sal_uInt16 length = filters.getLength();
     for (sal_uInt16 i = 0; i < length; ++i)
     {


More information about the Libreoffice-commits mailing list