Lines Matching refs:nPageCount
711 const sal_Int32 nPageCount = (meEditMode == EM_PAGE)? in getCurrentPage() local
716 …DBG_ASSERT( (nPageCount>0) && (nCurrentPage<nPageCount), "sd::DrawViewShell::getCurrentPage(), ill… in getCurrentPage()
717 if( (nPageCount < 0) || (nCurrentPage>=nPageCount) ) in getCurrentPage()
740 …sal_uInt16 nPageCount = (meEditMode == EM_PAGE)?GetDoc()->GetSdPageCount(mePageKind):GetDoc()->Get… in ResetActualPage() local
741 if (nPageCount > 0) in ResetActualPage()
742 nCurrentPage = Min((sal_uInt16)(nPageCount - 1), nCurrentPage); in ResetActualPage()
755 for (sal_uInt16 i = 0; i < nPageCount; i++) in ResetActualPage()
971 sal_uInt16 nPageCount = (meEditMode == EM_PAGE) in SwitchPage() local
974 if (nSelectedPage >= nPageCount) in SwitchPage()
975 nSelectedPage = nPageCount-1; in SwitchPage()
1046 sal_uInt16 nPageCount = GetDoc()->GetSdPageCount(mePageKind); in SwitchPage() local
1047 for (sal_uInt16 i = 0; i < nPageCount; i++) in SwitchPage()
1060 for (sal_uInt16 i = 0; i < nPageCount; i++) in SwitchPage()