Lines Matching refs:pCurDocShell
146 SfxObjectShell* pCurDocShell = SfxObjectShell::Current(); in lcl_IsPasswordCorrect() local
148 pCurDocShell->GetProtectionHash( aPasswordHash ); in lcl_IsPasswordCorrect()
286 SfxObjectShell* pCurDocShell = SfxObjectShell::Current(); in FillItemSet_Impl() local
287 if (pCurDocShell&& !pCurDocShell->IsReadOnly()) in FillItemSet_Impl()
301 if (bDoRecordChanges != pCurDocShell->IsChangeRecording()) in FillItemSet_Impl()
303 pCurDocShell->SetChangeRecording( bDoRecordChanges ); in FillItemSet_Impl()
309 bDoChangeProtection != pCurDocShell->HasChangeRecordProtection()) in FillItemSet_Impl()
313 pCurDocShell->SetProtectionPassword( m_aNewPassword ); in FillItemSet_Impl()
320 if (pCurDocShell->HasSecurityOptOpenReadOnly() && in FillItemSet_Impl()
321 bDoOpenReadonly != pCurDocShell->IsSecurityOptOpenReadOnly()) in FillItemSet_Impl()
323 pCurDocShell->SetSecurityOptOpenReadOnly( bDoOpenReadonly ); in FillItemSet_Impl()
334 SfxObjectShell* pCurDocShell = SfxObjectShell::Current(); in Reset_Impl() local
337 if (!pCurDocShell) in Reset_Impl()
359 sal_Bool bIsReadonly = pCurDocShell->IsReadOnly(); in Reset_Impl()
360 if (pCurDocShell->HasSecurityOptOpenReadOnly() && !bIsHTMLDoc) in Reset_Impl()
362 m_aOpenReadonlyCB.Check( pCurDocShell->IsSecurityOptOpenReadOnly() ); in Reset_Impl()
392 if (pCurDocShell->GetProtectionHash( aPasswordHash ) && in Reset_Impl()