diff options
Diffstat (limited to 'svtools/source/misc/imap2.cxx')
-rw-r--r-- | svtools/source/misc/imap2.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/svtools/source/misc/imap2.cxx b/svtools/source/misc/imap2.cxx index 252346b48c95..60225a86d9f9 100644 --- a/svtools/source/misc/imap2.cxx +++ b/svtools/source/misc/imap2.cxx @@ -535,11 +535,9 @@ sal_uLong ImageMap::ImpDetectFormat( SvStream& rIStm ) { aStr = aStr.toAsciiLowerCase(); - using comphelper::string::indexOfL; - - if ( (indexOfL(aStr, RTL_CONSTASCII_STRINGPARAM("rect")) != -1) || - (indexOfL(aStr, RTL_CONSTASCII_USTRINGPARAM("circ")) != -1) || - (indexOfL(aStr, RTL_CONSTASCII_USTRINGPARAM("poly")) != -1) ) + if ( (aStr.indexOfL(RTL_CONSTASCII_STRINGPARAM("rect")) != -1) || + (aStr.indexOfL(RTL_CONSTASCII_USTRINGPARAM("circ")) != -1) || + (aStr.indexOfL(RTL_CONSTASCII_USTRINGPARAM("poly")) != -1) ) { if ( ( aStr.indexOf('(') != -1 ) && ( aStr.indexOf(')') != -1 ) ) |