summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-11-16 17:52:23 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-11-16 20:23:44 +0100
commitcd173ae7d6646eec21bc3937fc23676b3daab0ff (patch)
treeee5f3985105ad302faf3133d009c07ba9f647f42
parent5b374877b573cf716123a0d0c04a84ccc91e8c86 (diff)
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@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--bean/com/sun/star/comp/beans/OOoBean.java5
1 files changed, 4 insertions, 1 deletions
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