[Libreoffice-commits] .: Branch 'libreoffice-3-5' - fpicker/source

David Tardon dtardon at kemper.freedesktop.org
Mon May 14 00:45:20 PDT 2012


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

New commits:
commit 17574a0b28241569881c3ca47b2a401fbed0283f
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
    Signed-off-by: David Tardon <dtardon at redhat.com>

diff --git a/fpicker/source/unx/kde4/KDE4FilePicker.cxx b/fpicker/source/unx/kde4/KDE4FilePicker.cxx
index 9c3ded3..ca9f62e 100644
--- a/fpicker/source/unx/kde4/KDE4FilePicker.cxx
+++ b/fpicker/source/unx/kde4/KDE4FilePicker.cxx
@@ -351,9 +351,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