[Libreoffice-commits] core.git: Branch 'libreoffice-6-1-0' - embeddedobj/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Jul 26 08:49:11 UTC 2018
embeddedobj/source/msole/oleembed.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 42a078c1977bbc174c8dfe06294734d07f8807f9
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jul 25 09:09:15 2018 +0100
Commit: Michael Stahl <Michael.Stahl at cib.de>
CommitDate: Thu Jul 26 10:48:50 2018 +0200
Resolves: tdf#118919 crash on double click ole object
Change-Id: Id7b3df447db56f6f80d6255dabdcc7f6ab149e95
Reviewed-on: https://gerrit.libreoffice.org/57955
Reviewed-by: Eike Rathke <erack at redhat.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
Reviewed-by: Michael Stahl <Michael.Stahl at cib.de>
Tested-by: Michael Stahl <Michael.Stahl at cib.de>
diff --git a/embeddedobj/source/msole/oleembed.cxx b/embeddedobj/source/msole/oleembed.cxx
index 64d95c3d7a56..77a022442917 100644
--- a/embeddedobj/source/msole/oleembed.cxx
+++ b/embeddedobj/source/msole/oleembed.cxx
@@ -658,7 +658,7 @@ namespace
{
bool lcl_CopyStream(const uno::Reference<io::XInputStream>& xIn, const uno::Reference<io::XOutputStream>& xOut, sal_Int32 nMaxCopy = SAL_MAX_INT32)
{
- if (nMaxCopy == 0)
+ if (nMaxCopy <= 0)
return false;
const sal_Int32 nChunkSize = 4096;
More information about the Libreoffice-commits
mailing list