summaryrefslogtreecommitdiff
path: root/sc/inc/table.hxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-01-06 15:02:17 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2021-01-07 08:55:55 +0100
commit85b400482dee5c9da2cf83a755ec37ab149b5b20 (patch)
tree30f301df3cb487cab431d1c60bcff907dff625fb /sc/inc/table.hxx
parent41cfe181e3eb4502847fb56955635852e3928d92 (diff)
ScTable::GetProtection and ScDocument::GetTabProtection can be const
Change-Id: Ic30a3fe10ae6206e876a05bed5dc189a9516b452 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108851 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sc/inc/table.hxx')
-rw-r--r--sc/inc/table.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 9edf642f6f46..1962290cb862 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -381,7 +381,7 @@ public:
bool IsProtected() const;
void SetProtection(const ScTableProtection* pProtect);
- ScTableProtection* GetProtection();
+ const ScTableProtection* GetProtection() const;
void GetUnprotectedCells( ScRangeList& rRangeList ) const;
bool IsEditActionAllowed( sc::ColRowEditAction eAction, SCCOLROW nStart, SCCOLROW nEnd ) const;