summaryrefslogtreecommitdiff
path: root/writerfilter/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-10-07 11:29:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-10-07 11:29:47 +0100
commit87fe6acc281ef0d56c84b300c53a50ebddba555b (patch)
treef6f0b433554d4d32231f4e62937a49c6d28231f3 /writerfilter/source
parentb48214a3bec1fda5a1093b92bbdf066dce87e359 (diff)
#i114549# valgrind error in lcl_mergeProps
Diffstat (limited to 'writerfilter/source')
-rw-r--r--writerfilter/source/dmapper/StyleSheetTable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/StyleSheetTable.cxx b/writerfilter/source/dmapper/StyleSheetTable.cxx
index 5f2e2268abb8..5088e8729577 100644
--- a/writerfilter/source/dmapper/StyleSheetTable.cxx
+++ b/writerfilter/source/dmapper/StyleSheetTable.cxx
@@ -235,7 +235,7 @@ void lcl_mergeProps( PropertyMapPtr pToFill, PropertyMapPtr pToAdd, TblStyleTyp
( nStyleId == TBL_STYLE_FIRSTCOL )
};
- for ( int i = 0 ; i < 7; i++ )
+ for ( unsigned i = 0 ; i != sizeof(pPropsToCheck) / sizeof(PropertyIds); i++ )
{
PropertyIds nId = pPropsToCheck[i];
PropertyDefinition aProp( nId, false );