diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-15 09:25:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-15 20:59:31 +0200 |
commit | 61d8db6b1a2026a29f61eaa691beb3c6cf05de5c (patch) | |
tree | fc81eda81cf811256290c3e564166ef217f8268e /sc/source/filter/oox | |
parent | 7baa60a5e9a8c48829f47db8cd98d0f05a30e235 (diff) |
loplugin:buriedassign in sc
Change-Id: I9b4146c4e8814a36c7bfcd4c31f913c8412320e8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92244
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter/oox')
-rw-r--r-- | sc/source/filter/oox/formulabase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/oox/formulabase.cxx b/sc/source/filter/oox/formulabase.cxx index 6d8d884c767d..b2c074a1d277 100644 --- a/sc/source/filter/oox/formulabase.cxx +++ b/sc/source/filter/oox/formulabase.cxx @@ -1544,7 +1544,7 @@ OUString FormulaProcessorBase::generateAddress2dString( const BinAddress& rAddre { OUStringBuffer aBuffer; // column - for( sal_Int32 nTemp = rAddress.mnCol; nTemp >= 0; (nTemp /= 26) -= 1 ) + for( sal_Int32 nTemp = rAddress.mnCol; nTemp >= 0; nTemp = (nTemp / 26) - 1 ) aBuffer.insert( 0, sal_Unicode( 'A' + (nTemp % 26) ) ); if( bAbsolute ) aBuffer.insert( 0, '$' ); |