ooo-build r15405 - in branches/ooo-build-3-0-1: . patches/vba



Author: noelpwer
Date: Tue Feb 24 14:31:22 2009
New Revision: 15405
URL: http://svn.gnome.org/viewvc/ooo-build?rev=15405&view=rev

Log:
2009-02-24  Noel Power  <noel power novell com>

        * patches/vba/vba-fix-copysheet-toend.diff: fix for n#478187 crasher
        remove unnecessary patch part



Modified:
   branches/ooo-build-3-0-1/ChangeLog
   branches/ooo-build-3-0-1/patches/vba/vba-fix-copysheet-toend.diff

Modified: branches/ooo-build-3-0-1/patches/vba/vba-fix-copysheet-toend.diff
==============================================================================
--- branches/ooo-build-3-0-1/patches/vba/vba-fix-copysheet-toend.diff	(original)
+++ branches/ooo-build-3-0-1/patches/vba/vba-fix-copysheet-toend.diff	Tue Feb 24 14:31:22 2009
@@ -1,27 +1,3 @@
-diff --git sc/source/core/data/documen2.cxx sc/source/core/data/documen2.cxx
-index b75279e..5c7a375 100644
---- sc/source/core/data/documen2.cxx
-+++ sc/source/core/data/documen2.cxx
-@@ -1463,6 +1462,7 @@ BOOL ScDocument::CopyTab( SCTAB nOldPos, SCTAB nNewPos, const ScMarkData* pOnlyM
- 		if (nNewPos == nMaxTableNumber)
- 		{
- 			pTab[nMaxTableNumber] = new ScTable(this, nMaxTableNumber, aName);
-+                        pTab[nMaxTableNumber]->SetCodeName( aName );
- 			++nMaxTableNumber;
- 		}
- 		else
-@@ -1497,8 +1497,9 @@ BOOL ScDocument::CopyTab( SCTAB nOldPos, SCTAB nNewPos, const ScMarkData* pOnlyM
- 					pTab[i] = pTab[i - 1];
- 				if (nNewPos <= nOldPos)
- 					nOldPos++;
--				pTab[nNewPos] = new ScTable(this, nNewPos, aName);
--				++nMaxTableNumber;
-+					pTab[nNewPos] = new ScTable(this, nNewPos, aName);
-+                                        pTab[nNewPos]->SetCodeName( aName );
-+					++nMaxTableNumber;
- 				bValid = TRUE;
- 				for (i = 0; i <= MAXTAB; i++)
- 					if (pTab[i] && i != nOldPos && i != nNewPos)
 diff --git sc/source/ui/docshell/docsh5.cxx sc/source/ui/docshell/docsh5.cxx
 index 8e38e2a..9a26cd2 100644
 --- sc/source/ui/docshell/docsh5.cxx



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]