summaryrefslogtreecommitdiff
path: root/sc/source/core/data
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data')
-rw-r--r--sc/source/core/data/clipcontext.cxx60
-rw-r--r--sc/source/core/data/colorscale.cxx4
-rw-r--r--sc/source/core/data/conditio.cxx4
-rw-r--r--sc/source/core/data/documen2.cxx4
-rw-r--r--sc/source/core/data/documen3.cxx20
-rw-r--r--sc/source/core/data/documen8.cxx4
-rw-r--r--sc/source/core/data/document.cxx8
-rw-r--r--sc/source/core/data/dpcache.cxx17
-rw-r--r--sc/source/core/data/dpgroup.cxx8
-rw-r--r--sc/source/core/data/dpobject.cxx4
-rw-r--r--sc/source/core/data/dpoutput.cxx4
-rw-r--r--sc/source/core/data/dptabres.cxx28
-rw-r--r--sc/source/core/data/dptabsrc.cxx28
-rw-r--r--sc/source/core/data/formulacell.cxx45
-rw-r--r--sc/source/core/data/listenercontext.cxx4
-rw-r--r--sc/source/core/data/olinetab.cxx24
-rw-r--r--sc/source/core/data/postit.cxx4
-rw-r--r--sc/source/core/data/rowheightcontext.cxx20
-rw-r--r--sc/source/core/data/segmenttree.cxx8
-rw-r--r--sc/source/core/data/table1.cxx8
-rw-r--r--sc/source/core/data/tabprotection.cxx12
21 files changed, 3 insertions, 315 deletions
diff --git a/sc/source/core/data/clipcontext.cxx b/sc/source/core/data/clipcontext.cxx
index c70d9d48de2b..556e3dbcb4d8 100644
--- a/sc/source/core/data/clipcontext.cxx
+++ b/sc/source/core/data/clipcontext.cxx
@@ -53,15 +53,7 @@ void CopyFromClipContext::setTabRange(SCTAB nStart, SCTAB nEnd)
mnTabEnd = nEnd;
}
-SCTAB CopyFromClipContext::getTabStart() const
-{
- return mnTabStart;
-}
-SCTAB CopyFromClipContext::getTabEnd() const
-{
- return mnTabEnd;
-}
void CopyFromClipContext::setDestRange( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 )
{
@@ -81,30 +73,14 @@ CopyFromClipContext::Range CopyFromClipContext::getDestRange() const
return aRet;
}
-ScDocument* CopyFromClipContext::getUndoDoc()
-{
- return mpRefUndoDoc;
-}
-ScDocument* CopyFromClipContext::getClipDoc()
-{
- return mpClipDoc;
-}
-sal_uInt16 CopyFromClipContext::getInsertFlag() const
-{
- return mnInsertFlag;
-}
void CopyFromClipContext::setDeleteFlag( sal_uInt16 nFlag )
{
mnDeleteFlag = nFlag;
}
-sal_uInt16 CopyFromClipContext::getDeleteFlag() const
-{
- return mnDeleteFlag;
-}
ScCellValue& CopyFromClipContext::getSingleCell()
{
@@ -116,25 +92,13 @@ void CopyFromClipContext::setCondFormatList( ScConditionalFormatList* pCondForma
mpCondFormatList = pCondFormatList;
}
-ScConditionalFormatList* CopyFromClipContext::getCondFormatList()
-{
- return mpCondFormatList;
-}
-const ScPatternAttr* CopyFromClipContext::getSingleCellPattern() const
-{
- return mpSinglePattern;
-}
void CopyFromClipContext::setSingleCellPattern( const ScPatternAttr* pAttr )
{
mpSinglePattern = pAttr;
}
-const ScPostIt* CopyFromClipContext::getSingleCellNote() const
-{
- return mpSingleNote;
-}
void CopyFromClipContext::setSingleCellNote( const ScPostIt* pNote )
{
@@ -146,25 +110,9 @@ void CopyFromClipContext::setTableProtected( bool b )
mbTableProtected = b;
}
-bool CopyFromClipContext::isTableProtected() const
-{
- return mbTableProtected;
-}
-bool CopyFromClipContext::isAsLink() const
-{
- return mbAsLink;
-}
-bool CopyFromClipContext::isSkipAttrForEmptyCells() const
-{
- return mbSkipAttrForEmptyCells;
-}
-bool CopyFromClipContext::isCloneNotes() const
-{
- return mbCloneNotes;
-}
bool CopyFromClipContext::isDateCell( const ScColumn& rCol, SCROW nRow ) const
{
@@ -179,15 +127,7 @@ CopyToClipContext::CopyToClipContext(
CopyToClipContext::~CopyToClipContext() {}
-bool CopyToClipContext::isKeepScenarioFlags() const
-{
- return mbKeepScenarioFlags;
-}
-bool CopyToClipContext::isCloneNotes() const
-{
- return mbCloneNotes;
-}
CopyToDocContext::CopyToDocContext(ScDocument& rDoc) : ClipContextBase(rDoc) {}
CopyToDocContext::~CopyToDocContext() {}
diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx
index c5001497e0dc..fe8eff879695 100644
--- a/sc/source/core/data/colorscale.cxx
+++ b/sc/source/core/data/colorscale.cxx
@@ -343,10 +343,6 @@ void ScColorScaleEntry::SetType( ScColorScaleEntryType eType )
}
}
-ScColorScaleEntryType ScColorScaleEntry::GetType() const
-{
- return meType;
-}
double ScColorScaleFormat::GetMinValue() const
{
diff --git a/sc/source/core/data/conditio.cxx b/sc/source/core/data/conditio.cxx
index 80a2b53c26dd..2fb8cf125d6c 100644
--- a/sc/source/core/data/conditio.cxx
+++ b/sc/source/core/data/conditio.cxx
@@ -1775,10 +1775,6 @@ void ScCondDateFormatEntry::SetDateType( condformat::ScCondFormatDateType eType
meType = eType;
}
-condformat::ScCondFormatDateType ScCondDateFormatEntry::GetDateType() const
-{
- return meType;
-}
const OUString& ScCondDateFormatEntry::GetStyleName() const
{
diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx
index d65c42c16cb3..a1bc567efb9d 100644
--- a/sc/source/core/data/documen2.cxx
+++ b/sc/source/core/data/documen2.cxx
@@ -368,10 +368,6 @@ void ScDocument::SetExpandRefs( bool bVal )
bExpandRefs = bVal;
}
-bool ScDocument::IsExpandRefs() const
-{
- return bExpandRefs;
-}
void ScDocument::StartTrackTimer()
{
diff --git a/sc/source/core/data/documen3.cxx b/sc/source/core/data/documen3.cxx
index 051c0d1faef7..2a4bde6506ba 100644
--- a/sc/source/core/data/documen3.cxx
+++ b/sc/source/core/data/documen3.cxx
@@ -229,10 +229,6 @@ const ScRangeData* ScDocument::GetRangeAtBlock( const ScRange& rBlock, OUString*
return pData;
}
-ScDBCollection* ScDocument::GetDBCollection() const
-{
- return pDBCollection;
-}
void ScDocument::SetDBCollection( ScDBCollection* pNewDBCollection, bool bRemoveAutoFilter )
{
@@ -362,10 +358,6 @@ ScDPObject* ScDocument::GetDPAtBlock( const ScRange & rBlock ) const
return NULL;
}
-ScChartCollection* ScDocument::GetChartCollection() const
-{
- return pChartCollection;
-}
void ScDocument::StopTemporaryChartLock()
{
@@ -373,10 +365,6 @@ void ScDocument::StopTemporaryChartLock()
apTemporaryChartLock->StopLocking();
}
-ScChartListenerCollection* ScDocument::GetChartListenerCollection() const
-{
- return pChartListenerCollection;
-}
void ScDocument::SetChartListenerCollection(
ScChartListenerCollection* pNewChartListenerCollection,
@@ -466,10 +454,6 @@ formula::FormulaGrammar::AddressConvention ScDocument::GetAddressConvention() co
return formula::FormulaGrammar::extractRefConvention(eGrammar);
}
-formula::FormulaGrammar::Grammar ScDocument::GetGrammar() const
-{
- return eGrammar;
-}
void ScDocument::SetGrammar( formula::FormulaGrammar::Grammar eGram )
{
@@ -1628,10 +1612,6 @@ bool ScDocument::GetFormulaEntries( ScTypedCaseStrSet& rStrings )
}
-bool ScDocument::IsEmbedded() const
-{
- return bIsEmbedded;
-}
void ScDocument::GetEmbedded( ScRange& rRange ) const
{
diff --git a/sc/source/core/data/documen8.cxx b/sc/source/core/data/documen8.cxx
index 1247563867de..54f1508f9298 100644
--- a/sc/source/core/data/documen8.cxx
+++ b/sc/source/core/data/documen8.cxx
@@ -1184,10 +1184,6 @@ SfxBindings* ScDocument::GetViewBindings()
return NULL;
}
-ScDrawLayer* ScDocument::GetDrawLayer()
-{
- return pDrawLayer;
-}
void ScDocument::TransliterateText( const ScMarkData& rMultiMark, sal_Int32 nType )
{
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 87451de19fea..928a478e4480 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -4508,10 +4508,6 @@ const ScValidationDataList* ScDocument::GetValidationList() const
return pValidationList;
}
-ScValidationDataList* ScDocument::GetValidationList()
-{
- return pValidationList;
-}
void ScDocument::ApplyAttr( SCCOL nCol, SCROW nRow, SCTAB nTab, const SfxPoolItem& rAttr )
{
@@ -6083,10 +6079,6 @@ void ScDocument::EnableUndo( bool bVal )
mbUndoEnabled = bVal;
}
-bool ScDocument::IsUserInteractionEnabled() const
-{
- return mbUserInteractionEnabled;
-}
void ScDocument::EnableUserInteraction( bool bVal )
{
diff --git a/sc/source/core/data/dpcache.cxx b/sc/source/core/data/dpcache.cxx
index 478fc0a3e53e..bf402f5beb4d 100644
--- a/sc/source/core/data/dpcache.cxx
+++ b/sc/source/core/data/dpcache.cxx
@@ -829,10 +829,6 @@ size_t ScDPCache::GetGroupFieldCount() const
return maGroupFields.size();
}
-SCROW ScDPCache::GetRowCount() const
-{
- return mnRowCount;
-}
SCROW ScDPCache::GetDataSize() const
{
@@ -912,10 +908,6 @@ void ScDPCache::RemoveReference(ScDPObject* pObj) const
mpDoc->GetDPCollection()->RemoveCache(this);
}
-const ScDPCache::ObjectSetType& ScDPCache::GetAllReferences() const
-{
- return maRefObjects;
-}
SCROW ScDPCache::GetIdByItemData(long nDim, const ScDPItemData& rItem) const
{
@@ -1154,15 +1146,8 @@ SCROW ScDPCache::GetOrder(long /*nDim*/, SCROW nIndex) const
return nIndex;
}
-ScDocument* ScDPCache::GetDoc() const
-{
- return mpDoc;
-};
+;
-long ScDPCache::GetColumnCount() const
-{
- return mnColumnCount;
-}
#if DEBUG_PIVOT_TABLE
diff --git a/sc/source/core/data/dpgroup.cxx b/sc/source/core/data/dpgroup.cxx
index f2a68f56af83..e2eeea7a0971 100644
--- a/sc/source/core/data/dpgroup.cxx
+++ b/sc/source/core/data/dpgroup.cxx
@@ -434,10 +434,6 @@ void ScDPGroupDimension::SetDateDimension()
mbDateDimension = true;
}
-bool ScDPGroupDimension::IsDateDimension() const
-{
- return mbDateDimension;
-}
ScDPNumGroupDimension::ScDPNumGroupDimension() : mbDateDimension(false) {}
@@ -460,10 +456,6 @@ void ScDPNumGroupDimension::DisposeData()
maMemberEntries.clear();
}
-bool ScDPNumGroupDimension::IsDateDimension() const
-{
- return mbDateDimension;
-}
ScDPNumGroupDimension::~ScDPNumGroupDimension()
{
diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx
index 97b1a153fc0b..df40306ab97b 100644
--- a/sc/source/core/data/dpobject.cxx
+++ b/sc/source/core/data/dpobject.cxx
@@ -408,10 +408,6 @@ void ScDPObject::SetHeaderLayout (bool bUseGrid)
mbHeaderLayout = bUseGrid;
}
-bool ScDPObject::GetHeaderLayout() const
-{
- return mbHeaderLayout;
-}
void ScDPObject::SetOutRange(const ScRange& rRange)
{
diff --git a/sc/source/core/data/dpoutput.cxx b/sc/source/core/data/dpoutput.cxx
index 21e958f555d9..0cec6affe9ac 100644
--- a/sc/source/core/data/dpoutput.cxx
+++ b/sc/source/core/data/dpoutput.cxx
@@ -1229,10 +1229,6 @@ void ScDPOutput::SetHeaderLayout(bool bUseGrid)
bSizesValid = false;
}
-bool ScDPOutput::GetHeaderLayout() const
-{
- return mbHeaderLayout;
-}
namespace {
diff --git a/sc/source/core/data/dptabres.cxx b/sc/source/core/data/dptabres.cxx
index 6382ae2ea311..976c991099bf 100644
--- a/sc/source/core/data/dptabres.cxx
+++ b/sc/source/core/data/dptabres.cxx
@@ -315,25 +315,9 @@ ScDPRunningTotalState::ScDPRunningTotalState( ScDPResultMember* pColRoot, ScDPRe
maRowSorted.push_back(-1);
}
-const ScDPRunningTotalState::IndexArray& ScDPRunningTotalState::GetColVisible() const
-{
- return maColVisible;
-}
-const ScDPRunningTotalState::IndexArray& ScDPRunningTotalState::GetColSorted() const
-{
- return maColSorted;
-}
-const ScDPRunningTotalState::IndexArray& ScDPRunningTotalState::GetRowVisible() const
-{
- return maRowVisible;
-}
-const ScDPRunningTotalState::IndexArray& ScDPRunningTotalState::GetRowSorted() const
-{
- return maRowSorted;
-}
void ScDPRunningTotalState::AddColIndex( long nVisible, long nSorted )
{
@@ -907,10 +891,6 @@ bool ScDPResultData::HasCommonElement( SCROW nFirstDataId, long nFirstIndex,
return false;
}
-const ScDPSource& ScDPResultData::GetSource() const
-{
- return mrSource;
-}
ResultMembers* ScDPResultData::GetDimResultMembers(long nDim, ScDPDimension* pDim, ScDPLevel* pLevel) const
{
@@ -1227,14 +1207,6 @@ bool ScDPResultMember::IsValid() const
return true;
}
-bool ScDPResultMember::HasHiddenDetails() const
-{
- // bHasHiddenDetails is set only if the "show details" flag is off,
- // and there was a child dimension to skip
-
- return bHasHiddenDetails;
-}
-
long ScDPResultMember::GetSubTotalCount( long* pUserSubStart ) const
{
if ( pUserSubStart )
diff --git a/sc/source/core/data/dptabsrc.cxx b/sc/source/core/data/dptabsrc.cxx
index d746eadcb279..8355ff48c5d3 100644
--- a/sc/source/core/data/dptabsrc.cxx
+++ b/sc/source/core/data/dptabsrc.cxx
@@ -1426,20 +1426,12 @@ bool ScDPDimension::getIsDataLayoutDimension() const
return pSource->GetData()->getIsDataLayoutDimension( nDim );
}
-sal_uInt16 ScDPDimension::getFunction() const
-{
- return nFunction;
-}
void ScDPDimension::setFunction(sal_uInt16 nNew)
{
nFunction = nNew;
}
-long ScDPDimension::getUsedHierarchy() const
-{
- return nUsedHier;
-}
void ScDPDimension::setUsedHierarchy(long /* nNew */)
{
@@ -2207,10 +2199,6 @@ uno::Sequence<sheet::GeneralFunction> ScDPLevel::getSubTotals() const
return aSubTotals;
}
-bool ScDPLevel::getShowEmpty() const
-{
- return bShowEmpty;
-}
// XPropertySet
@@ -2447,10 +2435,6 @@ sal_Bool SAL_CALL ScDPMembers::hasElements() throw(uno::RuntimeException, std::e
// end of XNameAccess implementation
-long ScDPMembers::getCount() const
-{
- return nMbrCount;
-}
long ScDPMembers::getMinMembers() const
{
@@ -2645,10 +2629,6 @@ const OUString* ScDPMember::GetLayoutName() const
return mpLayoutName.get();
}
-long ScDPMember::GetDim() const
-{
- return nDim;
-}
OUString ScDPMember::GetNameStr() const
{
@@ -2668,15 +2648,7 @@ void SAL_CALL ScDPMember::setName( const OUString& /* rNewName */ ) throw(uno::R
OSL_FAIL("not implemented"); //! exception?
}
-bool ScDPMember::isVisible() const
-{
- return bVisible;
-}
-bool ScDPMember::getShowDetails() const
-{
- return bShowDet;
-}
// XPropertySet
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
index 7891500cdfb0..c7e9aeb6006e 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -991,9 +991,7 @@ void ScFormulaCell::GetResultDimensions( SCSIZE& rCols, SCSIZE& rRows )
}
}
-bool ScFormulaCell::GetDirty() const { return bDirty; }
void ScFormulaCell::ResetDirty() { bDirty = bTableOpDirty = mbPostponedDirty = false; }
-bool ScFormulaCell::NeedsListening() const { return bNeedListening; }
void ScFormulaCell::SetNeedsListening( bool bVar ) { bNeedListening = bVar; }
void ScFormulaCell::SetNeedsDirty( bool bVar )
@@ -1003,12 +1001,7 @@ void ScFormulaCell::SetNeedsDirty( bool bVar )
void ScFormulaCell::SetNeedNumberFormat( bool bVal ) { mbNeedsNumberFormat = bVal; }
-bool ScFormulaCell::NeedsNumberFormat() const
-{
- return mbNeedsNumberFormat;
-}
-short ScFormulaCell::GetFormatType() const { return nFormatType; }
void ScFormulaCell::Compile( const OUString& rFormula, bool bNoListening,
const FormulaGrammar::Grammar eGrammar )
@@ -1582,8 +1575,6 @@ void ScFormulaCell::Interpret()
}
}
-bool ScFormulaCell::IsIterCell() const { return bIsIterCell; }
-sal_uInt16 ScFormulaCell::GetSeenInIteration() const { return nSeenInIteration; }
void ScFormulaCell::InterpretTail( ScInterpretTailParameter eTailParam )
{
@@ -1908,10 +1899,6 @@ void ScFormulaCell::SetCompile( bool bVal )
bCompile = bVal;
}
-ScDocument* ScFormulaCell::GetDocument() const
-{
- return pDocument;
-}
void ScFormulaCell::SetMatColsRows( SCCOL nCols, SCROW nRows, bool bDirtyFlag )
{
@@ -1945,10 +1932,6 @@ void ScFormulaCell::SetInChangeTrack( bool bVal )
bInChangeTrack = bVal;
}
-bool ScFormulaCell::IsInChangeTrack() const
-{
- return bInChangeTrack;
-}
void ScFormulaCell::Notify( const SfxHint& rHint )
{
@@ -3398,30 +3381,14 @@ void ScFormulaCell::FindRangeNamesInUse(std::set<sal_uInt16>& rIndexes) const
lcl_FindRangeNamesInUse( rIndexes, pCode, pDocument->GetRangeName() );
}
-bool ScFormulaCell::IsSubTotal() const
-{
- return bSubTotal;
-}
-bool ScFormulaCell::IsChanged() const
-{
- return bChanged;
-}
void ScFormulaCell::SetChanged(bool b)
{
bChanged = b;
}
-sal_uInt8 ScFormulaCell::GetMatrixFlag() const
-{
- return cMatrixFlag;
-}
-ScTokenArray* ScFormulaCell::GetCode()
-{
- return pCode;
-}
const ScTokenArray* ScFormulaCell::GetCode() const
{
@@ -3435,10 +3402,6 @@ void ScFormulaCell::SetCode( ScTokenArray* pNew )
pCode = pNew; // takes ownership.
}
-bool ScFormulaCell::IsRunning() const
-{
- return bRunning;
-}
void ScFormulaCell::SetRunning( bool bVal )
{
@@ -3526,12 +3489,8 @@ void ScFormulaCell::CompileColRowNameFormula( sc::CompileFormulaContext& rCxt )
}
}
-ScFormulaCell* ScFormulaCell::GetPrevious() const { return pPrevious; }
-ScFormulaCell* ScFormulaCell::GetNext() const { return pNext; }
void ScFormulaCell::SetPrevious( ScFormulaCell* pF ) { pPrevious = pF; }
void ScFormulaCell::SetNext( ScFormulaCell* pF ) { pNext = pF; }
-ScFormulaCell* ScFormulaCell::GetPreviousTrack() const { return pPreviousTrack; }
-ScFormulaCell* ScFormulaCell::GetNextTrack() const { return pNextTrack; }
void ScFormulaCell::SetPreviousTrack( ScFormulaCell* pF ) { pPreviousTrack = pF; }
void ScFormulaCell::SetNextTrack( ScFormulaCell* pF ) { pNextTrack = pF; }
@@ -4090,9 +4049,5 @@ void ScFormulaCell::SyncSharedCode()
pCode = mxGroup->mpCode;
}
-bool ScFormulaCell::IsPostponedDirty() const
-{
- return mbPostponedDirty;
-}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/data/listenercontext.cxx b/sc/source/core/data/listenercontext.cxx
index dcdffac65710..d6b92ebe0ef6 100644
--- a/sc/source/core/data/listenercontext.cxx
+++ b/sc/source/core/data/listenercontext.cxx
@@ -49,10 +49,6 @@ ScDocument& EndListeningContext::getDoc()
return mrDoc;
}
-ScTokenArray* EndListeningContext::getOldCode()
-{
- return mpOldCode;
-}
ScAddress EndListeningContext::getOldPosition( const ScAddress& rPos ) const
{
diff --git a/sc/source/core/data/olinetab.cxx b/sc/source/core/data/olinetab.cxx
index 605c80d9def5..fb420674283a 100644
--- a/sc/source/core/data/olinetab.cxx
+++ b/sc/source/core/data/olinetab.cxx
@@ -41,29 +41,13 @@ ScOutlineEntry::ScOutlineEntry( const ScOutlineEntry& rEntry ) :
{
}
-SCCOLROW ScOutlineEntry::GetStart() const
-{
- return nStart;
-}
-SCSIZE ScOutlineEntry::GetSize() const
-{
- return nSize;
-}
SCCOLROW ScOutlineEntry::GetEnd() const
{
return nStart+nSize-1;
}
-bool ScOutlineEntry::IsHidden() const
-{
- return bHidden;
-}
-bool ScOutlineEntry::IsVisible() const
-{
- return bVisible;
-}
void ScOutlineEntry::Move( SCsCOLROW nDelta )
{
@@ -305,10 +289,6 @@ bool ScOutlineArray::Insert(
return true;
}
-size_t ScOutlineArray::GetDepth() const
-{
- return nDepth;
-}
bool ScOutlineArray::FindTouchedLevel(
SCCOLROW nBlockStart, SCCOLROW nBlockEnd, size_t& rFindLevel) const
@@ -884,10 +864,6 @@ ScOutlineEntry* ScSubOutlineIterator::GetNext()
return pEntry; // nSubLevel gueltig, wenn pEntry != 0
}
-size_t ScSubOutlineIterator::LastLevel() const
-{
- return nSubLevel;
-}
size_t ScSubOutlineIterator::LastEntry() const
{
diff --git a/sc/source/core/data/postit.cxx b/sc/source/core/data/postit.cxx
index a3459af1c2ce..703dc8aaa506 100644
--- a/sc/source/core/data/postit.cxx
+++ b/sc/source/core/data/postit.cxx
@@ -509,10 +509,6 @@ ScPostIt* ScPostIt::Clone( const ScAddress& rOwnPos, ScDocument& rDestDoc, const
return bCloneCaption ? new ScPostIt( rDestDoc, rDestPos, *this ) : new ScPostIt( rDestDoc, rDestPos, maNoteData, false );
}
-const ScNoteData& ScPostIt::GetNoteData() const
-{
- return maNoteData;
-}
const OUString& ScPostIt::GetDate() const
{
diff --git a/sc/source/core/data/rowheightcontext.cxx b/sc/source/core/data/rowheightcontext.cxx
index 9fa96d130ec0..408bf4df759a 100644
--- a/sc/source/core/data/rowheightcontext.cxx
+++ b/sc/source/core/data/rowheightcontext.cxx
@@ -22,15 +22,7 @@ RowHeightContext::RowHeightContext(
RowHeightContext::~RowHeightContext() {}
-double RowHeightContext::getPPTX() const
-{
- return mfPPTX;
-}
-double RowHeightContext::getPPTY() const
-{
- return mfPPTY;
-}
const Fraction& RowHeightContext::getZoomX() const
{
@@ -42,30 +34,18 @@ const Fraction& RowHeightContext::getZoomY() const
return maZoomY;
}
-OutputDevice* RowHeightContext::getOutputDevice()
-{
- return mpOutDev;
-}
void RowHeightContext::setExtraHeight( sal_uInt16 nH )
{
mnExtraHeight = nH;
}
-sal_uInt16 RowHeightContext::getExtraHeight() const
-{
- return mnExtraHeight;
-}
void RowHeightContext::setForceAutoSize( bool b )
{
mbForceAutoSize = b;
}
-bool RowHeightContext::isForceAutoSize() const
-{
- return mbForceAutoSize;
-}
}
diff --git a/sc/source/core/data/segmenttree.cxx b/sc/source/core/data/segmenttree.cxx
index caf7201c9422..a5bf3c833d4e 100644
--- a/sc/source/core/data/segmenttree.cxx
+++ b/sc/source/core/data/segmenttree.cxx
@@ -291,10 +291,6 @@ bool ScFlatBoolRowSegments::ForwardIterator::getValue(SCROW nPos, bool& rVal)
return true;
}
-SCROW ScFlatBoolRowSegments::ForwardIterator::getLastPos() const
-{
- return mnLastPos;
-}
ScFlatBoolRowSegments::RangeIterator::RangeIterator(ScFlatBoolRowSegments& rSegs) :
mrSegs(rSegs)
@@ -460,10 +456,6 @@ bool ScFlatUInt16RowSegments::ForwardIterator::getValue(SCROW nPos, sal_uInt16&
return true;
}
-SCROW ScFlatUInt16RowSegments::ForwardIterator::getLastPos() const
-{
- return mnLastPos;
-}
ScFlatUInt16RowSegments::ScFlatUInt16RowSegments(sal_uInt16 nDefault) :
mpImpl(new ScFlatUInt16SegmentsImpl(static_cast<SCCOLROW>(MAXROW), nDefault))
diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx
index b7e020f5a04b..fe407e0db71c 100644
--- a/sc/source/core/data/table1.cxx
+++ b/sc/source/core/data/table1.cxx
@@ -2076,10 +2076,6 @@ ScRefCellValue ScTable::VisibleDataCellIterator::next()
return ScRefCellValue();
}
-SCROW ScTable::VisibleDataCellIterator::getRow() const
-{
- return mnCurRow;
-}
void ScTable::SetAnonymousDBData(ScDBData* pDBData)
{
@@ -2087,10 +2083,6 @@ void ScTable::SetAnonymousDBData(ScDBData* pDBData)
pDBDataNoName = pDBData;
}
-ScDBData* ScTable::GetAnonymousDBData()
-{
- return pDBDataNoName;
-}
sal_uLong ScTable::AddCondFormat( ScConditionalFormat* pNew )
{
diff --git a/sc/source/core/data/tabprotection.cxx b/sc/source/core/data/tabprotection.cxx
index 73b03c567d87..8d19ab9ac5c3 100644
--- a/sc/source/core/data/tabprotection.cxx
+++ b/sc/source/core/data/tabprotection.cxx
@@ -94,11 +94,11 @@ public:
explicit ScTableProtectionImpl(SCSIZE nOptSize);
explicit ScTableProtectionImpl(const ScTableProtectionImpl& r);
- bool isProtected() const;
+ bool isProtected() const { return mbProtected;}
bool isProtectedWithPass() const;
void setProtected(bool bProtected);
- bool isPasswordEmpty() const;
+ bool isPasswordEmpty() const { return mbEmptyPass;}
bool hasPasswordHash(ScPasswordHash eHash, ScPasswordHash eHash2 = PASSHASH_UNSPECIFIED) const;
void setPassword(const OUString& aPassText);
::com::sun::star::uno::Sequence<sal_Int8> getPasswordHash(
@@ -189,10 +189,6 @@ ScTableProtectionImpl::ScTableProtectionImpl(const ScTableProtectionImpl& r) :
{
}
-bool ScTableProtectionImpl::isProtected() const
-{
- return mbProtected;
-}
bool ScTableProtectionImpl::isProtectedWithPass() const
{
@@ -224,10 +220,6 @@ void ScTableProtectionImpl::setPassword(const OUString& aPassText)
}
}
-bool ScTableProtectionImpl::isPasswordEmpty() const
-{
- return mbEmptyPass;
-}
bool ScTableProtectionImpl::hasPasswordHash(ScPasswordHash eHash, ScPasswordHash eHash2) const
{