summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-05-17 11:19:42 +0200
committerNoel Grandin <noel@peralex.com>2013-05-21 08:23:59 +0200
commit53d083213358b14b465f68339328252560cb1255 (patch)
treec878881319dfee76750de69ac4255ea44b154dab
parent5ab3015aaec7bea309721fcf04af06c8c1519fcb (diff)
fix alignment in code
Change-Id: I0272e46cf34b52f578810ad0d17f33dd78accdd3
-rw-r--r--sfx2/source/doc/guisaveas.cxx18
1 files changed, 10 insertions, 8 deletions
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index f5e6a1b6e5e8..a2701549606a 100644
--- a/sfx2/source/doc/guisaveas.cxx
+++ b/sfx2/source/doc/guisaveas.cxx
@@ -570,15 +570,16 @@ sal_Bool ModelData_Impl::ExecuteFilterDialog_Impl( const OUString& aFilterName )
try {
uno::Sequence < beans::PropertyValue > aProps;
- uno::Any aAny = m_pOwner->GetFilterConfiguration()->getByName( aFilterName );
- if ( aAny >>= aProps )
- {
- sal_Int32 nPropertyCount = aProps.getLength();
- for( sal_Int32 nProperty=0; nProperty < nPropertyCount; ++nProperty )
- if( aProps[nProperty].Name == "UIComponent" )
- {
+ uno::Any aAny = m_pOwner->GetFilterConfiguration()->getByName( aFilterName );
+ if ( aAny >>= aProps )
+ {
+ sal_Int32 nPropertyCount = aProps.getLength();
+ for( sal_Int32 nProperty=0; nProperty < nPropertyCount; ++nProperty )
+ {
+ if( aProps[nProperty].Name == "UIComponent" )
+ {
OUString aServiceName;
- aProps[nProperty].Value >>= aServiceName;
+ aProps[nProperty].Value >>= aServiceName;
if( !aServiceName.isEmpty() )
{
uno::Reference< ui::dialogs::XExecutableDialog > xFilterDialog(
@@ -616,6 +617,7 @@ sal_Bool ModelData_Impl::ExecuteFilterDialog_Impl( const OUString& aFilterName )
break;
}
+ }
}
}
catch( const container::NoSuchElementException& )