[Libreoffice-commits] core.git: 2 commits - sc/inc sc/source
Eike Rathke
erack at redhat.com
Thu Sep 3 10:08:56 PDT 2015
sc/inc/dbdata.hxx | 2 --
sc/inc/document.hxx | 1 -
sc/source/core/data/documen3.cxx | 6 ------
sc/source/core/tool/dbdata.cxx | 6 ------
4 files changed, 15 deletions(-)
New commits:
commit a41d43fdc5a4942303b0b14e259d97c5edc7ded2
Author: Eike Rathke <erack at redhat.com>
Date: Thu Sep 3 18:53:36 2015 +0200
remove unused ScDBCollection::RefreshTableColumnNames(const ScRange&)
Change-Id: Ia97d6913351a012d62f9d991dd42c54d8247a824
diff --git a/sc/inc/dbdata.hxx b/sc/inc/dbdata.hxx
index 22ccc329..bf1ac4c 100644
--- a/sc/inc/dbdata.hxx
+++ b/sc/inc/dbdata.hxx
@@ -287,8 +287,6 @@ public:
ScDBData* GetDBAtArea(SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2);
ScDBData* GetDBNearCursor(SCCOL nCol, SCROW nRow, SCTAB nTab );
- void RefreshTableColumnNames( const ScRange& rRange );
-
void DeleteOnTab( SCTAB nTab );
void UpdateReference(UpdateRefMode eUpdateRefMode,
SCCOL nCol1, SCROW nRow1, SCTAB nTab1,
diff --git a/sc/source/core/tool/dbdata.cxx b/sc/source/core/tool/dbdata.cxx
index d6e2a52..8375f55 100644
--- a/sc/source/core/tool/dbdata.cxx
+++ b/sc/source/core/tool/dbdata.cxx
@@ -1221,12 +1221,6 @@ ScDBData* ScDBCollection::GetDBAtArea(SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCO
return NULL;
}
-void ScDBCollection::RefreshTableColumnNames( const ScRange& rRange )
-{
- for (auto const& it : maNamedDBs)
- it->RefreshTableColumnNames( pDoc, rRange);
-}
-
void ScDBCollection::DeleteOnTab( SCTAB nTab )
{
FindByTable func(nTab);
commit 884d53813a4c7b9414a135cfaae6119d78768f38
Author: Eike Rathke <erack at redhat.com>
Date: Thu Sep 3 18:47:30 2015 +0200
remove unused ScDocument::RefreshTableColumnNames(const ScRange&)
Change-Id: Ia3d09478b31503eb6ab9e352b2925bc1b496a8e3
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index c19bc6f..9ea6729 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -570,7 +570,6 @@ public:
ScDBData* GetDBAtCursor(SCCOL nCol, SCROW nRow, SCTAB nTab, ScDBDataPortion ePortion);
const ScDBData* GetDBAtArea(SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) const;
ScDBData* GetDBAtArea(SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2);
- void RefreshTableColumnNames( const ScRange& rRange );
SC_DLLPUBLIC const ScRangeData* GetRangeAtBlock( const ScRange& rBlock, OUString* pName=NULL ) const;
diff --git a/sc/source/core/data/documen3.cxx b/sc/source/core/data/documen3.cxx
index 53dff92..32791da 100644
--- a/sc/source/core/data/documen3.cxx
+++ b/sc/source/core/data/documen3.cxx
@@ -313,12 +313,6 @@ ScDBData* ScDocument::GetDBAtArea(SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nC
return NULL;
}
-void ScDocument::RefreshTableColumnNames( const ScRange& rRange )
-{
- if (pDBCollection)
- pDBCollection->RefreshTableColumnNames( rRange);
-}
-
bool ScDocument::HasPivotTable() const
{
return pDPCollection && pDPCollection->GetCount();
More information about the Libreoffice-commits
mailing list