summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOcke Janssen [oj] <Ocke.Janssen@sun.com>2009-12-01 07:17:18 +0100
committerOcke Janssen [oj] <Ocke.Janssen@sun.com>2009-12-01 07:17:18 +0100
commitceadb85b48b6c6baaeb2e751fa519a53ac99ed57 (patch)
tree7cb376ce8bbbf15979a29301cc7cdb910b68d666
parentd14913816d74d0f8105e6d46d86a6617eb2cd773 (diff)
comparison between signed and unsigned integer expressions
-rw-r--r--reportdesign/source/filter/xml/xmlExport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/filter/xml/xmlExport.cxx b/reportdesign/source/filter/xml/xmlExport.cxx
index a4032b35f073..aff63a9eb6f8 100644
--- a/reportdesign/source/filter/xml/xmlExport.cxx
+++ b/reportdesign/source/filter/xml/xmlExport.cxx
@@ -1639,8 +1639,8 @@ void ORptExport::exportGroupsExpressionAsFunction(const Reference< XGroups>& _xG
if ( sFunction.getLength() )
{
sal_Unicode pReplaceChars[] = { '(',')',';',',','+','-','[',']','/','*'};
- for(sal_Int32 i= 0; i < sizeof(pReplaceChars)/sizeof(pReplaceChars[0]);++i)
- sFunctionName = sFunctionName.replace(pReplaceChars[i],'_');
+ for(sal_uInt32 j= 0; j < sizeof(pReplaceChars)/sizeof(pReplaceChars[0]);++j)
+ sFunctionName = sFunctionName.replace(pReplaceChars[j],'_');
xFunction->setName(sFunctionName);
sFunction = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("rpt:")) + sFunction;