summaryrefslogtreecommitdiff
path: root/swext
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-10-15 13:05:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-10-15 14:26:07 +0100
commiteacf46e60babff61370dd5e5a4d3bc73fd04d184 (patch)
tree37b15bcd7ce6fa31defd17e2a3b9fc741b08a83a /swext
parent585757d3fe0ae9f796042d75e38b6b1226cdd4a5 (diff)
coverity#1326241 Dereference after null check
Change-Id: I54c00e1d4e5ebccf141293cd97d99efeebda1083
Diffstat (limited to 'swext')
-rw-r--r--swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java b/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java
index ad9e2ca8c1e1..e1f1aac35da3 100644
--- a/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java
+++ b/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java
@@ -308,7 +308,7 @@ public class WikiEditSettingDialog extends WikiDialog
null,
false );
}
- } while ( sRedirectURL.length() > 0 );
+ } while (sRedirectURL != null && sRedirectURL.length() > 0);
}
catch ( WikiCancelException ce )
{