summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/storage.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-12 15:40:44 +0200
committerNoel Grandin <noel@peralex.com>2016-01-13 08:44:45 +0200
commitfa7c7b160136e4b08bc1e1aef9017d4596ad6184 (patch)
treeec123062f175d9322d76c6b7311cc71c8e290e6a /sot/source/sdstor/storage.cxx
parent38c23520d40749ff21b6b1ed5f5c0375d40fe1fc (diff)
loplugin:unusedmethods unused return value in include/sot
Change-Id: I8da6d5f60b6c65ff0da8659045da1cd7666fb1d9
Diffstat (limited to 'sot/source/sdstor/storage.cxx')
-rw-r--r--sot/source/sdstor/storage.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx
index 9cdc66ea5e14..9abf9ccda276 100644
--- a/sot/source/sdstor/storage.cxx
+++ b/sot/source/sdstor/storage.cxx
@@ -195,7 +195,7 @@ sal_uInt64 SotStorageStream::remainingSize()
return SvStream::remainingSize();
}
-bool SotStorageStream::CopyTo( SotStorageStream * pDestStm )
+void SotStorageStream::CopyTo( SotStorageStream * pDestStm )
{
Flush(); // alle Daten schreiben
pDestStm->ClearBuffer();
@@ -226,7 +226,6 @@ bool SotStorageStream::CopyTo( SotStorageStream * pDestStm )
pOwnStm->CopyTo( pDestStm->pOwnStm );
SetError( pOwnStm->GetError() );
}
- return GetError() == SVSTREAM_OK;
}
bool SotStorageStream::Commit()