diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-07 11:29:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-07 11:29:47 +0100 |
commit | 87fe6acc281ef0d56c84b300c53a50ebddba555b (patch) | |
tree | f6f0b433554d4d32231f4e62937a49c6d28231f3 /writerfilter/source | |
parent | b48214a3bec1fda5a1093b92bbdf066dce87e359 (diff) |
#i114549# valgrind error in lcl_mergeProps
Diffstat (limited to 'writerfilter/source')
-rw-r--r-- | writerfilter/source/dmapper/StyleSheetTable.cxx | 2 |
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 ); |