[Libreoffice-commits] core.git: Branch 'feature/sc-notes-storage' - sc/source
Laurent Godard
lgodard.libre at laposte.net
Wed Sep 18 05:36:38 PDT 2013
sc/source/core/data/table2.cxx | 13 -------------
1 file changed, 13 deletions(-)
New commits:
commit 06830e9af19d14a32c95c71cabe3104bad6b6dd5
Author: Laurent Godard <lgodard.libre at laposte.net>
Date: Wed Sep 18 14:35:33 2013 +0200
clean unsused code : notes are now handled at column level in CopyToColumn
Change-Id: I91d544f66cbad85ff17fc5adb392781c021a94ac
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index 1ac668b..d4f2ece 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -1039,19 +1039,6 @@ void ScTable::CopyToTable(
if (!bColRowFlags) // Spaltenbreiten/Zeilenhoehen/Flags
return;
-/* TODO : notes clipboard
- //remove old notes
- if (nFlags & IDF_NOTE)
- pDestTab->maNotes.erase(nCol1, nRow1, nCol2, nRow2);
-
- bool bAddNotes = nFlags & (IDF_NOTE | IDF_ADDNOTES);
- if (bAddNotes)
- {
- bool bCloneCaption = (nFlags & IDF_NOCAPTIONS) == 0;
- pDestTab->maNotes.CopyFromClip(maNotes, pDestTab->pDocument, nCol1, nRow1, nCol2, nRow2, 0, 0, pDestTab->nTab, bCloneCaption);
- }
-*/
-
if(pDestTab->pDocument->IsUndo() && (nFlags & IDF_ATTRIB))
{
pDestTab->mpCondFormatList.reset(new ScConditionalFormatList(pDestTab->pDocument, *mpCondFormatList));
More information about the Libreoffice-commits
mailing list