diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-14 22:13:56 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-15 11:23:37 +0100 |
commit | 1c38704ff1bff7942a9d1eb8452a43c03fe41449 (patch) | |
tree | 7ad5114802f4a802ab311b5613a4b6b4533644d1 /svx | |
parent | 1cbaa2a61090fab9e0b24ac3f18395ced92e984f (diff) |
callcatcher: some unused code
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/svdotext.hxx | 3 | ||||
-rw-r--r-- | svx/inc/svx/svdviter.hxx | 14 | ||||
-rw-r--r-- | svx/source/svdraw/svdotext.cxx | 12 | ||||
-rw-r--r-- | svx/source/svdraw/svdviter.cxx | 63 |
4 files changed, 0 insertions, 92 deletions
diff --git a/svx/inc/svx/svdotext.hxx b/svx/inc/svx/svdotext.hxx index 9f54b9b257f2..c1fca7d8bc12 100644 --- a/svx/inc/svx/svdotext.hxx +++ b/svx/inc/svx/svdotext.hxx @@ -478,9 +478,6 @@ public: virtual void EndTextEdit(SdrOutliner& rOutl); virtual sal_uInt16 GetOutlinerViewAnchorMode() const; - void StartTextAnimation(OutputDevice* pOutDev, const Point& rOffset, long nExtraData=0L); - void StopTextAnimation(OutputDevice* pOutDev=NULL, long nExtraData=0L); - virtual void NbcSetOutlinerParaObject(OutlinerParaObject* pTextObject); void NbcSetOutlinerParaObjectForText( OutlinerParaObject* pTextObject, SdrText* pText ); virtual OutlinerParaObject* GetOutlinerParaObject() const; diff --git a/svx/inc/svx/svdviter.hxx b/svx/inc/svx/svdviter.hxx index 7873e567d3ee..57b9e5a5aae5 100644 --- a/svx/inc/svx/svdviter.hxx +++ b/svx/inc/svx/svdviter.hxx @@ -44,10 +44,6 @@ Using this class, you can find out: - All PageViews in which a model is displayed - All PageViews in which a certain page is visible (also as MasterPage) - All PageViews in which a certain object is visible (also as MasterPage) -- OutputDevice* First/NextOutDev() - - All OutputDevices in which a model is displayed - - All OutputDevices in which a certain page is visible (also as MasterPage) - - All OutputDevices in which a certain object is visible (also as MasterPage) - Window* First/NextWindow() - All Windows in which a model is displayed - All Windows in which a certain page is visible (also as MasterPage) @@ -102,21 +98,11 @@ private: SVX_DLLPRIVATE sal_Bool ImpCheckPageView(SdrPageView* pPV) const; public: - SdrViewIter(const SdrModel* pModel); SdrViewIter(const SdrPage* pPage, sal_Bool bNoMasterPage = sal_False); SdrViewIter(const SdrObject* pObject, sal_Bool bNoMasterPage = sal_False); SdrView* FirstView(); SdrView* NextView(); - - SdrPageView* FirstPageView(); - SdrPageView* NextPageView(); - - OutputDevice* FirstOutDev(); - OutputDevice* NextOutDev(); - - Window* FirstWindow(); - Window* NextWindow(); }; #endif //_SVDVITER_HXX diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx index c7222a9e433a..46cb7495f293 100644 --- a/svx/source/svdraw/svdotext.cxx +++ b/svx/source/svdraw/svdotext.cxx @@ -1023,18 +1023,6 @@ void SdrTextObj::ImpSetCharStretching(SdrOutliner& rOutliner, const Size& rTextS } } -void SdrTextObj::StartTextAnimation(OutputDevice* /*pOutDev*/, const Point& /*rOffset*/, long /*nExtraData*/) -{ - // use new text animation - SetTextAnimationAllowed(sal_True); -} - -void SdrTextObj::StopTextAnimation(OutputDevice* /*pOutDev*/, long /*nExtraData*/) -{ - // use new text animation - SetTextAnimationAllowed(sal_False); -} - void SdrTextObj::TakeObjNameSingul(XubString& rName) const { XubString aStr; diff --git a/svx/source/svdraw/svdviter.cxx b/svx/source/svdraw/svdviter.cxx index 5b64a8272946..97d66ee4d77f 100644 --- a/svx/source/svdraw/svdviter.cxx +++ b/svx/source/svdraw/svdviter.cxx @@ -51,16 +51,6 @@ void SdrViewIter::ImpInitVars() //////////////////////////////////////////////////////////////////////////////////////////////////// -SdrViewIter::SdrViewIter(const SdrModel* pModel) -{ - mpModel = pModel; - mpPage = 0L; - mpObject = 0L; - ImpInitVars(); -} - -//////////////////////////////////////////////////////////////////////////////////////////////////// - SdrViewIter::SdrViewIter(const SdrPage* pPage, sal_Bool bNoMasterPage) { mpPage = pPage; @@ -297,57 +287,4 @@ SdrView* SdrViewIter::NextView() return ImpFindView(); } -//////////////////////////////////////////////////////////////////////////////////////////////////// - -SdrPageView* SdrViewIter::FirstPageView() -{ - ImpInitVars(); - ImpFindView(); - return ImpFindPageView(); -} - -//////////////////////////////////////////////////////////////////////////////////////////////////// - -SdrPageView* SdrViewIter::NextPageView() -{ - mnPageViewNum++; - return ImpFindPageView(); -} - -//////////////////////////////////////////////////////////////////////////////////////////////////// - -OutputDevice* SdrViewIter::FirstOutDev() -{ - ImpInitVars(); - ImpFindView(); - return ImpFindOutDev(); -} - -//////////////////////////////////////////////////////////////////////////////////////////////////// - -OutputDevice* SdrViewIter::NextOutDev() -{ - mnOutDevNum++; - return ImpFindOutDev(); -} - -//////////////////////////////////////////////////////////////////////////////////////////////////// - -Window* SdrViewIter::FirstWindow() -{ - ImpInitVars(); - ImpFindView(); - return ImpFindWindow(); -} - -//////////////////////////////////////////////////////////////////////////////////////////////////// - -Window* SdrViewIter::NextWindow() -{ - mnOutDevNum++; - return ImpFindWindow(); -} - -//////////////////////////////////////////////////////////////////////////////////////////////////// - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |