ooo-build r15406 - in trunk: . patches/vba



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

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

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



Modified:
   trunk/ChangeLog
   trunk/patches/vba/vba-fix-copysheet-toend.diff

Modified: trunk/patches/vba/vba-fix-copysheet-toend.diff
==============================================================================
--- trunk/patches/vba/vba-fix-copysheet-toend.diff	(original)
+++ trunk/patches/vba/vba-fix-copysheet-toend.diff	Tue Feb 24 14:37:28 2009
@@ -1,27 +1,3 @@
-diff --git sc/source/core/data/documen2.cxx sc/source/core/data/documen2.cxx
-index 8f0413b..2ca7f75 100644
---- sc/source/core/data/documen2.cxx
-+++ sc/source/core/data/documen2.cxx
-@@ -846,6 +846,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
-@@ -882,8 +883,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 3b5986c..fe54573 100644
 --- sc/source/ui/docshell/docsh5.cxx



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