summaryrefslogtreecommitdiff
path: root/package/source/xstor/xstorage.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-07-01 12:07:39 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-07-01 12:07:39 +0000
commitec5b4c10583cc0d929ffc033ef9528392ffa828e (patch)
tree980cd843166c0a80b2b842c8771d68516de6d59b /package/source/xstor/xstorage.cxx
parente01c47adf0bc8b99d504e884c2f0dec4a76fd3ae (diff)
INTEGRATION: CWS xmlfilter05 (1.30.34); FILE MERGED
2008/05/19 12:06:22 hbrinkm 1.30.34.4: RESYNC: (1.31-1.32); FILE MERGED 2008/05/02 11:55:31 hbrinkm 1.30.34.3: RESYNC: (1.30-1.31); FILE MERGED 2008/05/01 17:58:18 mav 1.30.34.2: #i88923# fix the check 2008/05/01 17:52:28 mav 1.30.34.1: #i88923# fix the typo
Diffstat (limited to 'package/source/xstor/xstorage.cxx')
-rw-r--r--package/source/xstor/xstorage.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx
index 61bb22936..30ef89427 100644
--- a/package/source/xstor/xstorage.cxx
+++ b/package/source/xstor/xstorage.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: xstorage.cxx,v $
- * $Revision: 1.32 $
+ * $Revision: 1.33 $
*
* This file is part of OpenOffice.org.
*
@@ -4648,9 +4648,10 @@ uno::Sequence< uno::Sequence< beans::StringPair > > SAL_CALL OStorage::getRelati
for ( sal_Int32 nInd2 = 0; nInd2 < aSeq[nInd1].getLength(); nInd2++ )
if ( aSeq[nInd1][nInd2].First.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Type" ) ) )
{
- if ( aSeq[nInd1][nInd2].Second.equals( sType ) )
+ // the type is usually an URL, so the check should be case insensitive
+ if ( aSeq[nInd1][nInd2].Second.equalsIgnoreAsciiCase( sType ) )
{
- aResult.realloc( nEntriesNum );
+ aResult.realloc( ++nEntriesNum );
aResult[nEntriesNum-1] = aSeq[nInd1];
}
break;