[Libreoffice-commits] core.git: bean/com

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sat Nov 16 19:24:42 UTC 2019


 bean/com/sun/star/comp/beans/OOoBean.java |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit cd173ae7d6646eec21bc3937fc23676b3daab0ff
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Nov 16 17:52:23 2019 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Nov 16 20:23:44 2019 +0100

    cid#1448226 silence RV: Bad use of return value
    
    Change-Id: Ie85ea159ebed117c11a1d5d67c4292be8ca5b8e8
    Reviewed-on: https://gerrit.libreoffice.org/82994
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java
index 742b7dc2e32b..0345d48ca45e 100644
--- a/bean/com/sun/star/comp/beans/OOoBean.java
+++ b/bean/com/sun/star/comp/beans/OOoBean.java
@@ -655,7 +655,10 @@ public class OOoBean
                     {
                         // reactivate old document
                         if ( aFrame != null && aFrame.getController() != null )
-                            aFrame.getController().suspend(false);
+                        {
+                            boolean bResult = aFrame.getController().suspend(false);
+                            dbgPrint( "loadFromURL() .. suspend() -> " + bResult );
+                        }
                         aDocument.setModified(true);
 
                         // throw exception


More information about the Libreoffice-commits mailing list