summaryrefslogtreecommitdiff
path: root/sc/source/core/data/table5.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data/table5.cxx')
-rw-r--r--sc/source/core/data/table5.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/table5.cxx b/sc/source/core/data/table5.cxx
index d33ccf6ddf0d..189cad4c7328 100644
--- a/sc/source/core/data/table5.cxx
+++ b/sc/source/core/data/table5.cxx
@@ -1039,7 +1039,7 @@ void ScTable::SetPageSize( const Size& rSize )
bool ScTable::IsProtected() const
{
- return pTabProtection.get() && pTabProtection->isProtected();
+ return pTabProtection && pTabProtection->isProtected();
}
void ScTable::SetProtection(const ScTableProtection* pProtect)