diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-08 13:53:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-09 21:04:23 +0100 |
commit | 34f333445c54c87f3afe777fa467f7a2bb122208 (patch) | |
tree | 542b1f2344c9da43ca33da8afec890acc01e712e /scaddins | |
parent | b4f38d8b788018b3f88421d72bb82ad3bdeef9e2 (diff) |
loplugin:indentation in sd
Change-Id: I8ce307b8c467ac1e3f19faca1df15a079bc14169
Reviewed-on: https://gerrit.libreoffice.org/67563
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'scaddins')
-rw-r--r-- | scaddins/source/analysis/analysishelper.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scaddins/source/analysis/analysishelper.cxx b/scaddins/source/analysis/analysishelper.cxx index 787c99bd3dd8..40cfd180fb71 100644 --- a/scaddins/source/analysis/analysishelper.cxx +++ b/scaddins/source/analysis/analysishelper.cxx @@ -948,10 +948,10 @@ OUString GetString( double f, bool bLeadingSign, sal_uInt16 nMaxDig ) sal_Char aBuff[ nBuff + 1 ]; const char* pFormStr = bLeadingSign? "%+.*g" : "%.*g"; int nLen = snprintf( aBuff, nBuff, pFormStr, int( nMaxDig ), f ); - // you never know which underlying implementation you get ... - aBuff[nBuff] = 0; - if ( nLen < 0 || nLen > nBuff ) - nLen = strlen( aBuff ); + // you never know which underlying implementation you get ... + aBuff[nBuff] = 0; + if ( nLen < 0 || nLen > nBuff ) + nLen = strlen( aBuff ); OUString aRet( aBuff, nLen, RTL_TEXTENCODING_MS_1252 ); |