sd/source/filter/eppt/pptx-text.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7a6df88f2579c4fcfa81eb27f6db9e8e21c9a6f8 Author: Stephan Bergmann <sberg...@redhat.com> Date: Sat Jan 13 16:34:48 2018 +0100 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 <c...@libreoffice.org> Reviewed-by: Stephan Bergmann <sberg...@redhat.com> 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 ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits