diff options
Diffstat (limited to 'sc/source/core/data/documen3.cxx')
-rw-r--r-- | sc/source/core/data/documen3.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/documen3.cxx b/sc/source/core/data/documen3.cxx index 83a80871e9ef..33c9a2b5665b 100644 --- a/sc/source/core/data/documen3.cxx +++ b/sc/source/core/data/documen3.cxx @@ -613,7 +613,7 @@ ScExternalRefManager* ScDocument::GetExternalRefManager() const bool ScDocument::IsInExternalReferenceMarking() const { - return pExternalRefMgr.get() && pExternalRefMgr->isInReferenceMarking(); + return pExternalRefMgr && pExternalRefMgr->isInReferenceMarking(); } void ScDocument::MarkUsedExternalReferences() @@ -1860,7 +1860,7 @@ void ScDocument::SetDocProtection(const ScDocProtection* pProtect) bool ScDocument::IsDocProtected() const { - return pDocProtection.get() && pDocProtection->isProtected(); + return pDocProtection && pDocProtection->isProtected(); } bool ScDocument::IsDocEditable() const |