summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/inc/document.hxx4
-rw-r--r--sc/inc/table.hxx3
-rw-r--r--sc/source/core/data/documen9.cxx65
-rw-r--r--sc/source/core/data/table1.cxx9
-rw-r--r--sc/source/core/data/table2.cxx11
-rw-r--r--unusedcode.easy2
6 files changed, 0 insertions, 94 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 582901cc72e4..5c811517d694 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -720,9 +720,6 @@ public:
void SetChartRangeList( const String& rChartName,
const ScRangeListRef& rNewRangeListRef );
- sal_Bool HasControl( SCTAB nTab, const Rectangle& rMMRect );
- void InvalidateControls( Window* pWin, SCTAB nTab, const Rectangle& rMMRect );
-
void StartAnimations( SCTAB nTab, Window* pWin );
sal_Bool HasBackgroundDraw( SCTAB nTab, const Rectangle& rMMRect );
@@ -1546,7 +1543,6 @@ public:
sal_Bool GetNoSetDirty() const { return bNoSetDirty; }
void SetInsertingFromOtherDoc( sal_Bool bVal ) { bInsertingFromOtherDoc = bVal; }
sal_Bool IsInsertingFromOtherDoc() const { return bInsertingFromOtherDoc; }
- bool IsLoadingMedium() const;
void SetLoadingMedium( bool bVal );
void SetImportingXML( bool bVal );
bool IsImportingXML() const { return bImportingXML; }
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 9cd3c573a072..0a7cbff72f8b 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -479,8 +479,6 @@ public:
void UpdateMoveTab(SCTAB nOldPos, SCTAB nNewPos, SCTAB nTabNo, ScProgress* pProgress );
void UpdateCompile( bool bForceIfNameInUse = false );
void SetTabNo(SCTAB nNewTab);
- bool IsRangeNameInUse(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
- sal_uInt16 nIndex) const;
void FindRangeNamesInUse(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
std::set<sal_uInt16>& rIndexes) const;
void ReplaceRangeNamesInUse(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
@@ -673,7 +671,6 @@ public:
void ShowRows(SCROW nRow1, SCROW nRow2, bool bShow);
void DBShowRows(SCROW nRow1, SCROW nRow2, bool bShow);
- void SetColFlags( SCCOL nCol, sal_uInt8 nNewFlags );
void SetRowFlags( SCROW nRow, sal_uInt8 nNewFlags );
void SetRowFlags( SCROW nStartRow, SCROW nEndRow, sal_uInt8 nNewFlags );
diff --git a/sc/source/core/data/documen9.cxx b/sc/source/core/data/documen9.cxx
index 87115e4c4af5..b3c25e3888f4 100644
--- a/sc/source/core/data/documen9.cxx
+++ b/sc/source/core/data/documen9.cxx
@@ -531,66 +531,6 @@ void ScDocument::Clear( sal_Bool bFromDestructor )
}
}
-sal_Bool ScDocument::HasControl( SCTAB nTab, const Rectangle& rMMRect )
-{
- sal_Bool bFound = false;
-
- if (pDrawLayer)
- {
- SdrPage* pPage = pDrawLayer->GetPage(static_cast<sal_uInt16>(nTab));
- OSL_ENSURE(pPage,"Page ?");
- if (pPage)
- {
- SdrObjListIter aIter( *pPage, IM_DEEPNOGROUPS );
- SdrObject* pObject = aIter.Next();
- while (pObject && !bFound)
- {
- if (pObject->ISA(SdrUnoObj))
- {
- Rectangle aObjRect = pObject->GetLogicRect();
- if ( aObjRect.IsOver( rMMRect ) )
- bFound = sal_True;
- }
-
- pObject = aIter.Next();
- }
- }
- }
-
- return bFound;
-}
-
-void ScDocument::InvalidateControls( Window* pWin, SCTAB nTab, const Rectangle& rMMRect )
-{
- if (pDrawLayer)
- {
- SdrPage* pPage = pDrawLayer->GetPage(static_cast<sal_uInt16>(nTab));
- OSL_ENSURE(pPage,"Page ?");
- if (pPage)
- {
- SdrObjListIter aIter( *pPage, IM_DEEPNOGROUPS );
- SdrObject* pObject = aIter.Next();
- while (pObject)
- {
- if (pObject->ISA(SdrUnoObj))
- {
- Rectangle aObjRect = pObject->GetLogicRect();
- if ( aObjRect.IsOver( rMMRect ) )
- {
- // Uno-Controls zeichnen sich immer komplett, ohne Ruecksicht
- // auf ClippingRegions. Darum muss das ganze Objekt neu gepainted
- // werden, damit die Selektion auf der Tabelle nicht uebermalt wird.
-
- pWin->Invalidate( aObjRect );
- }
- }
-
- pObject = aIter.Next();
- }
- }
- }
-}
-
sal_Bool ScDocument::HasDetectiveObjects(SCTAB nTab) const
{
// looks for detective objects, annotations don't count
@@ -661,11 +601,6 @@ void ScDocument::UpdateFontCharSet()
}
}
-bool ScDocument::IsLoadingMedium() const
-{
- return bLoadingMedium;
-}
-
void ScDocument::SetLoadingMedium( bool bVal )
{
bLoadingMedium = bVal;
diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx
index 941ca3668926..0505da75432a 100644
--- a/sc/source/core/data/table1.cxx
+++ b/sc/source/core/data/table1.cxx
@@ -1490,15 +1490,6 @@ void ScTable::SetTabNo(SCTAB nNewTab)
for (SCCOL i=0; i <= MAXCOL; i++) aCol[i].SetTabNo(nNewTab);
}
-bool ScTable::IsRangeNameInUse(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
- sal_uInt16 nIndex) const
-{
- bool bInUse = false;
- for (SCCOL i = nCol1; !bInUse && (i <= nCol2) && (ValidCol(i)); i++)
- bInUse = aCol[i].IsRangeNameInUse(nRow1, nRow2, nIndex);
- return bInUse;
-}
-
void ScTable::FindRangeNamesInUse(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
std::set<sal_uInt16>& rIndexes) const
{
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index 6b1835970f14..d16d99092d94 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -2664,17 +2664,6 @@ bool ScTable::IsDataFiltered() const
}
-void ScTable::SetColFlags( SCCOL nCol, sal_uInt8 nNewFlags )
-{
- if (VALIDCOL(nCol) && pColFlags)
- pColFlags[nCol] = nNewFlags;
- else
- {
- OSL_FAIL("Falsche Spaltennummer oder keine Flags");
- }
-}
-
-
void ScTable::SetRowFlags( SCROW nRow, sal_uInt8 nNewFlags )
{
if (VALIDROW(nRow) && pRowFlags)
diff --git a/unusedcode.easy b/unusedcode.easy
index ce450522cdb0..c041ca09f861 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -444,8 +444,6 @@ ScSubTotalDescriptorBase::PutData(ScSubTotalParam const&)
ScTabPageSortFields::GetRanges()
ScTabPageSortOptions::GetRanges()
ScTabViewShell::LinkStubHtmlOptionsHdl(void*, void*)
-ScTable::IsRangeNameInUse(short, int, short, int, unsigned short) const
-ScTable::SetColFlags(short, unsigned char)
ScTpCalcOptions::GetRanges()
ScTpPrintOptions::GetRanges()
ScTpSubTotalGroup::GetRanges()