fix for bug fdo 36519
Use human readable format name instead of internal filter names in Load/save options UI
This commit is contained in:
parent
36472f4f40
commit
128feab384
1 changed files with 1 additions and 8 deletions
|
@ -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"))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue