summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-13 16:34:48 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-14 21:59:53 +0100
commit7a6df88f2579c4fcfa81eb27f6db9e8e21c9a6f8 (patch)
treef41b8f675ae4f86d058233ff52db7af008009c78
parent7f68bd63afb46576216a3396a116f899aa794515 (diff)
Use = for initialization
...so that an automatic loplugin:cstylecast rewrite (with a to-be-committed enhanced loplugin) won't rewrite that to -Werror,-Wvexing-parse al_Int16 nTmp( sal_Int16(style::ParagraphAdjust_LEFT) ); Change-Id: I27a8b8fea129f9f1d755499bf204a7c8f2b35976 Reviewed-on: https://gerrit.libreoffice.org/47868 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--sd/source/filter/eppt/pptx-text.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/eppt/pptx-text.cxx b/sd/source/filter/eppt/pptx-text.cxx
index 13837d7eceed..cda37dff9ea2 100644
--- a/sd/source/filter/eppt/pptx-text.cxx
+++ b/sd/source/filter/eppt/pptx-text.cxx
@@ -1124,7 +1124,7 @@ void ParagraphObj::ImplGetParagraphValues( PPTExBulletProvider* pBuProv, bool bG
if ( ImplGetPropertyValue( "ParaTabStops", bGetPropStateValue ) )
maTabStop = *o3tl::doAccess<css::uno::Sequence<css::style::TabStop>>(mAny);
- sal_Int16 eTextAdjust( (sal_Int16)css::style::ParagraphAdjust_LEFT );
+ sal_Int16 eTextAdjust = (sal_Int16)css::style::ParagraphAdjust_LEFT;
if ( GetPropertyValue( aAny, mXPropSet, "ParaAdjust", bGetPropStateValue ) )
aAny >>= eTextAdjust;
switch ( (css::style::ParagraphAdjust)eTextAdjust )