You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libreoffice/0001-do-not-prepend-n-twice...

31 lines
1.1 KiB

From 5df9e10d27a071f878ed160f99129a7f3c34f5ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= <l.lunak@suse.cz>
Date: Thu, 10 May 2012 18:29:12 +0200
Subject: [PATCH] do not prepend \n twice, it confuses KFileDialog
(rhbz#820439)
Draw -> Export -> filetype combo was broken.
Change-Id: I9349749274498d5834dd63e73f3856434b1ab8d9
---
vcl/unx/kde4/KDE4FilePicker.cxx | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/fpicker/source/unx/kde4/KDE4FilePicker.cxx b/fpicker/source/unx/kde4/KDE4FilePicker.cxx
index 140af9c..3537bfe 100644
--- a/fpicker/source/unx/kde4/KDE4FilePicker.cxx
+++ b/fpicker/source/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)
{
--
1.7.7.6