summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/doc/guisaveas.cxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index a1ab9ca47d02..52eb9ee9e5c2 100644
--- a/sfx2/source/doc/guisaveas.cxx
+++ b/sfx2/source/doc/guisaveas.cxx
@@ -1659,16 +1659,14 @@ bool SfxStoringHelper::CheckFilterOptionsAppearance(
if( xFilterCFG.is() )
{
try {
- uno::Sequence < beans::PropertyValue > aProps;
+ uno::Sequence < beans::PropertyValue > aProps;
uno::Any aAny = xFilterCFG->getByName( aFilterName );
- if ( aAny >>= aProps )
- {
+ if ( aAny >>= aProps )
+ {
::comphelper::SequenceAsHashMap aPropsHM( aProps );
- OUString aServiceName = aPropsHM.getUnpackedValueOrDefault(
- "UIComponent",
- OUString() );
+ OUString aServiceName = aPropsHM.getUnpackedValueOrDefault( "UIComponent", OUString() );
if( !aServiceName.isEmpty() )
- bUseFilterOptions = true;
+ bUseFilterOptions = true;
}
}
catch( const uno::Exception& )