incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arie...@apache.org
Subject svn commit: r1230355 - /incubator/ooo/trunk/main/sc/source/core/data/documen2.cxx
Date Thu, 12 Jan 2012 01:48:32 GMT
Author: arielch
Date: Thu Jan 12 01:48:32 2012
New Revision: 1230355

URL: http://svn.apache.org/viewvc?rev=1230355&view=rev
Log:
i118747 - Copy tab color when transferring sheets across documents

Modified:
    incubator/ooo/trunk/main/sc/source/core/data/documen2.cxx

Modified: incubator/ooo/trunk/main/sc/source/core/data/documen2.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sc/source/core/data/documen2.cxx?rev=1230355&r1=1230354&r2=1230355&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sc/source/core/data/documen2.cxx (original)
+++ incubator/ooo/trunk/main/sc/source/core/data/documen2.cxx Thu Jan 12 01:48:32 2012
@@ -975,7 +975,9 @@ sal_uLong ScDocument::TransferTab( ScDoc
                         sal_False, pTab[nDestPos] );
             }
         }
-		pTab[nDestPos]->SetTabNo(nDestPos);
+
+        pTab[nDestPos]->SetTabNo(nDestPos);
+        pTab[nDestPos]->SetTabBgColor(pSrcDoc->pTab[nSrcPos]->GetTabBgColor());
 
 		if ( !bResultsOnly )
 		{



Mime
View raw message