summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2013-10-17 23:31:03 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2013-10-17 23:32:10 +0200
commit43ccd83d2598256de2193348c0b3c7f85fb4870e (patch)
tree016464fdffcf4913abace9daeef794f91cd90a77
parentfc357b79e71577916e8d1970c6419619b950bd1c (diff)
URI schemes must be matched case-insensitive
Change-Id: I0ca761cdbf2509ab225101984484905c94e8b3a1
-rw-r--r--sw/source/core/graphic/ndgrf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx
index 1cd2bd506763..ef84d5d45f6a 100644
--- a/sw/source/core/graphic/ndgrf.cxx
+++ b/sw/source/core/graphic/ndgrf.cxx
@@ -479,7 +479,7 @@ StreamAndStorageNames lcl_GetStreamStorageNames( const OUString sUserData )
return aNames;
const OUString aProt( "vnd.sun.star.Package:" );
- if (sUserData.startsWith(aProt))
+ if (sUserData.startsWithIgnoreAsciiCase(aProt))
{
// 6.0 (XML) Package
const sal_Int32 nPos = sUserData.indexOf('/');