From 78a7db0523f9611b003facd612411d3d61a0ab13 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Thu, 22 Dec 2011 19:00:19 +0100 Subject: make KDE4FilePicker::appendFilterGroup() simply use appendFilter() --- fpicker/source/unx/kde4/KDE4FilePicker.cxx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/fpicker/source/unx/kde4/KDE4FilePicker.cxx b/fpicker/source/unx/kde4/KDE4FilePicker.cxx index 562a2d254f3d..4027e3c96066 100644 --- a/fpicker/source/unx/kde4/KDE4FilePicker.cxx +++ b/fpicker/source/unx/kde4/KDE4FilePicker.cxx @@ -343,13 +343,7 @@ void SAL_CALL KDE4FilePicker::appendFilterGroup( const rtl::OUString& , const un for (sal_uInt16 i = 0; i < length; ++i) { beans::StringPair aPair = filters[i]; - - _filter.append(QString("%1|%2").arg( - toQString(aPair.Second).replace(";", " ")).arg( - toQString(aPair.First).replace("/","\\/"))); - - if (i != length - 1) - _filter.append('\n'); + appendFilter( aPair.First, aPair.Second ); } } -- cgit