summaryrefslogtreecommitdiff
path: root/package/source/xstor
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
commit3857760d3bfba3b59a275da32936919e3ee535cc (patch)
treeed8821d1fbd6c1a27d508a684e80e12dc4ec00bf /package/source/xstor
parent98251326909dc3d20803994d50309f65763f43f6 (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')
-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 95c5c87621a7..7857fa9439f6 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;