summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-13 12:56:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-14 21:51:00 +0100
commit7f68bd63afb46576216a3396a116f899aa794515 (patch)
tree3b1d4e974d5320896bfd1cd8404976160a902d06 /oox
parent594a21fd5e13bc4626e22bf06d85822d6de9eebf (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 sal_Int16 nTmp( sal_Int16(style::ParagraphAdjust_LEFT) ); Change-Id: I62072864cb879ca3d45bf941d3dfabdd1c2cabd0 Reviewed-on: https://gerrit.libreoffice.org/47867 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/drawingml.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 3b5b4e699a5e..36787c932a0a 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -2145,7 +2145,7 @@ void DrawingML::WriteParagraphProperties( const Reference< XTextContent >& rPara
sal_Int16 nLevel = -1;
GET( nLevel, NumberingLevel );
- sal_Int16 nTmp( (sal_Int16)style::ParagraphAdjust_LEFT );
+ sal_Int16 nTmp = (sal_Int16)style::ParagraphAdjust_LEFT;
GET( nTmp, ParaAdjust );
style::ParagraphAdjust nAlignment = (style::ParagraphAdjust)nTmp;