summaryrefslogtreecommitdiff
path: root/unotools/source/config/securityoptions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/config/securityoptions.cxx')
-rw-r--r--unotools/source/config/securityoptions.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/config/securityoptions.cxx b/unotools/source/config/securityoptions.cxx
index cb925a240174..2b762f0adae2 100644
--- a/unotools/source/config/securityoptions.cxx
+++ b/unotools/source/config/securityoptions.cxx
@@ -902,7 +902,7 @@ sal_Bool SvtSecurityOptions_Impl::IsSecureURL( const OUString& sURL ,
// Trusted referer given?
// NO => bState will be false per default
// YES => search for it in our internal url list
- if( sReferer.getLength() > 0 )
+ if( !sReferer.isEmpty() )
{
// Search in internal list
::rtl::OUString sRef = sReferer.toAsciiLowerCase();