Kaydet (Commit) 53d08321 authored tarafından Noel Grandin's avatar Noel Grandin

fix alignment in code

Change-Id: I0272e46cf34b52f578810ad0d17f33dd78accdd3
üst 5ab3015a
...@@ -570,15 +570,16 @@ sal_Bool ModelData_Impl::ExecuteFilterDialog_Impl( const OUString& aFilterName ) ...@@ -570,15 +570,16 @@ sal_Bool ModelData_Impl::ExecuteFilterDialog_Impl( const OUString& aFilterName )
try { try {
uno::Sequence < beans::PropertyValue > aProps; uno::Sequence < beans::PropertyValue > aProps;
uno::Any aAny = m_pOwner->GetFilterConfiguration()->getByName( aFilterName ); uno::Any aAny = m_pOwner->GetFilterConfiguration()->getByName( aFilterName );
if ( aAny >>= aProps ) if ( aAny >>= aProps )
{ {
sal_Int32 nPropertyCount = aProps.getLength(); sal_Int32 nPropertyCount = aProps.getLength();
for( sal_Int32 nProperty=0; nProperty < nPropertyCount; ++nProperty ) for( sal_Int32 nProperty=0; nProperty < nPropertyCount; ++nProperty )
if( aProps[nProperty].Name == "UIComponent" ) {
{ if( aProps[nProperty].Name == "UIComponent" )
{
OUString aServiceName; OUString aServiceName;
aProps[nProperty].Value >>= aServiceName; aProps[nProperty].Value >>= aServiceName;
if( !aServiceName.isEmpty() ) if( !aServiceName.isEmpty() )
{ {
uno::Reference< ui::dialogs::XExecutableDialog > xFilterDialog( uno::Reference< ui::dialogs::XExecutableDialog > xFilterDialog(
...@@ -616,6 +617,7 @@ sal_Bool ModelData_Impl::ExecuteFilterDialog_Impl( const OUString& aFilterName ) ...@@ -616,6 +617,7 @@ sal_Bool ModelData_Impl::ExecuteFilterDialog_Impl( const OUString& aFilterName )
break; break;
} }
}
} }
} }
catch( const container::NoSuchElementException& ) catch( const container::NoSuchElementException& )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment