sc/source/core/tool/viewopti.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
New commits: commit 2481043fcf4774d45f1577b161aa1aafbe6d3540 Author: Fridrich Å trba <fridrich.st...@bluewin.ch> Date: Fri Dec 9 12:30:25 2011 +0100 fixed Calc unit-test crashes Wrong offset and count constants caused properties' string array out-of-bounds access. diff --git a/sc/source/core/tool/viewopti.cxx b/sc/source/core/tool/viewopti.cxx index cf763b0..c5e5c7b 100644 --- a/sc/source/core/tool/viewopti.cxx +++ b/sc/source/core/tool/viewopti.cxx @@ -298,13 +298,13 @@ SfxPoolItem* ScTpViewItem::Clone( SfxItemPool * ) const #define SCLAYOUTOPT_GRIDCOLOR 1 #define SCLAYOUTOPT_PAGEBREAK 2 #define SCLAYOUTOPT_GUIDE 3 -#define SCLAYOUTOPT_COLROWHDR 6 -#define SCLAYOUTOPT_HORISCROLL 7 -#define SCLAYOUTOPT_VERTSCROLL 8 -#define SCLAYOUTOPT_SHEETTAB 9 -#define SCLAYOUTOPT_OUTLINE 10 -#define SCLAYOUTOPT_GRID_ONCOLOR 11 -#define SCLAYOUTOPT_COUNT 12 +#define SCLAYOUTOPT_COLROWHDR 4 +#define SCLAYOUTOPT_HORISCROLL 5 +#define SCLAYOUTOPT_VERTSCROLL 6 +#define SCLAYOUTOPT_SHEETTAB 7 +#define SCLAYOUTOPT_OUTLINE 8 +#define SCLAYOUTOPT_GRID_ONCOLOR 9 +#define SCLAYOUTOPT_COUNT 10 #define CFGPATH_DISPLAY "Office.Calc/Content/Display"
_______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits