diff options
author | James Raykowski <raykowj@gmail.com> | 2017-06-02 18:02:18 -0800 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-07-26 07:54:03 +0200 |
commit | 343d40206a929969e1755b073edae91cc4bd9751 (patch) | |
tree | fe3b8d5723858fd326bfa161c17af1fd299a7b8a /cui | |
parent | 46bfe17e2bceced4ceffe82ba98d8687b31d9ce8 (diff) |
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@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optsave.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
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) { |