summaryrefslogtreecommitdiff
path: root/swext
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-01-15 10:13:19 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-01-15 20:24:47 +0000
commit65abc5e30181d68baf47e18d2b7b0292be7f92f1 (patch)
tree7b726ddafb5e3d8a8a82ba32325ec311a4f9cc7c /swext
parent570087e762613d83a40943244ddf2951d63c3375 (diff)
coverity#1326413 Dereference null return value
Change-Id: Icd3728ca151ede50ab41ad7fbb150a3054df6739
Diffstat (limited to 'swext')
-rw-r--r--swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog.java b/swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog.java
index 0ff4cfa1b95e..9ac41d4d316c 100644
--- a/swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog.java
+++ b/swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog.java
@@ -318,7 +318,7 @@ public class WikiPropDialog extends WikiDialog{
{
try
{
- if ( m_aWikiEditor != null )
+ if (m_aWikiEditor != null && aWikiSettings != null)
{
m_bAction = m_aWikiEditor.SendArticleImpl(
WikiPropDialog.this, aWikiSettings);