Kaydet (Commit) 64440bee authored tarafından Miklos Vajna's avatar Miklos Vajna

indentation fixes

Change-Id: I93bf9ab7ed32e60b735ad04b5da3de3c9aea6501
üst e8c348a0
...@@ -3191,10 +3191,10 @@ void DomainMapper_Impl::handleToc ...@@ -3191,10 +3191,10 @@ void DomainMapper_Impl::handleToc
//todo: what doesn 'the applied paragraph outline level' refer to? //todo: what doesn 'the applied paragraph outline level' refer to?
} }
// \w Preserve tab characters within table entries // \w Preserve tab characters within table entries
if( lcl_FindInCommand( pContext->GetCommand(), 'w', sValue )) if( lcl_FindInCommand( pContext->GetCommand(), 'w', sValue ))
{ {
bIsTabEntry = true ; bIsTabEntry = true ;
} }
// \x Preserve newline characters within table entries // \x Preserve newline characters within table entries
if( lcl_FindInCommand( pContext->GetCommand(), 'x', sValue )) if( lcl_FindInCommand( pContext->GetCommand(), 'x', sValue ))
{ {
......
...@@ -93,18 +93,18 @@ void SdtHelper::createDropDownControl() ...@@ -93,18 +93,18 @@ void SdtHelper::createDropDownControl()
void SdtHelper::createDateControl(OUString& rContentText, beans::PropertyValue aCharFormat) void SdtHelper::createDateControl(OUString& rContentText, beans::PropertyValue aCharFormat)
{ {
uno::Reference<awt::XControlModel> xControlModel; uno::Reference<awt::XControlModel> xControlModel;
try { try
xControlModel.set( {
m_rDM_Impl.GetTextFactory()->createInstance( xControlModel.set(m_rDM_Impl.GetTextFactory()->createInstance("com.sun.star.form.component.DateField"), uno::UNO_QUERY_THROW);
"com.sun.star.form.component.DateField"), }
uno::UNO_QUERY_THROW); catch (css::uno::RuntimeException&)
} catch (css::uno::RuntimeException &) { {
throw; throw;
} catch (css::uno::Exception & e) { }
catch (css::uno::Exception& e)
{
css::uno::Any a(cppu::getCaughtException()); css::uno::Any a(cppu::getCaughtException());
throw css::lang::WrappedTargetRuntimeException( throw css::lang::WrappedTargetRuntimeException("wrapped " + a.getValueTypeName() + ": " + e.Message, css::uno::Reference<css::uno::XInterface>(), a);
"wrapped " + a.getValueTypeName() + ": " + e.Message,
css::uno::Reference<css::uno::XInterface>(), a);
} }
uno::Reference<beans::XPropertySet> xPropertySet( uno::Reference<beans::XPropertySet> xPropertySet(
xControlModel, uno::UNO_QUERY_THROW); xControlModel, uno::UNO_QUERY_THROW);
......
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