Update ooo320-m1
[ooovba.git] / applied_patches / 0183-calc-increase-row-limit.diff
blob814b8668a89f38f30dd38c3e49f6d91cfbf79f36
1 diff --git sc/inc/address.hxx sc/inc/address.hxx
2 index 76f0d42..af36690 100644
3 --- sc/inc/address.hxx
4 +++ sc/inc/address.hxx
5 @@ -86,7 +86,7 @@ const SCSIZE SCSIZE_MAX = ::std::numeric_limits<SCSIZE>::max();
7 // The maximum values. Defines are needed for preprocessor checks in
8 // bcaslot.cxx, otherwise type safe constants are preferred.
9 -#define MAXROWCOUNT_DEFINE 65536
10 +#define MAXROWCOUNT_DEFINE 1048576
11 #define MAXCOLCOUNT_DEFINE 1024
13 // Count values
14 diff --git sc/source/ui/view/hdrcont.cxx sc/source/ui/view/hdrcont.cxx
15 index 3160bee..be36c2b 100644
16 --- sc/source/ui/view/hdrcont.cxx
17 +++ sc/source/ui/view/hdrcont.cxx
18 @@ -104,7 +104,7 @@ ScHeaderControl::ScHeaderControl( Window* pParent, SelectionEngine* pSelectionEn
20 nWidth = nSmallWidth = aSize.Width();
21 nBigWidth = LogicToPixel( Size( GetTextWidth(
22 - String::CreateFromAscii(RTL_CONSTASCII_STRINGPARAM("88888")) ), 0 ) ).Width() + 4;
23 + String::CreateFromAscii(RTL_CONSTASCII_STRINGPARAM("8888888")) ), 0 ) ).Width() + 5;
25 SetBackground(); // sonst Probleme auf OS/2 !?!?!