diff options
author | Noel <noelgrandin@gmail.com> | 2020-09-30 09:38:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-09-30 12:32:18 +0200 |
commit | 9373320fc88c1582a2ad25bda9c5264c7c58a97e (patch) | |
tree | ee2df8944d7af2080498b991ed46429e0a020947 /sw/source/filter/xml | |
parent | 37b81dd54a915223780a6b5efa54ce45db332604 (diff) |
loplugin:reducevarscope in sw
Change-Id: Ifed7220c6acf7049b2985f1911a806b37a54d794
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103646
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/xml')
-rw-r--r-- | sw/source/filter/xml/xmlimpit.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/xml/xmlimpit.cxx b/sw/source/filter/xml/xmlimpit.cxx index aab0a0069273..1a0978bc9bbd 100644 --- a/sw/source/filter/xml/xmlimpit.cxx +++ b/sw/source/filter/xml/xmlimpit.cxx @@ -953,9 +953,9 @@ bool SvXMLImportItemMapper::PutXMLValue( break; } - sal_Int32 nValue; if( bSetHeight || bSetWidth ) { + sal_Int32 nValue; bOk = rUnitConverter.convertMeasureToCore(nValue, rValue, nMin, USHRT_MAX ); if( bOk ) |