[Libreoffice-commits] core.git: sc/inc sc/source
Kohei Yoshida
kohei.yoshida at gmail.com
Mon Dec 18 02:35:18 UTC 2017
sc/inc/document.hxx | 1 -
sc/source/core/data/document.cxx | 9 ---------
2 files changed, 10 deletions(-)
New commits:
commit 7d4eeddda861dcd5a60689aca73f658bf6e6b528
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date: Thu Dec 7 22:24:12 2017 -0500
Remove unused method.
Change-Id: Idc7919f04898b0298d6448d2dd84222b211cf5db
Reviewed-on: https://gerrit.libreoffice.org/46659
Reviewed-by: Kohei Yoshida <libreoffice at kohei.us>
Tested-by: Kohei Yoshida <libreoffice at kohei.us>
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 3096dc7aa5df..5c1b93763d1c 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -870,7 +870,6 @@ public:
bool bNamesValid = false );
SC_DLLPUBLIC bool DeleteTabs( SCTAB nTab, SCTAB nSheets );
SC_DLLPUBLIC bool DeleteTab( SCTAB nTab );
- SC_DLLPUBLIC void ClearTabs();
SC_DLLPUBLIC bool RenameTab( SCTAB nTab, const OUString& rName,
bool bExternalDocument = false );
bool MoveTab( SCTAB nOldPos, SCTAB nNewPos, ScProgress* pProgress = nullptr );
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index bc971f1b1c8f..f81fbeb1ecf6 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -783,15 +783,6 @@ bool ScDocument::DeleteTab( SCTAB nTab )
return bValid;
}
-void ScDocument::ClearTabs()
-{
- for (auto& it: maTabs)
- {
- delete it;
- }
- maTabs.clear();
-}
-
bool ScDocument::DeleteTabs( SCTAB nTab, SCTAB nSheets )
{
bool bValid = false;
More information about the Libreoffice-commits
mailing list