summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/attrib.hxx11
-rw-r--r--sc/inc/autoform.hxx3
-rw-r--r--sc/inc/brdcst.hxx1
-rw-r--r--sc/inc/callform.hxx12
-rw-r--r--sc/inc/cellvalue.hxx1
-rw-r--r--sc/inc/cellvalues.hxx1
-rw-r--r--sc/inc/chartarr.hxx4
-rw-r--r--sc/inc/chartlis.hxx1
-rw-r--r--sc/inc/chartpos.hxx5
-rw-r--r--sc/inc/chgtrack.hxx27
-rw-r--r--sc/inc/chgviset.hxx1
-rw-r--r--sc/inc/colorscale.hxx5
-rw-r--r--sc/inc/columnspanset.hxx2
-rw-r--r--sc/inc/compiler.hxx5
-rw-r--r--sc/inc/conditio.hxx2
-rw-r--r--sc/inc/dbdata.hxx4
-rw-r--r--sc/inc/detfunc.hxx2
-rw-r--r--sc/inc/document.hxx37
-rw-r--r--sc/inc/dpdimsave.hxx1
-rw-r--r--sc/inc/dpgroup.hxx2
-rw-r--r--sc/inc/dptabres.hxx12
-rw-r--r--sc/inc/dptabsrc.hxx10
-rw-r--r--sc/inc/formulacell.hxx15
-rw-r--r--sc/inc/global.hxx2
-rw-r--r--sc/inc/hints.hxx3
-rw-r--r--sc/inc/lookupcache.hxx8
-rw-r--r--sc/inc/progress.hxx6
-rw-r--r--sc/inc/rangenam.hxx3
-rw-r--r--sc/inc/scdll.hxx5
-rw-r--r--sc/inc/scmatrix.hxx1
-rw-r--r--sc/inc/scmod.hxx1
-rw-r--r--sc/inc/table.hxx17
-rw-r--r--sc/inc/tablink.hxx1
-rw-r--r--sc/inc/textuno.hxx1
-rw-r--r--sc/inc/tokenarray.hxx3
35 files changed, 32 insertions, 183 deletions
diff --git a/sc/inc/attrib.hxx b/sc/inc/attrib.hxx
index 0c210f5661a2..9c930d199846 100644
--- a/sc/inc/attrib.hxx
+++ b/sc/inc/attrib.hxx
@@ -169,12 +169,6 @@ public:
const IntlWrapper* pIntl = 0 ) const SAL_OVERRIDE;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE;
- const ScRange& GetRange() const { return aRange; }
- void SetRange( const ScRange& rNew ) { aRange = rNew; }
-
- sal_uInt16 GetFlags() const { return nFlags; }
- void SetFlags( sal_uInt16 nNew ) { nFlags = nNew; }
-
private:
ScRange aRange;
sal_uInt16 nFlags;
@@ -306,10 +300,6 @@ public:
virtual SfxPoolItem* Create( SvStream& rStream, sal_uInt16 nVer ) const SAL_OVERRIDE;
- double GetValue() const { return nValue; }
-
- void SetValue( const double nVal ) { nValue = nVal;}
-
private:
double nValue;
};
@@ -343,7 +333,6 @@ public:
inline void SetHeight( sal_uInt16 nHeight ) { mnHeight = nHeight; }
inline void Set( sal_uInt16 nWidth, sal_uInt16 nHeight )
{ mnWidth = nWidth; mnHeight = nHeight; }
- inline void SetInvalid() { mnWidth = mnHeight = 0; }
virtual bool GetPresentation(
SfxItemPresentation ePresentation,
diff --git a/sc/inc/autoform.hxx b/sc/inc/autoform.hxx
index 938ef5e8dd56..658e44a5e479 100644
--- a/sc/inc/autoform.hxx
+++ b/sc/inc/autoform.hxx
@@ -207,7 +207,6 @@ public:
const SvxLineItem& GetTLBR() const { return aTLBR; }
const SvxLineItem& GetBLTR() const { return aBLTR; }
const SvxBrushItem& GetBackground() const { return aBackground; }
- const SvxAdjustItem& GetAdjust() const { return aAdjust; }
const SfxInt32Item& GetRotateAngle() const { return aRotateAngle; }
const SvxRotateModeItem& GetRotateMode() const { return aRotateMode; }
@@ -329,9 +328,7 @@ public:
const ScAutoFormatData* findByIndex(size_t nIndex) const;
ScAutoFormatData* findByIndex(size_t nIndex);
- const_iterator find(const ScAutoFormatData* pData) const;
iterator find(const ScAutoFormatData* pData);
- const_iterator find(const OUString& rName) const;
iterator find(const OUString& rName);
bool insert(ScAutoFormatData* pNew);
diff --git a/sc/inc/brdcst.hxx b/sc/inc/brdcst.hxx
index a11ebbd4e5d4..5dfdb8f46837 100644
--- a/sc/inc/brdcst.hxx
+++ b/sc/inc/brdcst.hxx
@@ -34,7 +34,6 @@ public:
ScHint( sal_uLong n, const ScAddress& a );
const ScAddress& GetAddress() const { return aAddress; }
ScAddress& GetAddress() { return aAddress; }
- void SetAddress( const ScAddress& rAdr ) { aAddress = rAdr; }
};
class ScAreaChangedHint : public SfxHint
diff --git a/sc/inc/callform.hxx b/sc/inc/callform.hxx
index 8e1957295ea0..a24122c2b381 100644
--- a/sc/inc/callform.hxx
+++ b/sc/inc/callform.hxx
@@ -72,13 +72,11 @@ public:
const OUString& GetModuleName() const;
const OUString& GetInternalName() const { return aInternalName; }
- const OUString& GetFuncName() const { return aFuncName; }
- sal_uInt16 GetParamCount() const { return nParamCount; }
- ParamType GetParamType(sal_uInt16 nIndex) const { return eParamType[nIndex]; }
- ParamType GetReturnType() const { return eParamType[0]; }
- ParamType GetAsyncType() const { return eAsyncType; }
- bool Call(void** ppParam) const;
- bool Unadvice(double nHandle);
+ sal_uInt16 GetParamCount() const { return nParamCount; }
+ ParamType GetParamType(sal_uInt16 nIndex) const { return eParamType[nIndex]; }
+ ParamType GetAsyncType() const { return eAsyncType; }
+ bool Call(void** ppParam) const;
+ bool Unadvice(double nHandle);
/** name and description of parameter nParam.
nParam==0 => Desc := function description,
diff --git a/sc/inc/cellvalue.hxx b/sc/inc/cellvalue.hxx
index 3a2d3c8678d1..6d16928d63f0 100644
--- a/sc/inc/cellvalue.hxx
+++ b/sc/inc/cellvalue.hxx
@@ -48,7 +48,6 @@ struct SC_DLLPUBLIC ScCellValue
void clear();
- void set( const ScRefCellValue& rCell );
void set( double fValue );
void set( const svl::SharedString& rStr );
void set( const EditTextObject& rEditText );
diff --git a/sc/inc/cellvalues.hxx b/sc/inc/cellvalues.hxx
index 53f3a4c39670..83f8f784f1bc 100644
--- a/sc/inc/cellvalues.hxx
+++ b/sc/inc/cellvalues.hxx
@@ -59,7 +59,6 @@ public:
*/
void transferFrom( ScColumn& rCol, SCROW nRow, size_t nLen );
- void transferTo( ScColumn& rCol, SCROW nRow );
void copyTo( ScColumn& rCol, SCROW nRow ) const;
void swapNonEmpty( ScColumn& rCol );
diff --git a/sc/inc/chartarr.hxx b/sc/inc/chartarr.hxx
index 4dcda4091b2b..4cefe81aad3a 100644
--- a/sc/inc/chartarr.hxx
+++ b/sc/inc/chartarr.hxx
@@ -76,15 +76,11 @@ public:
~ScChartArray();
const ScRangeListRef& GetRangeList() const { return aPositioner.GetRangeList(); }
- void SetRangeList( const ScRangeListRef& rNew ) { aPositioner.SetRangeList(rNew); }
- void SetRangeList( const ScRange& rNew ) { aPositioner.SetRangeList(rNew); }
const ScChartPositionMap* GetPositionMap() { return aPositioner.GetPositionMap(); }
void SetHeaders(bool bCol, bool bRow) { aPositioner.SetHeaders(bCol, bRow); }
bool HasColHeaders() const { return aPositioner.HasColHeaders(); }
bool HasRowHeaders() const { return aPositioner.HasRowHeaders(); }
- bool IsValid() const { return bValid; }
- void SetName(const OUString& rNew) { aName = rNew; }
const OUString& GetName() const { return aName; }
bool operator==(const ScChartArray& rCmp) const;
diff --git a/sc/inc/chartlis.hxx b/sc/inc/chartlis.hxx
index 667e5ea978fd..98d3850ffd2e 100644
--- a/sc/inc/chartlis.hxx
+++ b/sc/inc/chartlis.hxx
@@ -107,7 +107,6 @@ public:
void UpdateChartIntersecting( const ScRange& rRange );
// if chart series ranges are to be updated later on (e.g. DeleteTab, InsertTab)
- void ScheduleSeriesRanges() { bSeriesRangesScheduled = true; }
void UpdateScheduledSeriesRanges();
void UpdateSeriesRanges();
diff --git a/sc/inc/chartpos.hxx b/sc/inc/chartpos.hxx
index 44aa987d302a..08d3a6114915 100644
--- a/sc/inc/chartpos.hxx
+++ b/sc/inc/chartpos.hxx
@@ -52,8 +52,6 @@ class ScChartPositionMap
ScChartPositionMap& operator=( const ScChartPositionMap& ) SAL_DELETED_FUNCTION;
public:
-
- sal_uLong GetCount() const { return nCount; }
SCCOL GetColCount() const { return nColCount; }
SCROW GetRowCount() const { return nRowCount; }
@@ -135,9 +133,6 @@ public:
void SetHeaders(bool bCol, bool bRow) { bColHeaders=bCol; bRowHeaders=bRow; }
bool HasColHeaders() const { return bColHeaders; }
bool HasRowHeaders() const { return bRowHeaders; }
- void SeteGlue(ScChartGlue eNew) { eGlue = eNew; }
- void SetStartCol(SCCOL nNew) { nStartCol = nNew; }
- void SetStartRow(SCROW nNew) { nStartRow = nNew; }
bool operator==(const ScChartPositioner& rCmp) const;
diff --git a/sc/inc/chgtrack.hxx b/sc/inc/chgtrack.hxx
index 7f9eccfdbd6c..3f7bb8cb9055 100644
--- a/sc/inc/chgtrack.hxx
+++ b/sc/inc/chgtrack.hxx
@@ -161,19 +161,6 @@ public:
}
}
- void Insert( ScChangeActionLinkEntry** ppPrevP )
- {
- if ( !ppPrev )
- {
- ppPrev = ppPrevP;
- if ( (pNext = *ppPrevP) )
- pNext->ppPrev = &pNext;
- *ppPrevP = this;
- }
- }
-
- const ScChangeActionLinkEntry* GetLink() const { return pLink; }
- ScChangeActionLinkEntry* GetLink() { return pLink; }
const ScChangeActionLinkEntry* GetNext() const { return pNext; }
ScChangeActionLinkEntry* GetNext() { return pNext; }
const ScChangeAction* GetAction() const { return pAction; }
@@ -202,9 +189,6 @@ class ScChangeActionCellListEntry
{}
public:
- const ScChangeActionCellListEntry* GetNext() const { return pNext; } // this is only for the XML Export public
- const ScChangeActionContent* GetContent() const { return pContent; } // this is only for the XML Export public
-
DECL_FIXEDMEMPOOL_NEWDEL( ScChangeActionCellListEntry )
};
@@ -540,8 +524,6 @@ public:
SCsROW GetDy() const { return nDy; }
ScBigRange GetOverAllRange() const; // BigRange + (nDx, nDy)
- const ScChangeActionCellListEntry* GetFirstCellEntry() const
- { return pFirstCell; }
const ScChangeActionDelMoveEntry* GetFirstMoveEntry() const
{ return pLinkMove; }
const ScChangeActionIns* GetCutOffInsert() const { return pCutOff; }
@@ -615,9 +597,6 @@ public:
const ScBigRange& aFromBigRange,
ScChangeTrack* pTrack); // only to use in the XML import
- const ScChangeActionCellListEntry* GetFirstCellEntry() const
- { return pFirstCell; } // only to use in the XML export
-
const ScBigRange& GetFromRange() const { return aFromRange; }
SC_DLLPUBLIC void GetDelta( sal_Int32& nDx, sal_Int32& nDy, sal_Int32& nDz ) const;
@@ -954,7 +933,6 @@ class ScChangeTrack : public utl::ConfigurationListener
void Init();
void DtorClear();
- void SetLoadSave( bool bVal ) { bLoadSave = bVal; }
void SetInDeleteRange( const ScRange& rRange )
{ aInDeleteRange = rRange; }
void SetInDelete( bool bVal )
@@ -1202,14 +1180,13 @@ public:
// ScChangeTrackMsgQueue
void SetModifiedLink( const Link<>& r )
{ aModifiedLink = r; ClearMsgQueue(); }
- const Link<>& GetModifiedLink() const { return aModifiedLink; }
ScChangeTrackMsgQueue& GetMsgQueue();
void NotifyModified( ScChangeTrackMsgType eMsgType,
sal_uLong nStartAction, sal_uLong nEndAction );
- sal_uLong AddLoadedGenerated(
- const ScCellValue& rNewCell, const ScBigRange& aBigRange, const OUString& sNewValue ); // only to use in the XML import
+ sal_uLong AddLoadedGenerated( const ScCellValue& rNewCell,
+ const ScBigRange& aBigRange, const OUString& sNewValue ); // only to use in the XML import
void AppendLoaded( ScChangeAction* pAppend ); // this is only for the XML import public, it should be protected
void SetActionMax(sal_uLong nTempActionMax)
{ nActionMax = nTempActionMax; } // only to use in the XML import
diff --git a/sc/inc/chgviset.hxx b/sc/inc/chgviset.hxx
index 55440e8bd639..94c10c787ae1 100644
--- a/sc/inc/chgviset.hxx
+++ b/sc/inc/chgviset.hxx
@@ -108,7 +108,6 @@ public:
bool IsValidComment(const OUString* pCommentStr) const;
bool IsEveryoneButMe() const {return bEveryoneButMe;}
- void SetEveryoneButMe(bool nFlag) {bEveryoneButMe=nFlag;}
bool HasRange() const {return bIsRange;}
void SetHasRange(bool nFlag) {bIsRange=nFlag;}
diff --git a/sc/inc/colorscale.hxx b/sc/inc/colorscale.hxx
index 423d1fa8a442..668d3e55473d 100644
--- a/sc/inc/colorscale.hxx
+++ b/sc/inc/colorscale.hxx
@@ -219,10 +219,8 @@ public:
ScColorFormat(ScDocument* pDoc);
virtual ~ScColorFormat();
- void SetRange(const ScRangeList& rList);
const ScRangeList& GetRange() const;
- virtual void DataChanged(const ScRange& rRange) = 0;
virtual void SetParent(ScConditionalFormat* pParent) SAL_OVERRIDE;
virtual void startRendering() SAL_OVERRIDE;
@@ -268,7 +266,6 @@ public:
Color* GetColor(const ScAddress& rAddr) const;
void AddEntry(ScColorScaleEntry* pEntry);
- virtual void DataChanged(const ScRange& rRange) SAL_OVERRIDE;
virtual void UpdateReference( sc::RefUpdateContext& rCxt ) SAL_OVERRIDE;
virtual void UpdateInsertTab( sc::RefUpdateInsertTabContext& rCxt ) SAL_OVERRIDE;
virtual void UpdateDeleteTab( sc::RefUpdateDeleteTabContext& rCxt ) SAL_OVERRIDE;
@@ -309,7 +306,6 @@ public:
const ScDataBarFormatData* GetDataBarData() const;
ScDataBarFormatData* GetDataBarData();
- virtual void DataChanged(const ScRange& rRange) SAL_OVERRIDE;
virtual void UpdateReference( sc::RefUpdateContext& rCxt ) SAL_OVERRIDE;
virtual void UpdateInsertTab( sc::RefUpdateInsertTabContext& rCxt ) SAL_OVERRIDE;
virtual void UpdateDeleteTab( sc::RefUpdateDeleteTabContext& rCxt ) SAL_OVERRIDE;
@@ -368,7 +364,6 @@ public:
const ScIconSetFormatData* GetIconSetData() const;
ScIconSetFormatData* GetIconSetData();
- virtual void DataChanged(const ScRange& rRange) SAL_OVERRIDE;
virtual void UpdateReference( sc::RefUpdateContext& rCxt ) SAL_OVERRIDE;
virtual void UpdateInsertTab( sc::RefUpdateInsertTabContext& rCxt ) SAL_OVERRIDE;
virtual void UpdateDeleteTab( sc::RefUpdateDeleteTabContext& rCxt ) SAL_OVERRIDE;
diff --git a/sc/inc/columnspanset.hxx b/sc/inc/columnspanset.hxx
index 741b85508a88..92c78c948467 100644
--- a/sc/inc/columnspanset.hxx
+++ b/sc/inc/columnspanset.hxx
@@ -105,8 +105,6 @@ public:
void executeAction(Action& ac) const;
void executeColumnAction(ScDocument& rDoc, ColumnAction& ac) const;
void executeColumnAction(ScDocument& rDoc, ColumnAction& ac, double& fMem) const;
-
- void swap( ColumnSpanSet& r );
};
/**
diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx
index 2dfa2f7247b1..f6267a493aeb 100644
--- a/sc/inc/compiler.hxx
+++ b/sc/inc/compiler.hxx
@@ -175,7 +175,6 @@ public:
void SetExternalSingleRef( sal_uInt16 nFileId, const OUString& rTabName, const ScSingleRefData& rRef );
void SetExternalDoubleRef( sal_uInt16 nFileId, const OUString& rTabName, const ScComplexRefData& rRef );
void SetExternalName( sal_uInt16 nFileId, const OUString& rName );
- void SetMatrix( ScMatrix* p );
void SetExternal(const sal_Unicode* pStr);
/** If the token is a non-external reference, determine if the reference is
@@ -186,13 +185,10 @@ public:
bool IsValidReference() const;
formula::FormulaToken* CreateToken() const; // create typified token
- void Load( SvStream&, sal_uInt16 nVer );
static sal_Int32 GetStrLen( const sal_Unicode* pStr ); // as long as a "string" is an array
static size_t GetStrLenBytes( sal_Int32 nLen )
{ return nLen * sizeof(sal_Unicode); }
- static size_t GetStrLenBytes( const sal_Unicode* pStr )
- { return GetStrLenBytes( GetStrLen( pStr ) ); }
};
class SC_DLLPUBLIC ScCompiler : public formula::FormulaCompiler
@@ -445,7 +441,6 @@ public:
*/
ScTokenArray* CompileString( const OUString& rFormula );
ScTokenArray* CompileString( const OUString& rFormula, const OUString& rFormulaNmsp );
- const ScDocument* GetDoc() const { return pDoc; }
const ScAddress& GetPos() const { return aPos; }
void MoveRelWrap( SCCOL nMaxCol, SCROW nMaxRow );
diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx
index 4a813c998844..a694f97e7ec8 100644
--- a/sc/inc/conditio.hxx
+++ b/sc/inc/conditio.hxx
@@ -398,8 +398,6 @@ public:
// don't use the same name as for the const version
ScRangeList& GetRangeList() { return maRanges; }
- ScDocument* GetDocument() { return pDoc; }
-
bool IsEmpty() const;
size_t size() const;
diff --git a/sc/inc/dbdata.hxx b/sc/inc/dbdata.hxx
index fdcf678c6a2b..a5d67656f5de 100644
--- a/sc/inc/dbdata.hxx
+++ b/sc/inc/dbdata.hxx
@@ -96,7 +96,6 @@ public:
SC_DLLPUBLIC void GetArea(ScRange& rRange) const;
void SetArea(SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2);
void MoveTo(SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2);
- bool IsByRow() const { return bByRow; }
void SetByRow(bool bByR) { bByRow = bByR; }
bool HasHeader() const { return bHasHeader; }
void SetHeader(bool bHasH) { bHasHeader = bHasH; }
@@ -266,9 +265,6 @@ public:
SCsCOL nDx, SCsROW nDy, SCsTAB nDz);
void UpdateMoveTab( SCTAB nOldPos, SCTAB nNewPos );
- sal_uInt16 GetEntryIndex() { return nEntryIndex; }
- void SetEntryIndex(sal_uInt16 nInd) { nEntryIndex = nInd; }
-
void SetRefreshHandler( const Link<Timer *, void>& rLink )
{ aRefreshHandler = rLink; }
const Link<Timer *, void>& GetRefreshHandler() const { return aRefreshHandler; }
diff --git a/sc/inc/detfunc.hxx b/sc/inc/detfunc.hxx
index 57b455bbda7d..7792b5a82373 100644
--- a/sc/inc/detfunc.hxx
+++ b/sc/inc/detfunc.hxx
@@ -84,8 +84,6 @@ class SC_DLLPUBLIC ScDetectiveFunc
bool HasError( const ScRange& rRange, ScAddress& rErrPos );
- void FillAttributes( ScDetectiveData& rData );
-
/// called from DrawEntry/DrawAlienEntry and InsertObject
bool InsertArrow( SCCOL nCol, SCROW nRow,
SCCOL nRefStartCol, SCROW nRefStartRow,
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 74f25b8f10d6..052f1d83b78f 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -478,7 +478,6 @@ public:
SfxObjectShell* pDocShell = NULL );
SC_DLLPUBLIC ~ScDocument();
- SC_DLLPUBLIC const OUString& GetName() const { return aDocName; }
void SetName( const OUString& r ) { aDocName = r; }
const OUString& GetCodeName() const { return aDocCodeName; }
void SetCodeName( const OUString& r ) { aDocCodeName = r; }
@@ -1133,16 +1132,6 @@ public:
SCROW GetLastDataRow( SCTAB nTab, SCCOL nCol1, SCCOL nCol2, SCROW nLastRow ) const;
/**
- * Return the cell position representing the bottom-right corner of the
- * smallest range that includes all non-empty cells for specified sheet.
- *
- * @param nTab sheet index.
- *
- * @return address of the last data position.
- */
- ScAddress GetLastDataPos( SCTAB nTab ) const;
-
- /**
* Return the smallest area containing at least all contiguous cells
* having data. This area is a square containing also empty cells. It may
* shrink or extend the area given as input Flags as modifiers:
@@ -1462,7 +1451,6 @@ public:
SC_DLLPUBLIC sal_uLong AddCondFormat( ScConditionalFormat* pNew, SCTAB nTab );
void DeleteConditionalFormat( sal_uLong nIndex, SCTAB nTab );
- void ConditionalChanged( sal_uLong nKey, SCTAB nTab );
void SetCondFormList( ScConditionalFormatList* pList, SCTAB nTab );
@@ -1723,9 +1711,7 @@ public:
SC_DLLPUBLIC void CopyStdStylesFrom( ScDocument* pSrcDoc );
- rtl_TextEncoding GetSrcCharSet() const { return eSrcSet; }
sal_uLong GetSrcVersion() const { return nSrcVer; }
- SCROW GetSrcMaxRow() const { return nSrcMaxRow; }
void SetSrcCharSet( rtl_TextEncoding eNew ) { eSrcSet = eNew; }
void UpdateFontCharSet();
@@ -1802,9 +1788,6 @@ public:
bool IsDetectiveDirty() const { return bDetectiveDirty; }
void SetDetectiveDirty(bool bSet) { bDetectiveDirty = bSet; }
- sal_uInt8 GetMacroCallMode() const { return nMacroCallMode; }
- void SetMacroCallMode(sal_uInt8 nNew) { nMacroCallMode = nNew; }
-
bool GetHasMacroFunc() const { return bHasMacroFunc; }
void SetHasMacroFunc(bool bSet) { bHasMacroFunc = bSet; }
@@ -1820,7 +1803,6 @@ public:
void SetLoadingMedium( bool bVal );
void SetImportingXML( bool bVal );
bool IsImportingXML() const { return bImportingXML; }
- void SetCalcingAfterLoad( bool bVal ) { bCalcingAfterLoad = bVal; }
bool IsCalcingAfterLoad() const { return bCalcingAfterLoad; }
void SetNoListening( bool bVal ) { bNoListening = bVal; }
bool GetNoListening() const { return bNoListening; }
@@ -1965,21 +1947,18 @@ public:
void AppendToFormulaTrack( ScFormulaCell* pCell );
void RemoveFromFormulaTrack( ScFormulaCell* pCell );
void TrackFormulas( sal_uLong nHintId = SC_HINT_DATACHANGED );
- sal_uInt16 GetFormulaTrackCount() const { return nFormulaTrackCount; }
bool IsInFormulaTree( ScFormulaCell* pCell ) const;
bool IsInFormulaTrack( ScFormulaCell* pCell ) const;
bool GetHardRecalcState() { return bHardRecalcState; }
void SetHardRecalcState( bool bVal ) { bHardRecalcState = bVal; }
void StartAllListeners();
- void StartNeededListeners();
- void StartAllListeners( const ScRange& rRange );
- void EndAllListeners( const ScRange& rRange );
- const ScFormulaCell* GetFormulaTree() const { return pFormulaTree; }
- bool HasForcedFormulas() const { return bHasForcedFormulas; }
+ void StartNeededListeners();
+ void StartAllListeners( const ScRange& rRange );
+
void SetForcedFormulas( bool bVal ) { bHasForcedFormulas = bVal; }
- sal_uLong GetFormulaCodeInTree() const { return nFormulaCodeInTree; }
+ sal_uLong GetFormulaCodeInTree() const { return nFormulaCodeInTree; }
bool IsInInterpreter() const { return nInterpretLevel != 0; }
- sal_uInt16 GetInterpretLevel() { return nInterpretLevel; }
+
void IncInterpretLevel()
{
if ( nInterpretLevel < USHRT_MAX )
@@ -1990,8 +1969,7 @@ public:
if ( nInterpretLevel )
nInterpretLevel--;
}
- bool IsInMacroInterpreter() const { return nMacroInterpretLevel != 0; }
- sal_uInt16 GetMacroInterpretLevel() { return nMacroInterpretLevel; }
+ sal_uInt16 GetMacroInterpretLevel() { return nMacroInterpretLevel; }
void IncMacroInterpretLevel()
{
if ( nMacroInterpretLevel < USHRT_MAX )
@@ -2003,7 +1981,6 @@ public:
nMacroInterpretLevel--;
}
bool IsInInterpreterTableOp() const { return nInterpreterTableOpLevel != 0; }
- sal_uInt16 GetInterpreterTableOpLevel() { return nInterpreterTableOpLevel; }
void IncInterpreterTableOpLevel()
{
if ( nInterpreterTableOpLevel < USHRT_MAX )
@@ -2088,8 +2065,6 @@ public:
SC_DLLPUBLIC ScFieldEditEngine& GetEditEngine();
SC_DLLPUBLIC ScNoteEditEngine& GetNoteEngine();
- ScRefreshTimerControl* GetRefreshTimerControl() const
- { return pRefreshTimerControl; }
ScRefreshTimerControl * const & GetRefreshTimerControlAddress() const
{ return pRefreshTimerControl; }
diff --git a/sc/inc/dpdimsave.hxx b/sc/inc/dpdimsave.hxx
index 3c410643336d..f3bc3b24006a 100644
--- a/sc/inc/dpdimsave.hxx
+++ b/sc/inc/dpdimsave.hxx
@@ -112,7 +112,6 @@ public:
long GetGroupCount() const;
const ScDPSaveGroupItem& GetGroupByIndex( long nIndex ) const;
- ScDPSaveGroupItem& GetGroupAccByIndex( long nIndex );
void Rename( const OUString& rNewName );
diff --git a/sc/inc/dpgroup.hxx b/sc/inc/dpgroup.hxx
index c10a9bfda40e..e59b38a44a4c 100644
--- a/sc/inc/dpgroup.hxx
+++ b/sc/inc/dpgroup.hxx
@@ -147,8 +147,6 @@ public:
void SetNumGroupDimension( long nIndex, const ScDPNumGroupDimension& rGroup );
long GetDimensionIndex( const OUString& rName );
- ScDocument* GetDocument() { return pDoc; }
-
virtual long GetColumnCount() SAL_OVERRIDE;
virtual long GetMembersCount( long nDim ) SAL_OVERRIDE;
virtual const std::vector< SCROW >& GetColumnEntries( long nColumn ) SAL_OVERRIDE ;
diff --git a/sc/inc/dptabres.hxx b/sc/inc/dptabres.hxx
index e0085da3072b..8a923307fa38 100644
--- a/sc/inc/dptabres.hxx
+++ b/sc/inc/dptabres.hxx
@@ -306,21 +306,19 @@ public:
void SetDataLayoutOrientation( sal_uInt16 nOrient );
void SetLateInit( bool bSet );
- long GetMeasureCount() const { return maMeasureFuncs.size(); }
+ long GetMeasureCount() const { return maMeasureFuncs.size(); }
ScSubTotalFunc GetMeasureFunction(long nMeasure) const;
- OUString GetMeasureString(long nMeasure, bool bForce, ScSubTotalFunc eForceFunc, bool& rbTotalResult) const;
- OUString GetMeasureDimensionName(long nMeasure) const;
+ OUString GetMeasureString(long nMeasure, bool bForce, ScSubTotalFunc eForceFunc, bool& rbTotalResult) const;
+ OUString GetMeasureDimensionName(long nMeasure) const;
const ::com::sun::star::sheet::DataPilotFieldReference& GetMeasureRefVal(long nMeasure) const;
- sal_uInt16 GetMeasureRefOrient(long nMeasure) const;
+ sal_uInt16 GetMeasureRefOrient(long nMeasure) const;
- bool IsDataAtCol() const { return bDataAtCol; }
- bool IsDataAtRow() const { return bDataAtRow; }
bool IsLateInit() const { return bLateInit; }
long GetColStartMeasure() const;
long GetRowStartMeasure() const;
- long GetCountForMeasure( long nMeas ) const { return (nMeas == SC_DPMEASURE_ALL) ? maMeasureFuncs.size() : 1; }
+ long GetCountForMeasure( long nMeas ) const { return (nMeas == SC_DPMEASURE_ALL) ? maMeasureFuncs.size() : 1; }
bool IsBaseForGroup( long nDim ) const; // any group
long GetGroupBase( long nGroupDim ) const;
diff --git a/sc/inc/dptabsrc.hxx b/sc/inc/dptabsrc.hxx
index 11f071b7d803..e2fb1b5f6b54 100644
--- a/sc/inc/dptabsrc.hxx
+++ b/sc/inc/dptabsrc.hxx
@@ -165,7 +165,6 @@ public:
OUString GetDataDimName(long nIndex);
const ScDPCache* GetCache();
const ScDPItemData* GetItemDataById( long nDim, long nId );
- long GetDataLayoutDim(){ return pData->GetColumnCount(); }
SCROW GetMemberId( long nDim, const ScDPItemData& rData );
bool IsDataLayoutDimension(long nDim);
sal_uInt16 GetDataLayoutOrientation();
@@ -714,15 +713,14 @@ public:
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- long getCount() const { return nMbrCount;}
- ScDPMember* getByIndex(long nIndex) const;
+ long getCount() const { return nMbrCount;}
+ ScDPMember* getByIndex(long nIndex) const;
long getMinMembers() const;
sal_Int32 GetIndexFromName( const OUString& rName ) const; // <0 if not found
- const std::vector<sal_Int32>& GetGlobalOrder();
- const ScDPItemData* GetSrcItemDataByIndex( SCROW nIndex);
- SCROW GetSrcItemsCount();
+ const ScDPItemData* GetSrcItemDataByIndex( SCROW nIndex);
+ SCROW GetSrcItemsCount();
};
class ScDPMember : boost::noncopyable, public cppu::WeakImplHelper3<
diff --git a/sc/inc/formulacell.hxx b/sc/inc/formulacell.hxx
index 66f4c9b03cc5..dbafa1b1166e 100644
--- a/sc/inc/formulacell.hxx
+++ b/sc/inc/formulacell.hxx
@@ -286,23 +286,22 @@ public:
void UpdateGrow( const ScRange& rArea, SCCOL nGrowX, SCROW nGrowY );
- void UpdateInsertTab( sc::RefUpdateInsertTabContext& rCxt );
+ void UpdateInsertTab( sc::RefUpdateInsertTabContext& rCxt );
void UpdateInsertTabAbs(SCTAB nTable);
- bool UpdateDeleteTab( sc::RefUpdateDeleteTabContext& rCxt );
- void UpdateMoveTab( sc::RefUpdateMoveTabContext& rCxt, SCTAB nTabNo );
- void UpdateRenameTab(SCTAB nTable, const OUString& rName);
+ bool UpdateDeleteTab( sc::RefUpdateDeleteTabContext& rCxt );
+ void UpdateMoveTab( sc::RefUpdateMoveTabContext& rCxt, SCTAB nTabNo );
bool TestTabRefAbs(SCTAB nTable);
void UpdateCompile( bool bForceIfNameInUse = false );
void FindRangeNamesInUse(std::set<sal_uInt16>& rIndexes) const;
- bool IsSubTotal() const { return bSubTotal;}
+ bool IsSubTotal() const { return bSubTotal;}
bool IsChanged() const { return bChanged;}
- void SetChanged(bool b);
+ void SetChanged(bool b);
bool IsEmpty(); // formula::svEmptyCell result
// display as empty string if formula::svEmptyCell result
bool IsEmptyDisplayedAsString();
bool IsValue(); // also true if formula::svEmptyCell
- bool IsValueNoError();
- bool IsValueNoError() const;
+ bool IsValueNoError();
+ bool IsValueNoError() const;
bool IsHybridValueCell(); // for cells after import to deal with inherited number formats
double GetValue();
svl::SharedString GetString();
diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx
index c7e250fedb77..7744d7b4fc5a 100644
--- a/sc/inc/global.hxx
+++ b/sc/inc/global.hxx
@@ -610,10 +610,8 @@ public:
static void InitTextHeight(SfxItemPool* pPool);
static SvxBrushItem* GetEmptyBrushItem() { return pEmptyBrushItem; }
static SvxBrushItem* GetButtonBrushItem();
- static SvxBrushItem* GetEmbeddedBrushItem() { return pEmbeddedBrushItem; }
static SvxBrushItem* GetProtectedBrushItem() { return pProtectedBrushItem; }
SC_DLLPUBLIC static const OUString& GetEmptyOUString();
- static const OUString& GetScDocString();
/** Returns the specified image list with outline symbols. */
static ImageList* GetOutlineSymbols();
diff --git a/sc/inc/hints.hxx b/sc/inc/hints.hxx
index 15a0c4dcf9bf..cedbb00fb6c0 100644
--- a/sc/inc/hints.hxx
+++ b/sc/inc/hints.hxx
@@ -37,8 +37,6 @@ public:
virtual ~ScPaintHint();
void SetPrintFlag(bool bSet) { bPrint = bSet; }
-
- const ScRange& GetRange() const { return aRange; }
SCCOL GetStartCol() const { return aRange.aStart.Col(); }
SCROW GetStartRow() const { return aRange.aStart.Row(); }
SCTAB GetStartTab() const { return aRange.aStart.Tab(); }
@@ -113,7 +111,6 @@ public:
const OUString& GetDdeAppl() const { return aDdeAppl; }
const OUString& GetDdeTopic() const { return aDdeTopic; }
const OUString& GetDdeItem() const { return aDdeItem; }
- sal_uInt8 GetDdeMode() const { return nDdeMode; }
const ScAddress& GetDestPos() const { return aDestPos; }
};
diff --git a/sc/inc/lookupcache.hxx b/sc/inc/lookupcache.hxx
index 6748ef00c7c9..8c566a463d7d 100644
--- a/sc/inc/lookupcache.hxx
+++ b/sc/inc/lookupcache.hxx
@@ -91,14 +91,6 @@ public:
mfVal = fVal;
}
- void setString( const OUString * pStr )
- {
- deleteString();
- mbAlloc = false;
- mbString = true;
- mpStr = pStr;
- }
-
void setString( const OUString & rStr )
{
deleteString();
diff --git a/sc/inc/progress.hxx b/sc/inc/progress.hxx
index 340c4c18655f..e9bd5afef8e7 100644
--- a/sc/inc/progress.hxx
+++ b/sc/inc/progress.hxx
@@ -63,15 +63,11 @@ private:
}
public:
- static SfxProgress* GetGlobalSfxProgress() { return pGlobalProgress; }
static bool IsUserBreak() { return !bGlobalNoUserBreak; }
static void CreateInterpretProgress( ScDocument* pDoc,
bool bWait = true );
static ScProgress* GetInterpretProgress() { return pInterpretProgress; }
static void DeleteInterpretProgress();
- static sal_uLong GetInterpretCount() { return nInterpretProgress; }
- static sal_uLong GetGlobalRange() { return nGlobalRange; }
- static sal_uLong GetGlobalPercent() { return nGlobalPercent; }
ScProgress( SfxObjectShell* pObjSh,
const OUString& rText,
@@ -83,8 +79,6 @@ public:
/// for DummyInterpret only, never use otherwise!!!
ScProgress();
#endif
- /// might be NULL!
- SfxProgress* GetSfxProgress() const { return pProgress; }
bool SetStateText( sal_uLong nVal, const OUString &rVal, sal_uLong nNewRange = 0 )
{
diff --git a/sc/inc/rangenam.hxx b/sc/inc/rangenam.hxx
index 1190895f2277..53e244978f09 100644
--- a/sc/inc/rangenam.hxx
+++ b/sc/inc/rangenam.hxx
@@ -113,9 +113,6 @@ public:
const ScTokenArray* GetCode() const { return pCode; }
SC_DLLPUBLIC sal_uInt16 GetErrCode() const;
bool HasReferences() const;
- void SetDocument( ScDocument* pDocument){ pDoc = pDocument; }
- ScDocument* GetDocument() const { return pDoc; }
- void SetType( RangeType nType ) { eType = nType; }
void AddType( RangeType nType ) { eType = eType|nType; }
RangeType GetType() const { return eType; }
bool HasType( RangeType nType ) const;
diff --git a/sc/inc/scdll.hxx b/sc/inc/scdll.hxx
index 952b8191997c..a0e0d9ce0362 100644
--- a/sc/inc/scdll.hxx
+++ b/sc/inc/scdll.hxx
@@ -42,11 +42,6 @@ public:
ScDLL();
~ScDLL();
- /// static-init/exit-code must be linked to the application
- static void LibInit(); ///< called from SfxApplication-subclass::Init()
- static void LibExit(); ///< called from SfxApplication-subclass::Exit()
- static void PreExit(); // muss vor LibExit gerufen werden
-
/// DLL-init/exit-code must be linked to the DLL only
static SC_DLLPUBLIC void Init(); ///< called directly after loading the DLL
};
diff --git a/sc/inc/scmatrix.hxx b/sc/inc/scmatrix.hxx
index f1fbe8e7bbac..3882390fbb67 100644
--- a/sc/inc/scmatrix.hxx
+++ b/sc/inc/scmatrix.hxx
@@ -232,7 +232,6 @@ public:
void GetDimensions( SCSIZE& rC, SCSIZE& rR) const;
SCSIZE GetElementCount() const;
bool ValidColRow( SCSIZE nC, SCSIZE nR) const;
- SCSIZE CalcOffset( SCSIZE nC, SCSIZE nR) const;
/** For a row vector or column vector, if the position does not point into
the vector but is a valid column or row offset it is adapted such that
diff --git a/sc/inc/scmod.hxx b/sc/inc/scmod.hxx
index 2eb1f5dff769..482a6e625b4c 100644
--- a/sc/inc/scmod.hxx
+++ b/sc/inc/scmod.hxx
@@ -162,7 +162,6 @@ public:
bool GetIsWaterCan() const { return bIsWaterCan; }
void SetInEditCommand( bool bNew ) { bIsInEditCommand = bNew; }
- bool IsInEditCommand() const { return bIsInEditCommand; }
void SetInExecuteDrop( bool bNew ) { bIsInExecuteDrop = bNew; }
bool IsInExecuteDrop() const { return bIsInExecuteDrop; }
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 8bbf7df98f13..183fde607ec0 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -357,22 +357,16 @@ public:
svl::SharedString GetSharedString( SCCOL nCol, SCROW nRow ) const;
void SetValue( SCCOL nCol, SCROW nRow, const double& rVal );
- void SetValues( SCCOL nCol, SCROW nRow, const std::vector<double>& rVals );
+ void SetValues( SCCOL nCol, SCROW nRow, const std::vector<double>& rVals );
void SetError( SCCOL nCol, SCROW nRow, sal_uInt16 nError);
SCSIZE GetPatternCount( SCCOL nCol ) const;
SCSIZE GetPatternCount( SCCOL nCol, SCROW nRow1, SCROW nRow2 ) const;
bool ReservePatternCount( SCCOL nCol, SCSIZE nReserve );
- void SetRawString( SCCOL nCol, SCROW nRow, const svl::SharedString& rStr );
+ void SetRawString( SCCOL nCol, SCROW nRow, const svl::SharedString& rStr );
void GetString( SCCOL nCol, SCROW nRow, OUString& rString ) const;
- double* GetValueCell( SCCOL nCol, SCROW nRow );
+ double* GetValueCell( SCCOL nCol, SCROW nRow );
void GetInputString( SCCOL nCol, SCROW nRow, OUString& rString ) const;
- double GetValue( const ScAddress& rPos ) const
- {
- return ValidColRow(rPos.Col(),rPos.Row()) ?
- aCol[rPos.Col()].GetValue( rPos.Row() ) :
- 0.0;
- }
double GetValue( SCCOL nCol, SCROW nRow ) const;
const EditTextObject* GetEditText( SCCOL nCol, SCROW nRow ) const;
void RemoveEditTextCharAttribs( SCCOL nCol, SCROW nRow, const ScPatternAttr& rAttr );
@@ -584,17 +578,12 @@ public:
void AutoFormat( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow,
sal_uInt16 nFormatNo );
void GetAutoFormatData(SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, ScAutoFormatData& rData);
- void ScReplaceTabsStr( OUString& rStr, const OUString& rSrch, const OUString& rRepl ); // from sw
bool SearchAndReplace(
const SvxSearchItem& rSearchItem, SCCOL& rCol, SCROW& rRow, const ScMarkData& rMark,
ScRangeList& rMatchedRanges, OUString& rUndoStr, ScDocument* pUndoDoc);
void FindMaxRotCol( RowInfo* pRowInfo, SCSIZE nArrCount, SCCOL nX1, SCCOL nX2 );
- void GetBorderLines( SCCOL nCol, SCROW nRow,
- const ::editeng::SvxBorderLine** ppLeft, const ::editeng::SvxBorderLine** ppTop,
- const ::editeng::SvxBorderLine** ppRight, const ::editeng::SvxBorderLine** ppBottom ) const;
-
bool HasAttrib( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, sal_uInt16 nMask ) const;
bool HasAttribSelection( const ScMarkData& rMark, sal_uInt16 nMask ) const;
bool IsMerged( SCCOL nCol, SCROW nRow ) const;
diff --git a/sc/inc/tablink.hxx b/sc/inc/tablink.hxx
index 823bec4a3b3e..6d096cec35b2 100644
--- a/sc/inc/tablink.hxx
+++ b/sc/inc/tablink.hxx
@@ -58,7 +58,6 @@ public:
const OUString* pNewOptions /* = NULL */, sal_uLong nNewRefresh );
void SetInCreate(bool bSet) { bInCreate = bSet; }
void SetAddUndo(bool bSet) { bAddUndo = bSet; }
- void SetPaint(bool bSet) { bDoPaint = bSet; }
const OUString& GetFileName() const { return aFileName; }
const OUString& GetFilterName() const { return aFilterName; }
diff --git a/sc/inc/textuno.hxx b/sc/inc/textuno.hxx
index cfa4d3a07804..3223c066f081 100644
--- a/sc/inc/textuno.hxx
+++ b/sc/inc/textuno.hxx
@@ -386,7 +386,6 @@ public:
ScDocShell* GetDocShell() const { return pDocShell; }
const ScAddress& GetCellPos() const { return aCellPos; }
- void SetDirty(bool bValue) { bDirty = bValue; }
bool IsDirty() const { return bDirty; }
void SetDoUpdate(bool bValue) { bDoUpdate = bValue; }
};
diff --git a/sc/inc/tokenarray.hxx b/sc/inc/tokenarray.hxx
index 8ed86971beec..b4b81288f457 100644
--- a/sc/inc/tokenarray.hxx
+++ b/sc/inc/tokenarray.hxx
@@ -61,9 +61,6 @@ public:
void ClearScTokenArray();
ScTokenArray* Clone() const; /// True copy!
- // An estimate of the number of cells referenced by the token array
- sal_Int32 GetWeight() const;
-
void GenHash();
size_t GetHash() const { return mnHashValue;}