summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/DomainMapperTableManager.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-10 12:30:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-11 07:01:24 +0100
commit743d5604c22e2c599ec22c1afd8c7c02388d575f (patch)
tree6679a10446e504b108449f1e4fb53df66034aa51 /writerfilter/source/dmapper/DomainMapperTableManager.cxx
parent2fab2c9d494035cc55d0bc56a47e784be6e64510 (diff)
loplugin:indentation in writerfilter..xmloff
Change-Id: Ibda157508e92ab5fb222daf79a38941c30a8057e Reviewed-on: https://gerrit.libreoffice.org/67611 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerfilter/source/dmapper/DomainMapperTableManager.cxx')
-rw-r--r--writerfilter/source/dmapper/DomainMapperTableManager.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/writerfilter/source/dmapper/DomainMapperTableManager.cxx b/writerfilter/source/dmapper/DomainMapperTableManager.cxx
index b920af4a726a..5e0f322648be 100644
--- a/writerfilter/source/dmapper/DomainMapperTableManager.cxx
+++ b/writerfilter/source/dmapper/DomainMapperTableManager.cxx
@@ -299,18 +299,18 @@ bool DomainMapperTableManager::sprm(Sprm & rSprm)
break;
case NS_ooxml::LN_Value_ST_TextDirection_btLr:
{
- // We have to fake this text direction
- pPropMap->Insert( PROP_FRM_DIRECTION, uno::makeAny( text::WritingMode2::LR_TB ));
- pPropMap->Insert( PROP_CHAR_ROTATION, uno::makeAny( sal_Int16( 900 ) ));
- SAL_INFO( "writerfilter", "Have inserted textDirection " << nIntValue );
+ // We have to fake this text direction
+ pPropMap->Insert( PROP_FRM_DIRECTION, uno::makeAny( text::WritingMode2::LR_TB ));
+ pPropMap->Insert( PROP_CHAR_ROTATION, uno::makeAny( sal_Int16( 900 ) ));
+ SAL_INFO( "writerfilter", "Have inserted textDirection " << nIntValue );
- // We're faking a text direction, so don't allow multiple lines.
- if (!getCellProps() || !getCellProps()->isSet(PROP_VERTICAL_MERGE))
- {
- // Though in case there will be a vertical merge, don't do this, it hides text that is supposed to be visible.
- m_bRowSizeTypeInserted = true;
- }
- m_bHasBtlrCell = true;
+ // We're faking a text direction, so don't allow multiple lines.
+ if (!getCellProps() || !getCellProps()->isSet(PROP_VERTICAL_MERGE))
+ {
+ // Though in case there will be a vertical merge, don't do this, it hides text that is supposed to be visible.
+ m_bRowSizeTypeInserted = true;
+ }
+ m_bHasBtlrCell = true;
}
break;
case NS_ooxml::LN_Value_ST_TextDirection_lrTbV: