summaryrefslogtreecommitdiffstats
path: root/cui
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:21:25 +0200
commit128feab3849548e5cd897bf418ffa13223a51996 (patch)
tree88478f1d4a86cb6932bc4e72165941d8f5f57542 /cui
parentMerge branch 'master' of git://anongit.freedesktop.org/libreoffice/components (diff)
downloadcore-128feab3849548e5cd897bf418ffa13223a51996.tar.gz
core-128feab3849548e5cd897bf418ffa13223a51996.zip
fix for bug fdo 36519
Use human readable format name instead of internal filter names in Load/save options UI
Diffstat (limited to 'cui')
-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 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<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"))
{