1 --- sc.orig/source/ui/inc/docfunc.hxx 2007-01-04 12:29:30.000000000 +0000
2 +++ sc/source/ui/inc/docfunc.hxx 2007-01-08 17:04:45.000000000 +0000
3 @@ -159,6 +159,8 @@ public:
4 double fStart, double fStep, double fMax,
5 BOOL bRecord, BOOL bApi );
6 // FillAuto: rRange wird von Source-Range auf Dest-Range angepasst
7 + SC_DLLPUBLIC BOOL FillAuto( ScRange& rRange, const ScMarkData* pTabMark, FillDir eDir, FillCmd eCmd, FillDateCmd eDateCmd, ULONG nCount, double fStep, double fMax, BOOL bRecord, BOOL bApi );
9 BOOL FillAuto( ScRange& rRange, const ScMarkData* pTabMark,
10 FillDir eDir, ULONG nCount, BOOL bRecord, BOOL bApi );
12 --- sc.orig/source/ui/docshell/docfunc.cxx 2007-01-04 12:29:30.000000000 +0000
13 +++ sc/source/ui/docshell/docfunc.cxx 2007-01-08 17:23:02.000000000 +0000
14 @@ -3298,6 +3298,13 @@ BOOL ScDocFunc::FillSeries( const ScRang
15 BOOL ScDocFunc::FillAuto( ScRange& rRange, const ScMarkData* pTabMark,
16 FillDir eDir, ULONG nCount, BOOL bRecord, BOOL bApi )
19 + double fMax = MAXDOUBLE;
20 + return FillAuto( rRange, pTabMark, eDir, FILL_AUTO, FILL_DAY, nCount, fStep, fMax, bRecord, bApi );
23 +BOOL ScDocFunc::FillAuto( ScRange& rRange, const ScMarkData* pTabMark, FillDir eDir, FillCmd eCmd, FillDateCmd eDateCmd, ULONG nCount, double fStep, double fMax, BOOL bRecord, BOOL bApi )
25 ScDocShellModificator aModificator( rDocShell );
27 ScDocument* pDoc = rDocShell.GetDocument();
28 @@ -3323,10 +3330,6 @@ BOOL ScDocFunc::FillAuto( ScRange& rRang
29 ScRange aSourceArea = rRange;
30 ScRange aDestArea = rRange;
32 - FillCmd eCmd = FILL_AUTO;
33 - FillDateCmd eDateCmd = FILL_DAY;
35 - double fMax = MAXDOUBLE;