embeddedobj/source/msole/oleembed.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3c8ca8203f7e3619768ffa56bf9c1901b161fb2a
Author:     Caolán McNamara <[email protected]>
AuthorDate: Wed Jul 25 09:09:15 2018 +0100
Commit:     Michael Stahl <[email protected]>
CommitDate: Thu Jul 26 10:49:14 2018 +0200

    Resolves: tdf#118919 crash on double click ole object
    
    Change-Id: Id7b3df447db56f6f80d6255dabdcc7f6ab149e95
    Reviewed-on: https://gerrit.libreoffice.org/57967
    Reviewed-by: Eike Rathke <[email protected]>
    Reviewed-by: Markus Mohrhard <[email protected]>
    Reviewed-by: Michael Stahl <[email protected]>
    Tested-by: Michael Stahl <[email protected]>

diff --git a/embeddedobj/source/msole/oleembed.cxx 
b/embeddedobj/source/msole/oleembed.cxx
index e84871d5f304..acb266214c2f 100644
--- a/embeddedobj/source/msole/oleembed.cxx
+++ b/embeddedobj/source/msole/oleembed.cxx
@@ -659,7 +659,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;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to