diff options
author | Jean-Baptiste Faure <jbf.faure@orange.fr> | 2011-06-01 13:14:49 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2011-06-01 15:20:25 +0200 |
commit | ff2af03b4838416b5b276cac40180154bf8a00a0 (patch) | |
tree | 6b8fd5df9876962bebea2e8fa18042e0324b0e1a | |
parent | 3da3256d9b33b4c63dea3b19c00e53685a10358f (diff) |
fix for bug fdo 36519
Use human readable format name instead of internal filter names in Load/save options UI
-rw-r--r-- | cui/source/options/optsave.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/cui/source/options/optsave.cxx b/cui/source/options/optsave.cxx index 12b00d0ec45b..e914524dc597 100644 --- a/cui/source/options/optsave.cxx +++ b/cui/source/options/optsave.cxx @@ -557,20 +557,13 @@ IMPL_LINK( SfxSaveTabPage, AutoClickHdl_Impl, CheckBox *, pBox ) OUString lcl_ExtracUIName(const Sequence<PropertyValue> 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")) { |