summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Faure <jbf.faure@orange.fr>2011-06-01 13:14:49 +0200
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-06-01 15:20:25 +0200
commitff2af03b4838416b5b276cac40180154bf8a00a0 (patch)
tree6b8fd5df9876962bebea2e8fa18042e0324b0e1a
parent3da3256d9b33b4c63dea3b19c00e53685a10358f (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.cxx9
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"))
{