diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-14 12:37:57 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-14 19:33:15 +0100 |
commit | 64440bee7fdab52f2b913b5d37edd7bcc5b0e412 (patch) | |
tree | e375ba5ba4ed889d06f38285613087306f0ae09a | |
parent | e8c348a0e5a9b00e8b63cd55b6fd9aa0a7e759fa (diff) |
indentation fixes
Change-Id: I93bf9ab7ed32e60b735ad04b5da3de3c9aea6501
-rw-r--r-- | writerfilter/source/dmapper/DomainMapper_Impl.cxx | 8 | ||||
-rw-r--r-- | writerfilter/source/dmapper/SdtHelper.cxx | 20 |
2 files changed, 14 insertions, 14 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx index 78d236b8a9a5..31e828b227bc 100644 --- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx +++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx @@ -3191,10 +3191,10 @@ void DomainMapper_Impl::handleToc //todo: what doesn 'the applied paragraph outline level' refer to? } // \w Preserve tab characters within table entries - if( lcl_FindInCommand( pContext->GetCommand(), 'w', sValue )) - { - bIsTabEntry = true ; - } + if( lcl_FindInCommand( pContext->GetCommand(), 'w', sValue )) + { + bIsTabEntry = true ; + } // \x Preserve newline characters within table entries if( lcl_FindInCommand( pContext->GetCommand(), 'x', sValue )) { diff --git a/writerfilter/source/dmapper/SdtHelper.cxx b/writerfilter/source/dmapper/SdtHelper.cxx index bc91634614f1..1c98e6f03382 100644 --- a/writerfilter/source/dmapper/SdtHelper.cxx +++ b/writerfilter/source/dmapper/SdtHelper.cxx @@ -93,18 +93,18 @@ void SdtHelper::createDropDownControl() void SdtHelper::createDateControl(OUString& rContentText, beans::PropertyValue aCharFormat) { uno::Reference<awt::XControlModel> xControlModel; - try { - xControlModel.set( - m_rDM_Impl.GetTextFactory()->createInstance( - "com.sun.star.form.component.DateField"), - uno::UNO_QUERY_THROW); - } catch (css::uno::RuntimeException &) { + try + { + xControlModel.set(m_rDM_Impl.GetTextFactory()->createInstance("com.sun.star.form.component.DateField"), uno::UNO_QUERY_THROW); + } + catch (css::uno::RuntimeException&) + { throw; - } catch (css::uno::Exception & e) { + } + catch (css::uno::Exception& e) + { css::uno::Any a(cppu::getCaughtException()); - throw css::lang::WrappedTargetRuntimeException( - "wrapped " + a.getValueTypeName() + ": " + e.Message, - css::uno::Reference<css::uno::XInterface>(), a); + throw css::lang::WrappedTargetRuntimeException("wrapped " + a.getValueTypeName() + ": " + e.Message, css::uno::Reference<css::uno::XInterface>(), a); } uno::Reference<beans::XPropertySet> xPropertySet( xControlModel, uno::UNO_QUERY_THROW); |