[Libreoffice-commits] .: svtools/source

Stephan Bergmann sbergmann at kemper.freedesktop.org
Wed Feb 15 12:58:55 PST 2012


 svtools/source/misc/imap2.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 715ac8c1b402e33930317a69bbdd61ad88133740
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Feb 15 21:55:57 2012 +0100

    Fixed some more apparent misuses of RTL_CONSTASCII_USTRINGPARAM

diff --git a/svtools/source/misc/imap2.cxx b/svtools/source/misc/imap2.cxx
index 60225a8..c29525b 100644
--- a/svtools/source/misc/imap2.cxx
+++ b/svtools/source/misc/imap2.cxx
@@ -536,8 +536,8 @@ sal_uLong ImageMap::ImpDetectFormat( SvStream& rIStm )
             aStr = aStr.toAsciiLowerCase();
 
             if ( (aStr.indexOfL(RTL_CONSTASCII_STRINGPARAM("rect")) != -1) ||
-                 (aStr.indexOfL(RTL_CONSTASCII_USTRINGPARAM("circ")) != -1) ||
-                 (aStr.indexOfL(RTL_CONSTASCII_USTRINGPARAM("poly")) != -1) )
+                 (aStr.indexOfL(RTL_CONSTASCII_STRINGPARAM("circ")) != -1) ||
+                 (aStr.indexOfL(RTL_CONSTASCII_STRINGPARAM("poly")) != -1) )
             {
                 if ( ( aStr.indexOf('(') != -1 ) &&
                      ( aStr.indexOf(')') != -1 ) )


More information about the Libreoffice-commits mailing list