diff options
author | Ariel Constenla-Haile <arielch@apache.org> | 2012-01-12 00:48:32 +0000 |
---|---|---|
committer | Ariel Constenla-Haile <arielch@apache.org> | 2012-01-12 00:48:32 +0000 |
commit | aa76c986c54c117d9c0f2ea4c155985806d11106 (patch) | |
tree | 33a14d9c0deed1517369127c6e106e3c55c86a91 | |
parent | 2df4f02ebed207e4ae736b6c5e6cccd746be3fb3 (diff) |
i118747 - Copy tab color when transferring sheets across documents
-rw-r--r-- | sc/source/core/data/documen2.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx index b0ed82d55e07..17472739228e 100644 --- a/sc/source/core/data/documen2.cxx +++ b/sc/source/core/data/documen2.cxx @@ -975,7 +975,9 @@ sal_uLong ScDocument::TransferTab( ScDocument* pSrcDoc, SCTAB nSrcPos, sal_False, pTab[nDestPos] ); } } + pTab[nDestPos]->SetTabNo(nDestPos); + pTab[nDestPos]->SetTabBgColor(pSrcDoc->pTab[nSrcPos]->GetTabBgColor()); if ( !bResultsOnly ) { |