diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-19 16:01:33 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-19 22:07:59 -0200 |
commit | 6a1390eaf6464e71668c402d262a21c9192278e9 (patch) | |
tree | 8dda8971f5559c941cd4aa8a19af1835c70ace2b /unotools/source/config/securityoptions.cxx | |
parent | 55b6485978bbfe17c1355909a5e27d8c846a4ee8 (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.cxx | 2 |
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(); |