summaryrefslogtreecommitdiff
path: root/swext
diff options
context:
space:
mode:
Diffstat (limited to 'swext')
-rw-r--r--swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java b/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java
index 2c74d4070522..aa95ea4a6016 100644
--- a/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java
+++ b/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java
@@ -233,13 +233,13 @@ public class WikiEditSettingDialog extends WikiDialog
//the URL is valid
String sMainURL = Helper.GetMainURL( sWebPage, sURL );
- if ( sMainURL.equals( "" ) )
+ if ( sMainURL.length() == 0 )
{
// TODO:
// it's not a Wiki Page, check first whether a redirect is requested
// happens usually in case of https
sRedirectURL = Helper.GetRedirectURL( sWebPage, sURL );
- if ( sRedirectURL.equals( "" ) )
+ if ( sRedirectURL.length() == 0 )
{
// show error
Helper.ShowError( m_xContext,