diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/svdviter.hxx | 3 | ||||
-rw-r--r-- | svx/source/svdraw/svdviter.cxx | 84 |
2 files changed, 0 insertions, 87 deletions
diff --git a/svx/inc/svx/svdviter.hxx b/svx/inc/svx/svdviter.hxx index 57b9e5a5aae5..544fac380c01 100644 --- a/svx/inc/svx/svdviter.hxx +++ b/svx/inc/svx/svdviter.hxx @@ -92,9 +92,6 @@ class SVX_DLLPUBLIC SdrViewIter private: SVX_DLLPRIVATE void ImpInitVars(); SVX_DLLPRIVATE SdrView* ImpFindView(); - SVX_DLLPRIVATE SdrPageView* ImpFindPageView(); - SVX_DLLPRIVATE OutputDevice* ImpFindOutDev(); - SVX_DLLPRIVATE Window* ImpFindWindow(); SVX_DLLPRIVATE sal_Bool ImpCheckPageView(SdrPageView* pPV) const; public: diff --git a/svx/source/svdraw/svdviter.cxx b/svx/source/svdraw/svdviter.cxx index 97d66ee4d77f..6cf4cc402c6e 100644 --- a/svx/source/svdraw/svdviter.cxx +++ b/svx/source/svdraw/svdviter.cxx @@ -189,90 +189,6 @@ SdrView* SdrViewIter::ImpFindView() //////////////////////////////////////////////////////////////////////////////////////////////////// -SdrPageView* SdrViewIter::ImpFindPageView() -{ - if(mpModel) - { - while(mpAktView) - { - SdrPageView* pPV = mpAktView->GetSdrPageView(); - - if(pPV) - { - if(mpPage) - { - if(ImpCheckPageView(pPV)) - { - return pPV; - } - } - else - { - return pPV; - } - - mnPageViewNum++; - } - - mnListenerNum++; - ImpFindView(); - } - } - - return 0L; -} - -//////////////////////////////////////////////////////////////////////////////////////////////////// - -OutputDevice* SdrViewIter::ImpFindOutDev() -{ - while(mpAktView) - { - const sal_uInt32 nOutDevAnz(mpAktView->PaintWindowCount()); - - if(mnOutDevNum < nOutDevAnz) - { - SdrPaintWindow* pPaintWindow = mpAktView->GetPaintWindow(mnOutDevNum); - return &pPaintWindow->GetOutputDevice(); - } - - mnListenerNum++; - ImpFindView(); - } - - return 0L; -} - -//////////////////////////////////////////////////////////////////////////////////////////////////// - -Window* SdrViewIter::ImpFindWindow() -{ - while(mpAktView) - { - const sal_uInt32 nOutDevAnz(mpAktView->PaintWindowCount()); - - while(mnOutDevNum < nOutDevAnz) - { - SdrPaintWindow* pPaintWindow = mpAktView->GetPaintWindow(mnOutDevNum); - OutputDevice& rOutDev = pPaintWindow->GetOutputDevice(); - - if(OUTDEV_WINDOW == rOutDev.GetOutDevType()) - { - return (Window*)(&rOutDev); - } - - mnOutDevNum++; - } - - mnListenerNum++; - ImpFindView(); - } - - return 0L; -} - -//////////////////////////////////////////////////////////////////////////////////////////////////// - SdrView* SdrViewIter::FirstView() { ImpInitVars(); |