summaryrefslogtreecommitdiffstats
path: root/sc/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-23 11:25:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-23 14:59:04 +0200
commit53d0a6deffc425cdc4fc1382cb1cab2072b4f56b (patch)
tree90b32da169ad49a48eb6748812f7898286e9a3f4 /sc/inc
parenttdf#111964: only trim XML whitespace (diff)
downloadcore-53d0a6deffc425cdc4fc1382cb1cab2072b4f56b.tar.gz
core-53d0a6deffc425cdc4fc1382cb1cab2072b4f56b.zip
loplugin:constparam in sc part2
Change-Id: I4fd18096d7d22d8c146a2437906187d5df1cb268 Reviewed-on: https://gerrit.libreoffice.org/41447 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/addincol.hxx2
-rw-r--r--sc/inc/address.hxx10
-rw-r--r--sc/inc/autoform.hxx2
-rw-r--r--sc/inc/charthelper.hxx10
-rw-r--r--sc/inc/chgtrack.hxx18
-rw-r--r--sc/inc/compare.hxx2
-rw-r--r--sc/inc/compiler.hxx2
-rw-r--r--sc/inc/dociter.hxx2
-rw-r--r--sc/inc/docpool.hxx2
-rw-r--r--sc/inc/olinetab.hxx2
-rw-r--r--sc/inc/patattr.hxx15
-rw-r--r--sc/inc/stlpool.hxx2
-rw-r--r--sc/inc/stlsheet.hxx2
-rw-r--r--sc/inc/table.hxx22
14 files changed, 47 insertions, 46 deletions
diff --git a/sc/inc/addincol.hxx b/sc/inc/addincol.hxx
index ae857f8613ac..472faddf823f 100644
--- a/sc/inc/addincol.hxx
+++ b/sc/inc/addincol.hxx
@@ -206,7 +206,7 @@ public:
bool NeedsCaller() const;
void SetCaller( const css::uno::Reference<css::uno::XInterface>& rInterface );
- void SetCallerFromObjectShell( SfxObjectShell* pSh );
+ void SetCallerFromObjectShell( const SfxObjectShell* pSh );
bool ValidParamCount() { return bValidCount;}
ScAddInArgumentType GetArgType( long nPos );
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index e8c0092e14dc..607a9a824691 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -317,7 +317,7 @@ public:
resulting reference is fully valid or not.
*/
SC_DLLPUBLIC ScRefFlags Parse(
- const OUString&, ScDocument* = nullptr,
+ const OUString&, const ScDocument* = nullptr,
const Details& rDetails = detailsOOOa1,
ExternalInfo* pExtInfo = nullptr,
const css::uno::Sequence<css::sheet::ExternalLinkInfo>* pExternalLinks = nullptr,
@@ -340,7 +340,7 @@ public:
The document for the maximum defined sheet number.
*/
SC_DLLPUBLIC SAL_WARN_UNUSED_RESULT bool Move( SCCOL nDeltaX, SCROW nDeltaY, SCTAB nDeltaZ,
- ScAddress& rErrorPos, ScDocument* pDocument = nullptr );
+ ScAddress& rErrorPos, const ScDocument* pDocument = nullptr );
inline bool operator==( const ScAddress& rAddress ) const;
inline bool operator!=( const ScAddress& rAddress ) const;
@@ -537,7 +537,7 @@ public:
inline bool In( const ScAddress& ) const; ///< is Address& in Range?
inline bool In( const ScRange& ) const; ///< is Range& in Range?
- SC_DLLPUBLIC ScRefFlags Parse( const OUString&, ScDocument* = nullptr,
+ SC_DLLPUBLIC ScRefFlags Parse( const OUString&, const ScDocument* = nullptr,
const ScAddress::Details& rDetails = ScAddress::detailsOOOa1,
ScAddress::ExternalInfo* pExtInfo = nullptr,
const css::uno::Sequence<css::sheet::ExternalLinkInfo>* pExternalLinks = nullptr,
@@ -615,7 +615,7 @@ public:
The document for the maximum defined sheet number.
*/
SC_DLLPUBLIC SAL_WARN_UNUSED_RESULT bool Move( SCCOL aDeltaX, SCROW aDeltaY, SCTAB aDeltaZ,
- ScRange& rErrorRange, ScDocument* pDocument = nullptr );
+ ScRange& rErrorRange, const ScDocument* pDocument = nullptr );
/** Same as Move() but with sticky end col/row anchors. */
SC_DLLPUBLIC SAL_WARN_UNUSED_RESULT bool MoveSticky( SCCOL aDeltaX, SCROW aDeltaY, SCTAB aDeltaZ,
@@ -850,7 +850,7 @@ public:
inline bool operator == ( const ScRefAddress& r ) const;
- OUString GetRefString( ScDocument* pDocument, SCTAB nActTab,
+ OUString GetRefString( const ScDocument* pDocument, SCTAB nActTab,
const ScAddress::Details& rDetails = ScAddress::detailsOOOa1) const;
};
diff --git a/sc/inc/autoform.hxx b/sc/inc/autoform.hxx
index 8d36511a1c3c..bb9b886f3e44 100644
--- a/sc/inc/autoform.hxx
+++ b/sc/inc/autoform.hxx
@@ -297,7 +297,7 @@ public:
bool IsEqualData( sal_uInt16 nIndex1, sal_uInt16 nIndex2 ) const;
- void FillToItemSet( sal_uInt16 nIndex, SfxItemSet& rItemSet, ScDocument& rDoc ) const;
+ void FillToItemSet( sal_uInt16 nIndex, SfxItemSet& rItemSet, const ScDocument& rDoc ) const;
void GetFromItemSet( sal_uInt16 nIndex, const SfxItemSet& rItemSet, const ScNumFormatAbbrev& rNumFormat );
bool Load( SvStream& rStream, const ScAfVersions& rVersions );
diff --git a/sc/inc/charthelper.hxx b/sc/inc/charthelper.hxx
index 000e6af6e110..9e7689e87fcf 100644
--- a/sc/inc/charthelper.hxx
+++ b/sc/inc/charthelper.hxx
@@ -40,16 +40,16 @@ public:
static sal_uInt16 DoUpdateAllCharts( ScDocument* pDoc );
static void AdjustRangesOfChartsOnDestinationPage( ScDocument* pSrcDoc, ScDocument* pDestDoc, const SCTAB nSrcTab, const SCTAB nDestTab );
static void UpdateChartsOnDestinationPage( ScDocument* pDestDoc, const SCTAB nDestTab );
- static css::uno::Reference< css::chart2::XChartDocument > GetChartFromSdrObject( SdrObject* pObject );
+ static css::uno::Reference< css::chart2::XChartDocument > GetChartFromSdrObject( const SdrObject* pObject );
static void GetChartRanges( const css::uno::Reference< css::chart2::XChartDocument >& xChartDoc,
std::vector< OUString >& rRanges );
static void SetChartRanges( const css::uno::Reference< css::chart2::XChartDocument >& xChartDoc,
const css::uno::Sequence< OUString >& rRanges );
- static void AddRangesIfProtectedChart( ScRangeListVector& rRangesVector, ScDocument* pDocument, SdrObject* pObject );
- static void FillProtectedChartRangesVector( ScRangeListVector& rRangesVector, ScDocument* pDocument, SdrPage* pPage );
- static void GetChartNames( ::std::vector< OUString >& rChartNames, SdrPage* pPage );
- static void CreateProtectedChartListenersAndNotify( ScDocument* pDoc, SdrPage* pPage, ScModelObj* pModelObj, SCTAB nTab,
+ static void AddRangesIfProtectedChart( ScRangeListVector& rRangesVector, const ScDocument* pDocument, SdrObject* pObject );
+ static void FillProtectedChartRangesVector( ScRangeListVector& rRangesVector, ScDocument* pDocument, const SdrPage* pPage );
+ static void GetChartNames( ::std::vector< OUString >& rChartNames, const SdrPage* pPage );
+ static void CreateProtectedChartListenersAndNotify( ScDocument* pDoc, const SdrPage* pPage, ScModelObj* pModelObj, SCTAB nTab,
const ScRangeListVector& rRangesVector, const ::std::vector< OUString >& rExcludedChartNames, bool bSameDoc = true );
};
diff --git a/sc/inc/chgtrack.hxx b/sc/inc/chgtrack.hxx
index b389029fb9bf..c1bc13f20ae1 100644
--- a/sc/inc/chgtrack.hxx
+++ b/sc/inc/chgtrack.hxx
@@ -250,7 +250,7 @@ protected:
virtual ~ScChangeAction();
OUString GetRefString(
- const ScBigRange& rRange, ScDocument* pDoc, bool bFlag3D = false) const;
+ const ScBigRange& rRange, const ScDocument* pDoc, bool bFlag3D = false) const;
void SetActionNumber( sal_uLong n ) { nAction = n; }
void SetRejectAction( sal_uLong n ) { nRejectAction = n; }
@@ -723,11 +723,11 @@ public:
const sal_uLong nRejectingNumber, const ScBigRange& aBigRange,
const OUString& aUser, const DateTime& aDateTime,
const OUString &sComment, const ScCellValue& rOldCell,
- ScDocument* pDoc, const OUString& sOldValue ); // to use for XML Import
+ const ScDocument* pDoc, const OUString& sOldValue ); // to use for XML Import
ScChangeActionContent(
const sal_uLong nActionNumber, const ScCellValue& rNewCell,
- const ScBigRange& aBigRange, ScDocument* pDoc,
+ const ScBigRange& aBigRange, const ScDocument* pDoc,
const OUString& sNewValue ); // to use for XML Import of Generated Actions
virtual ~ScChangeActionContent() override;
@@ -754,12 +754,12 @@ public:
// Used in import filter AppendContentOnTheFly,
void SetOldNewCells(
const ScCellValue& rOldCell, sal_uLong nOldFormat,
- const ScCellValue& rNewCell, sal_uLong nNewFormat, ScDocument* pDoc );
+ const ScCellValue& rNewCell, sal_uLong nNewFormat, const ScDocument* pDoc );
// Use this only in the XML import,
// takes ownership of cell.
void SetNewCell(
- const ScCellValue& rCell, ScDocument* pDoc, const OUString& rFormatted );
+ const ScCellValue& rCell, const ScDocument* pDoc, const OUString& rFormatted );
// These functions should be protected but for
// the XML import they are public.
@@ -956,7 +956,7 @@ class ScChangeTrack : public utl::ConfigurationListener
// Content on top an Position
ScChangeActionContent* SearchContentAt( const ScBigAddress&,
- ScChangeAction* pButNotThis ) const;
+ const ScChangeAction* pButNotThis ) const;
void DeleteGeneratedDelContent(
ScChangeActionContent* );
@@ -965,7 +965,7 @@ class ScChangeTrack : public utl::ConfigurationListener
void DeleteCellEntries(
ScChangeActionCellListEntry*&,
- ScChangeAction* pDeletor );
+ const ScChangeAction* pDeletor );
// Reject action and all dependent actions,
// Table stems from previous GetDependents,
@@ -1045,7 +1045,7 @@ public:
// after new value was set in the document,
// old value from RefDoc/UndoDoc
void AppendContent( const ScAddress& rPos,
- ScDocument* pRefDoc );
+ const ScDocument* pRefDoc );
// after new values were set in the document,
// old values from RefDoc/UndoDoc
void AppendContentRange( const ScRange& rRange,
@@ -1110,7 +1110,7 @@ public:
// adjust references for MergeDocument
//! may only be used in a temporary opened document.
//! the Track (?) is unclean afterwards
- void MergePrepare( ScChangeAction* pFirstMerge, bool bShared );
+ void MergePrepare( const ScChangeAction* pFirstMerge, bool bShared );
void MergeOwn( ScChangeAction* pAct, sal_uLong nFirstMerge, bool bShared );
static bool MergeIgnore( const ScChangeAction&, sal_uLong nFirstMerge );
diff --git a/sc/inc/compare.hxx b/sc/inc/compare.hxx
index 6ab6527764d3..d67ba0027112 100644
--- a/sc/inc/compare.hxx
+++ b/sc/inc/compare.hxx
@@ -55,7 +55,7 @@ struct CompareOptions
utl::SearchParam::SearchType eSearchType;
bool bMatchWholeCell;
- CompareOptions( ScDocument* pDoc, const ScQueryEntry& rEntry, utl::SearchParam::SearchType eSrchTyp );
+ CompareOptions( const ScDocument* pDoc, const ScQueryEntry& rEntry, utl::SearchParam::SearchType eSrchTyp );
private:
CompareOptions( const CompareOptions & ) = delete;
CompareOptions& operator=( const CompareOptions & ) = delete;
diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx
index 78c51264c41c..8a3a496ec2c1 100644
--- a/sc/inc/compiler.hxx
+++ b/sc/inc/compiler.hxx
@@ -437,7 +437,7 @@ public:
const ScAddress& GetPos() const { return aPos; }
void MoveRelWrap( SCCOL nMaxCol, SCROW nMaxRow );
- static void MoveRelWrap( ScTokenArray& rArr, ScDocument* pDoc, const ScAddress& rPos,
+ static void MoveRelWrap( const ScTokenArray& rArr, ScDocument* pDoc, const ScAddress& rPos,
SCCOL nMaxCol, SCROW nMaxRow );
/** If the character is allowed as tested by nFlags (SC_COMPILER_C_...
diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx
index 2bbb90f31edd..544e64ebc9c1 100644
--- a/sc/inc/dociter.hxx
+++ b/sc/inc/dociter.hxx
@@ -109,7 +109,7 @@ public:
private:
static const sc::CellStoreType* GetColumnCellStore(ScDocument& rDoc, SCTAB nTab, SCCOL nCol);
static const ScAttrArray* GetAttrArrayByCol(ScDocument& rDoc, SCTAB nTab, SCCOL nCol);
- static bool IsQueryValid(ScDocument& rDoc, const ScQueryParam& rParam, SCTAB nTab, SCROW nRow, ScRefCellValue* pCell);
+ static bool IsQueryValid(ScDocument& rDoc, const ScQueryParam& rParam, SCTAB nTab, SCROW nRow, const ScRefCellValue* pCell);
class DataAccess
{
diff --git a/sc/inc/docpool.hxx b/sc/inc/docpool.hxx
index a62a03f296ac..bcdb6d197163 100644
--- a/sc/inc/docpool.hxx
+++ b/sc/inc/docpool.hxx
@@ -44,7 +44,7 @@ public:
virtual const SfxPoolItem& Put( const SfxPoolItem&, sal_uInt16 nWhich = 0 ) override;
void StyleDeleted( const ScStyleSheet* pStyle ); // delete templates(?) in organizer
- void CellStyleCreated( const OUString& rName, ScDocument* pDoc );
+ void CellStyleCreated( const OUString& rName, const ScDocument* pDoc );
virtual bool GetPresentation( const SfxPoolItem& rItem,
MapUnit ePresentationMetric,
OUString& rText,
diff --git a/sc/inc/olinetab.hxx b/sc/inc/olinetab.hxx
index 8f4d73d98c61..7fc76e99838f 100644
--- a/sc/inc/olinetab.hxx
+++ b/sc/inc/olinetab.hxx
@@ -136,7 +136,7 @@ public:
bool ManualAction(
SCCOLROW nStartPos, SCCOLROW nEndPos, bool bShow, const ScTable& rTable, bool bCol);
- void finalizeImport(ScTable& rTable);
+ void finalizeImport(const ScTable& rTable);
void RemoveAll();
};
diff --git a/sc/inc/patattr.hxx b/sc/inc/patattr.hxx
index 422fa5b7615f..4dddfd6739dd 100644
--- a/sc/inc/patattr.hxx
+++ b/sc/inc/patattr.hxx
@@ -85,7 +85,7 @@ public:
/** Static helper function to fill a font object from the passed item set. */
static void GetFont( vcl::Font& rFont, const SfxItemSet& rItemSet,
ScAutoFontColorMode eAutoMode,
- OutputDevice* pOutDev = nullptr,
+ const OutputDevice* pOutDev = nullptr,
const Fraction* pScale = nullptr,
const SfxItemSet* pCondSet = nullptr,
SvtScriptType nScript = SvtScriptType::NONE, const Color* pBackConfigColor = nullptr,
@@ -94,11 +94,12 @@ public:
static ScDxfFont GetDxfFont(const SfxItemSet& rSet, SvtScriptType nScript);
/** Fills a font object from the own item set. */
void GetFont( vcl::Font& rFont, ScAutoFontColorMode eAutoMode,
- OutputDevice* pOutDev = nullptr,
- const Fraction* pScale = nullptr,
- const SfxItemSet* pCondSet = nullptr,
- SvtScriptType nScript = SvtScriptType::NONE, const Color* pBackConfigColor = nullptr,
- const Color* pTextConfigColor = nullptr ) const;
+ const OutputDevice* pOutDev = nullptr,
+ const Fraction* pScale = nullptr,
+ const SfxItemSet* pCondSet = nullptr,
+ SvtScriptType nScript = SvtScriptType::NONE,
+ const Color* pBackConfigColor = nullptr,
+ const Color* pTextConfigColor = nullptr ) const;
/** Converts all Calc items contained in rSrcSet to edit engine items and puts them into rEditSet. */
static void FillToEditItemSet( SfxItemSet& rEditSet, const SfxItemSet& rSrcSet, const SfxItemSet* pCondSet = nullptr );
@@ -117,7 +118,7 @@ public:
void SetStyleSheet(ScStyleSheet* pNewStyle, bool bClearDirectFormat = true);
const ScStyleSheet* GetStyleSheet() const { return pStyle; }
const OUString* GetStyleName() const;
- void UpdateStyleSheet(ScDocument* pDoc);
+ void UpdateStyleSheet(const ScDocument* pDoc);
void StyleToName();
bool IsVisible() const;
diff --git a/sc/inc/stlpool.hxx b/sc/inc/stlpool.hxx
index 7d75031fe2cd..1c5d40d5f542 100644
--- a/sc/inc/stlpool.hxx
+++ b/sc/inc/stlpool.hxx
@@ -29,7 +29,7 @@ class ScDocument;
class SC_DLLPUBLIC ScStyleSheetPool : public SfxStyleSheetPool
{
public:
- ScStyleSheetPool( SfxItemPool& rPool,
+ ScStyleSheetPool( const SfxItemPool& rPool,
ScDocument* pDocument );
void SetDocument( ScDocument* pDocument );
diff --git a/sc/inc/stlsheet.hxx b/sc/inc/stlsheet.hxx
index b8309aa64df1..e47b4cf96924 100644
--- a/sc/inc/stlsheet.hxx
+++ b/sc/inc/stlsheet.hxx
@@ -64,7 +64,7 @@ protected:
virtual ~ScStyleSheet() override;
ScStyleSheet( const OUString& rName,
- ScStyleSheetPool& rPool,
+ const ScStyleSheetPool& rPool,
SfxStyleFamily eFamily,
sal_uInt16 nMask );
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 94f45581c503..d64bc90b4f3b 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -852,9 +852,9 @@ public:
bool ColHidden(SCCOL nCol, SCCOL* pFirstCol = nullptr, SCCOL* pLastCol = nullptr) const;
bool SetRowHidden(SCROW nStartRow, SCROW nEndRow, bool bHidden);
void SetColHidden(SCCOL nStartCol, SCCOL nEndCol, bool bHidden);
- void CopyColHidden(ScTable& rTable, SCCOL nStartCol, SCCOL nEndCol);
- void CopyRowHidden(ScTable& rTable, SCROW nStartRow, SCROW nEndRow);
- void CopyRowHeight(ScTable& rSrcTable, SCROW nStartRow, SCROW nEndRow, SCROW nSrcOffset);
+ void CopyColHidden(const ScTable& rTable, SCCOL nStartCol, SCCOL nEndCol);
+ void CopyRowHidden(const ScTable& rTable, SCROW nStartRow, SCROW nEndRow);
+ void CopyRowHeight(const ScTable& rSrcTable, SCROW nStartRow, SCROW nEndRow, SCROW nSrcOffset);
SCROW FirstVisibleRow(SCROW nStartRow, SCROW nEndRow) const;
SCROW LastVisibleRow(SCROW nStartRow, SCROW nEndRow) const;
SCROW CountVisibleRows(SCROW nStartRow, SCROW nEndRow) const;
@@ -865,8 +865,8 @@ public:
bool RowFiltered(SCROW nRow, SCROW* pFirstRow = nullptr, SCROW* pLastRow = nullptr) const;
bool ColFiltered(SCCOL nCol, SCCOL* pFirstCol = nullptr, SCCOL* pLastCol = nullptr) const;
bool HasFilteredRows(SCROW nStartRow, SCROW nEndRow) const;
- void CopyColFiltered(ScTable& rTable, SCCOL nStartCol, SCCOL nEndCol);
- void CopyRowFiltered(ScTable& rTable, SCROW nStartRow, SCROW nEndRow);
+ void CopyColFiltered(const ScTable& rTable, SCCOL nStartCol, SCCOL nEndCol);
+ void CopyRowFiltered(const ScTable& rTable, SCROW nStartRow, SCROW nEndRow);
void SetRowFiltered(SCROW nStartRow, SCROW nEndRow, bool bFiltered);
void SetColFiltered(SCCOL nStartCol, SCCOL nEndCol, bool bFiltered);
SCROW FirstNonFilteredRow(SCROW nStartRow, SCROW nEndRow) const;
@@ -890,10 +890,10 @@ public:
void Reorder( const sc::ReorderParam& rParam );
bool ValidQuery(
- SCROW nRow, const ScQueryParam& rQueryParam, ScRefCellValue* pCell = nullptr,
+ SCROW nRow, const ScQueryParam& rQueryParam, const ScRefCellValue* pCell = nullptr,
bool* pbTestEqualCondition = nullptr);
void TopTenQuery( ScQueryParam& );
- SCSIZE Query(ScQueryParam& rQueryParam, bool bKeepSub);
+ SCSIZE Query(const ScQueryParam& rQueryParam, bool bKeepSub);
bool CreateQueryParam(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScQueryParam& rQueryParam);
void GetFilterEntries(SCCOL nCol, SCROW nRow1, SCROW nRow2, std::vector<ScTypedStrData>& rStrings, bool& rHasDates);
@@ -1032,7 +1032,7 @@ private:
ScProgress* pProgress, sal_uLong& rProgress );
void FillSeriesSimple(
- ScCellValue& rSrcCell, SCCOLROW& rInner, SCCOLROW nIMin, SCCOLROW nIMax,
+ const ScCellValue& rSrcCell, SCCOLROW& rInner, SCCOLROW nIMin, SCCOLROW nIMax,
SCCOLROW& rCol, SCCOLROW& rRow, bool bVertical, ScProgress* pProgress, sal_uLong& rProgress );
void FillAutoSimple(
@@ -1110,7 +1110,7 @@ private:
const ScSortParam& rSortParam, SCCOLROW nInd1, SCCOLROW nInd2,
bool bKeepQuery, bool bUpdateRefs );
void QuickSort( ScSortInfoArray*, SCCOLROW nLo, SCCOLROW nHi);
- void SortReorderByColumn( ScSortInfoArray* pArray, SCROW nRow1, SCROW nRow2, bool bPattern, ScProgress* pProgress );
+ void SortReorderByColumn( const ScSortInfoArray* pArray, SCROW nRow1, SCROW nRow2, bool bPattern, ScProgress* pProgress );
void SortReorderByRow( ScSortInfoArray* pArray, SCCOL nCol1, SCCOL nCol2, ScProgress* pProgress );
void SortReorderByRowRefUpdate( ScSortInfoArray* pArray, SCCOL nCol1, SCCOL nCol2, ScProgress* pProgress );
@@ -1119,13 +1119,13 @@ private:
bool CreateStarQuery(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScQueryParam& rQueryParam);
void GetUpperCellString(SCCOL nCol, SCROW nRow, OUString& rStr);
- bool RefVisible(ScFormulaCell* pCell);
+ bool RefVisible(const ScFormulaCell* pCell);
bool IsEmptyLine(SCROW nRow, SCCOL nStartCol, SCCOL nEndCol) const;
void IncDate(double& rVal, sal_uInt16& nDayOfMonth, double nStep, FillDateCmd eCmd);
void FillFormula(
- ScFormulaCell* pSrcCell, SCCOL nDestCol, SCROW nDestRow, bool bLast );
+ const ScFormulaCell* pSrcCell, SCCOL nDestCol, SCROW nDestRow, bool bLast );
void UpdateInsertTabAbs(SCTAB nNewPos);
bool GetNextSpellingCell(SCCOL& rCol, SCROW& rRow, bool bInSel,
const ScMarkData& rMark) const;