summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-05-10 16:29:12 (GMT)
committerLuboš Luňák <l.lunak@suse.cz>2012-05-10 16:31:00 (GMT)
commit5df9e10d27a071f878ed160f99129a7f3c34f5ed (patch)
treeaae471baae27c545187f6d945512d3c3d4dd0596
parentcf6516632379688fa2b4c66f5e1644355fb424fe (diff)
do not prepend \n twice, it confuses KFileDialog (rhbz#820439)
Draw -> Export -> filetype combo was broken. Change-Id: I9349749274498d5834dd63e73f3856434b1ab8d9
-rw-r--r--vcl/unx/kde4/KDE4FilePicker.cxx3
1 files changed, 0 insertions, 3 deletions
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)
{