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
//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 ))
{
......
......@@ -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);
......
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