diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-02-06 21:09:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-02-06 21:09:13 +0000 |
commit | f0b3d214338b677cfd6a100a2aa9d92570930d3c (patch) | |
tree | bb21d84fa169294720a9282f4a0c817e080ad27c /swext | |
parent | 77c3b539e1fa50ebd8c6ebfd53888e6f7dd609ac (diff) |
coverity#1326198 Dereference after null check
Change-Id: I3db353d04094ba47fe915ea5dc4d96fc4612cc68
Diffstat (limited to 'swext')
-rw-r--r-- | swext/mediawiki/src/com/sun/star/wiki/Helper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/Helper.java b/swext/mediawiki/src/com/sun/star/wiki/Helper.java index 8b781cc8c341..bde53b39f89c 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/Helper.java +++ b/swext/mediawiki/src/com/sun/star/wiki/Helper.java @@ -191,7 +191,7 @@ public class Helper } } - return m_bShowInBrowser.booleanValue(); + return m_bShowInBrowser != null ? m_bShowInBrowser.booleanValue() : false; } synchronized protected static void SetShowInBrowserByDefault( XComponentContext xContext, boolean bValue ) |