[Libreoffice-commits] core.git: cui/source
James Raykowski
raykowj at gmail.com
Wed Jul 26 05:54:46 UTC 2017
cui/source/options/optsave.cxx | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit 343d40206a929969e1755b073edae91cc4bd9751
Author: James Raykowski <raykowj at gmail.com>
Date: Fri Jun 2 18:02:18 2017 -0800
tdf#36747 add sort to match format list in file dialogs
Change-Id: Ia2883bfe4c020b5c9664eef3001fc90a99c82981
Reviewed-on: https://gerrit.libreoffice.org/38375
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
diff --git a/cui/source/options/optsave.cxx b/cui/source/options/optsave.cxx
index 763d902cbd03..b1f59667294d 100644
--- a/cui/source/options/optsave.cxx
+++ b/cui/source/options/optsave.cxx
@@ -410,11 +410,10 @@ void SvxSaveTabPage::Reset( const SfxItemSet* )
{
sal_IntPtr nData = reinterpret_cast<sal_IntPtr>(aDocTypeLB->GetEntryData(n));
OUString sCommand;
- sCommand = "matchByDocumentService=%1:iflags=" +
+ sCommand = "getSortedFilterList():module=%1:iflags=" +
OUString::number(static_cast<int>(SfxFilterFlags::IMPORT|SfxFilterFlags::EXPORT)) +
":eflags=" +
- OUString::number(static_cast<int>(SfxFilterFlags::NOTINFILEDLG)) +
- ":default_first";
+ OUString::number(static_cast<int>(SfxFilterFlags::NOTINFILEDLG));
OUString sReplace;
switch(nData)
{
More information about the Libreoffice-commits
mailing list