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 | |
parent | 1cbaa2a61090fab9e0b24ac3f18395ced92e984f (diff) |
callcatcher: some unused code
-rw-r--r-- | svl/inc/svl/style.hxx | 1 | ||||
-rw-r--r-- | svl/source/items/style.cxx | 12 | ||||
-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 | ||||
-rw-r--r-- | unusedcode.easy | 10 |
7 files changed, 0 insertions, 115 deletions
diff --git a/svl/inc/svl/style.hxx b/svl/inc/svl/style.hxx index 4f478c0c37b6..7edecd70883d 100644 --- a/svl/inc/svl/style.hxx +++ b/svl/inc/svl/style.hxx @@ -365,7 +365,6 @@ class SVL_DLLPUBLIC SfxUnoStyleSheet : public ::cppu::ImplInheritanceHelper2< Sf { public: SfxUnoStyleSheet( const UniString& _rName, const SfxStyleSheetBasePool& _rPool, SfxStyleFamily _eFamily, sal_uInt16 _nMaske ); - SfxUnoStyleSheet( const SfxStyleSheet& _rSheet ); static SfxUnoStyleSheet* getUnoStyleSheet( const ::com::sun::star::uno::Reference< ::com::sun::star::style::XStyle >& xStyle ); diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index 1078c7f3462d..e09109cde2ef 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -953,12 +953,6 @@ SfxStyleSheetBase* SfxStyleSheetPool::Create( const SfxStyleSheet& r ) { return new SfxStyleSheet( r ); } -/* -sal_Bool SfxStyleSheetPool::CopyTo(SfxStyleSheetPool &, const String &) -{ - return sal_False; -} -*/ // -------------------------------------------------------------------- // class SfxUnoStyleSheet @@ -970,12 +964,6 @@ SfxUnoStyleSheet::SfxUnoStyleSheet( const UniString& _rName, const SfxStyleSheet } // -------------------------------------------------------------------- -SfxUnoStyleSheet::SfxUnoStyleSheet( const SfxStyleSheet& _rSheet ) -: ::cppu::ImplInheritanceHelper2< SfxStyleSheet, ::com::sun::star::style::XStyle, ::com::sun::star::lang::XUnoTunnel >( _rSheet ) -{ -} - -// -------------------------------------------------------------------- SfxUnoStyleSheet* SfxUnoStyleSheet::getUnoStyleSheet( const ::com::sun::star::uno::Reference< ::com::sun::star::style::XStyle >& xStyle ) { 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: */ diff --git a/unusedcode.easy b/unusedcode.easy index d5d44bcbb460..4d6f8b93c7fa 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -709,20 +709,11 @@ SdrTextObj::NbcSetFitToSize(SdrFitToSizeType) SdrTextObj::NbcSetMaxTextFrameHeight(long) SdrTextObj::NbcSetMaxTextFrameWidth(long) SdrTextObj::NbcSetTextHidden(unsigned char) -SdrTextObj::StartTextAnimation(OutputDevice*, Point const&, long) -SdrTextObj::StopTextAnimation(OutputDevice*, long) SdrUndoAttrObj::SetRepeatAttr(SfxItemSet const&) SdrUndoGroup::SdrUndoGroup(SdrModel&, String const&) SdrUndoGroup::push_front(SdrUndoAction*) SdrView::MarkNext(Point const&, unsigned char) SdrView::MarkNext(unsigned char) -SdrViewIter::FirstOutDev() -SdrViewIter::FirstPageView() -SdrViewIter::FirstWindow() -SdrViewIter::NextOutDev() -SdrViewIter::NextPageView() -SdrViewIter::NextWindow() -SdrViewIter::SdrViewIter(SdrModel const*) SectReprArr::Insert(SectRepr* const&, unsigned short&) SectReprArr::Insert(SectRepr* const*, unsigned short) SectReprArr::Insert(SectReprArr const*, unsigned short, unsigned short) @@ -815,7 +806,6 @@ SfxUShortRanges::Contains(unsigned short) const SfxUShortRanges::Intersects(SfxUShortRanges const&) const SfxUShortRanges::SfxUShortRanges(int, int, int, ...) SfxUShortRangesItem::SfxUShortRangesItem(unsigned short, unsigned short const*) -SfxUnoStyleSheet::SfxUnoStyleSheet(SfxStyleSheet const&) SfxViewFactory::~SfxViewFactory() SfxViewFrame::Hide() Slider::SetRangeMax(long) |