diff options
author | Michael Stahl <mst@openoffice.org> | 2010-09-27 15:30:43 +0200 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2010-09-27 15:30:43 +0200 |
commit | b225430c128823c0d3f8a85b1e32dc955a5b6c26 (patch) | |
tree | 7b7036729d5afd57b3c14ba3c786f24262f8f39b /writerfilter | |
parent | ca97777374b394342c7b27403abe10a5f39d362a (diff) |
sw34bf01: #i114549#: patch by dtardon: fix array limit
Diffstat (limited to 'writerfilter')
-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 8b2dbc4d9756..8dd466340d32 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 ); |