Lines Matching refs:nCurrentPage
705 sal_Int32 nCurrentPage = maTabControl.GetCurPageId() - 1; in getCurrentPage() local
706 …DBG_ASSERT( (nPageCount>0) && (nCurrentPage<nPageCount), "sd::DrawViewShell::getCurrentPage(), ill… in getCurrentPage()
707 if( (nPageCount < 0) || (nCurrentPage>=nPageCount) ) in getCurrentPage()
708 nCurrentPage = 0; // play safe here in getCurrentPage()
712 return GetDoc()->GetSdPage((sal_uInt16)nCurrentPage, mePageKind); in getCurrentPage()
716 return GetDoc()->GetMasterSdPage((sal_uInt16)nCurrentPage, mePageKind); in getCurrentPage()
729 sal_uInt16 nCurrentPage = maTabControl.GetCurPageId() - 1; in ResetActualPage() local
732 nCurrentPage = Min((sal_uInt16)(nPageCount - 1), nCurrentPage); in ResetActualPage()
734 nCurrentPage = 0; in ResetActualPage()
752 GetDoc()->SetSelected(pPage, i == nCurrentPage); in ResetActualPage()
755 maTabControl.SetCurPageId(nCurrentPage + 1); in ResetActualPage()
759 SdPage* pActualPage = GetDoc()->GetMasterSdPage(nCurrentPage, mePageKind); in ResetActualPage()