diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-19 16:02:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-20 07:50:06 +0200 |
commit | 6ee9f2c188290ba8a8bc6d435f645b31a05783ea (patch) | |
tree | 60a58e7c8995d64f3b22cf228480284172b6a17c /basic/source/runtime/iosys.cxx | |
parent | 9c2b43e86fbb7612a58f6e55bc429f674977d6dd (diff) |
loplugin:oncevar accessibility..basic
Change-Id: I8fb41b658ef0f6ad1774ea897eace3dc9bb12de6
Reviewed-on: https://gerrit.libreoffice.org/38969
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source/runtime/iosys.cxx')
-rw-r--r-- | basic/source/runtime/iosys.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx index 5782026bc946..472c4321e0ec 100644 --- a/basic/source/runtime/iosys.cxx +++ b/basic/source/runtime/iosys.cxx @@ -589,10 +589,9 @@ void SbiStream::ExpandFile() if( nCur < nExpandOnWriteTo ) { sal_uInt64 nDiff = nExpandOnWriteTo - nCur; - char c = 0; while( nDiff-- ) { - pStrm->WriteChar( c ); + pStrm->WriteChar( 0 ); } } else |