summaryrefslogtreecommitdiff
path: root/sc/inc/docuno.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/docuno.hxx')
-rw-r--r--sc/inc/docuno.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx
index 630caed76206..0e68afbd0058 100644
--- a/sc/inc/docuno.hxx
+++ b/sc/inc/docuno.hxx
@@ -91,7 +91,7 @@ class SC_DLLPUBLIC ScModelObj : public SfxBaseModel,
public css::sheet::opencl::XOpenCLSelection
{
private:
- SfxItemPropertySet aPropSet;
+ SfxItemPropertySet const aPropSet;
ScDocShell* pDocShell;
std::unique_ptr<ScPrintFuncCache> pPrintFuncCache;
std::unique_ptr<ScPrintUIOptions> pPrinterOptions;
@@ -506,9 +506,9 @@ class ScTableColumnsObj : public cppu::WeakImplHelper<
{
private:
ScDocShell* pDocShell;
- SCTAB nTab;
- SCCOL nStartCol;
- SCCOL nEndCol;
+ SCTAB const nTab;
+ SCCOL const nStartCol;
+ SCCOL const nEndCol;
ScTableColumnObj* GetObjectByIndex_Impl(sal_Int32 nIndex) const;
ScTableColumnObj* GetObjectByName_Impl(const OUString& aName) const;
@@ -572,9 +572,9 @@ class ScTableRowsObj : public cppu::WeakImplHelper<
{
private:
ScDocShell* pDocShell;
- SCTAB nTab;
- SCROW nStartRow;
- SCROW nEndRow;
+ SCTAB const nTab;
+ SCROW const nStartRow;
+ SCROW const nEndRow;
ScTableRowObj* GetObjectByIndex_Impl(sal_Int32 nIndex) const;
@@ -659,7 +659,7 @@ class ScAnnotationsObj : public cppu::WeakImplHelper<
{
private:
ScDocShell* pDocShell;
- SCTAB nTab; ///< Collection belongs to the sheet
+ SCTAB const nTab; ///< Collection belongs to the sheet
bool GetAddressByIndex_Impl( sal_Int32 nIndex, ScAddress& rPos ) const;
ScAnnotationObj* GetObjectByIndex_Impl( sal_Int32 nIndex ) const;
@@ -702,7 +702,7 @@ class ScScenariosObj : public cppu::WeakImplHelper<
{
private:
ScDocShell* pDocShell;
- SCTAB nTab;
+ SCTAB const nTab;
bool GetScenarioIndex_Impl( const OUString& rName, SCTAB& rIndex );
ScTableSheetObj* GetObjectByIndex_Impl(sal_Int32 nIndex);