Kaydet (Commit) 78a7db05 authored tarafından Luboš Luňák's avatar Luboš Luňák

make KDE4FilePicker::appendFilterGroup() simply use appendFilter()

üst aa97ec9b
...@@ -343,13 +343,7 @@ void SAL_CALL KDE4FilePicker::appendFilterGroup( const rtl::OUString& , const un ...@@ -343,13 +343,7 @@ void SAL_CALL KDE4FilePicker::appendFilterGroup( const rtl::OUString& , const un
for (sal_uInt16 i = 0; i < length; ++i) for (sal_uInt16 i = 0; i < length; ++i)
{ {
beans::StringPair aPair = filters[i]; beans::StringPair aPair = filters[i];
appendFilter( aPair.First, aPair.Second );
_filter.append(QString("%1|%2").arg(
toQString(aPair.Second).replace(";", " ")).arg(
toQString(aPair.First).replace("/","\\/")));
if (i != length - 1)
_filter.append('\n');
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment