summaryrefslogtreecommitdiff
path: root/sc/inc/chartuno.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/chartuno.hxx')
-rw-r--r--sc/inc/chartuno.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/chartuno.hxx b/sc/inc/chartuno.hxx
index 1dd16cf7a224..801a9d99db93 100644
--- a/sc/inc/chartuno.hxx
+++ b/sc/inc/chartuno.hxx
@@ -47,7 +47,7 @@ class ScChartsObj : public cppu::WeakImplHelper<
{
private:
ScDocShell* pDocShell;
- SCTAB nTab; // Charts are per sheet
+ SCTAB const nTab; // Charts are per sheet
ScChartObj* GetObjectByIndex_Impl(long nIndex) const;
ScChartObj* GetObjectByName_Impl(const OUString& aName) const;
@@ -105,8 +105,8 @@ class ScChartObj : public ::cppu::BaseMutex
{
private:
ScDocShell* pDocShell;
- SCTAB nTab; // Charts are per sheet
- OUString aChartName;
+ SCTAB const nTab; // Charts are per sheet
+ OUString const aChartName;
void Update_Impl( const ScRangeListRef& rRanges, bool bColHeaders, bool bRowHeaders );
void GetData_Impl( ScRangeListRef& rRanges, bool& rColHeaders, bool& rRowHeaders ) const;