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 | b276cc9c46e6bcc3265a879e578e87896ce7dfcb (patch) | |
tree | 630dcd9cf4f05e35f968eaa3b50d2037ddebfe80 | |
parent | 51adaf7fc085fbed4f02d3276dcd36726caab286 (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 4e98d909a..eba8cf1b5 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")) { |