From 128feab3849548e5cd897bf418ffa13223a51996 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Faure Date: Wed, 1 Jun 2011 13:14:49 +0200 Subject: [PATCH] fix for bug fdo 36519 Use human readable format name instead of internal filter names in Load/save options UI --- cui/source/options/optsave.cxx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/cui/source/options/optsave.cxx b/cui/source/options/optsave.cxx index df99ea8f597f..886d94935216 100644 --- a/cui/source/options/optsave.cxx +++ b/cui/source/options/optsave.cxx @@ -558,20 +558,13 @@ IMPL_LINK( SfxSaveTabPage, AutoClickHdl_Impl, CheckBox *, pBox ) OUString lcl_ExtracUIName(const Sequence rProperties) { OUString sRet; - sal_Int32 nFlags; const PropertyValue* pProperties = rProperties.getConstArray(); for(int nProp = 0; nProp < rProperties.getLength(); nProp++) { if(!pProperties[nProp].Name.compareToAscii("UIName")) { pProperties[nProp].Value >>= sRet; - } - else if(!pProperties[nProp].Name.compareToAscii("Flags")) - { - if ( pProperties[nProp].Value >>= nFlags ) - { - nFlags &= 0x100; - } + break; } else if(!pProperties[nProp].Name.compareToAscii("Name")) {