[Libreoffice-commits] core.git: basctl/source
Stephan Bergmann
sbergman at redhat.com
Mon Oct 5 01:11:07 PDT 2015
basctl/source/dlged/dlged.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 366d6ec035c106d358fe6e4bfafb4dc7e9e12150
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Oct 5 10:10:35 2015 +0200
clang-analyzer-deadcode.DeadStores
Change-Id: I886253de9980082186c41d361eb5a30e5f3923bc
diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx
index 47f2444..6c18a8c 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;
More information about the Libreoffice-commits
mailing list