diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-05 10:10:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-05 10:10:35 +0200 |
commit | 366d6ec035c106d358fe6e4bfafb4dc7e9e12150 (patch) | |
tree | 2b5e001280c2564cae3da8ae608f9b43221487ca /basctl | |
parent | ce92e1e5184a60eef627d5abb11d2b1cbe9c70c3 (diff) |
clang-analyzer-deadcode.DeadStores
Change-Id: I886253de9980082186c41d361eb5a30e5f3923bc
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/dlged/dlged.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx index 47f244417cef..6c18a8c13008 100644 --- a/basctl/source/dlged/dlged.cxx +++ b/basctl/source/dlged/dlged.cxx @@ -649,11 +649,11 @@ void DlgEditor::Cut() void implCopyStreamToByteSequence( Reference< XInputStream > xStream, Sequence< sal_Int8 >& bytes ) { - sal_Int32 nRead = xStream->readBytes( bytes, xStream->available() ); + xStream->readBytes( bytes, xStream->available() ); for (;;) { Sequence< sal_Int8 > readBytes; - nRead = xStream->readBytes( readBytes, 1024 ); + sal_Int32 nRead = xStream->readBytes( readBytes, 1024 ); if (! nRead) break; |