Searched refs:pDocProtect (Results 1 – 2 of 2) sorted by relevance
94 const ScDocProtection* pDocProtect = rDoc.GetDocProtection(); in SetDataFromDocument() local95 if (pDocProtect && pDocProtect->isProtected()) in SetDataFromDocument()96 mpDocItem.reset(new ScDocProtection(*pDocProtect)); in SetDataFromDocument()
3506 ScDocProtection* pDocProtect = pDoc->GetDocProtection(); in Unprotect() local3507 if (!pDocProtect || !pDocProtect->isProtected()) in Unprotect()3512 ::std::auto_ptr<ScDocProtection> pProtectCopy(new ScDocProtection(*pDocProtect)); in Unprotect()3514 if (!pDocProtect->verifyPassword(rPassword)) in Unprotect()
Completed in 94 milliseconds