summaryrefslogtreecommitdiff
path: root/unotools/source/config/securityoptions.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-19 16:01:33 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-19 22:07:59 -0200
commit6a1390eaf6464e71668c402d262a21c9192278e9 (patch)
tree8dda8971f5559c941cd4aa8a19af1835c70ace2b /unotools/source/config/securityoptions.cxx
parent55b6485978bbfe17c1355909a5e27d8c846a4ee8 (diff)
Fix for fdo43460 Part XLII getLength() to isEmpty()
Part XLII Modules unotools
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();