--- sc.orig/source/ui/inc/docfunc.hxx	2007-01-04 12:29:30.000000000 +0000
+++ sc/source/ui/inc/docfunc.hxx	2007-01-08 17:04:45.000000000 +0000
@@ -159,6 +159,8 @@ public:
 								double fStart, double fStep, double fMax,
 								BOOL bRecord, BOOL bApi );
 					// FillAuto: rRange wird von Source-Range auf Dest-Range angepasst
+	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 );
+
 	BOOL			FillAuto( ScRange& rRange, const ScMarkData* pTabMark,
 								FillDir eDir, ULONG nCount, BOOL bRecord, BOOL bApi );
 
--- sc.orig/source/ui/docshell/docfunc.cxx	2007-01-04 12:29:30.000000000 +0000
+++ sc/source/ui/docshell/docfunc.cxx	2007-01-08 17:23:02.000000000 +0000
@@ -3298,6 +3298,13 @@ BOOL ScDocFunc::FillSeries( const ScRang
 BOOL ScDocFunc::FillAuto( ScRange& rRange, const ScMarkData* pTabMark,
 							FillDir eDir, ULONG nCount, BOOL bRecord, BOOL bApi )
 {
+	double		fStep = 1.0;
+	double		fMax = MAXDOUBLE;
+	return FillAuto( rRange, pTabMark, eDir, FILL_AUTO, FILL_DAY, nCount, fStep, fMax, bRecord, bApi );
+}
+
+BOOL ScDocFunc::FillAuto( ScRange& rRange, const ScMarkData* pTabMark, FillDir eDir, FillCmd eCmd, FillDateCmd	eDateCmd, ULONG nCount, double fStep, double fMax,  BOOL bRecord, BOOL bApi )
+{
 	ScDocShellModificator aModificator( rDocShell );
 
 	ScDocument* pDoc = rDocShell.GetDocument();
@@ -3323,10 +3330,6 @@ BOOL ScDocFunc::FillAuto( ScRange& rRang
 	ScRange aSourceArea = rRange;
 	ScRange aDestArea   = rRange;
 
-	FillCmd		eCmd = FILL_AUTO;
-	FillDateCmd	eDateCmd = FILL_DAY;
-	double		fStep = 1.0;
-	double		fMax = MAXDOUBLE;
 
 	switch (eDir)
 	{
