diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-04 10:24:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-05 13:59:05 +0100 |
commit | fe630f3b097ca2bf173f21de77ed1535c767d0b9 (patch) | |
tree | 46e0a3de38dd7cdd51f79bb5689e6fdf5a1b64f3 /sd | |
parent | drop methods only used in svdem (diff) | |
download | core-fe630f3b097ca2bf173f21de77ed1535c767d0b9.tar.gz core-fe630f3b097ca2bf173f21de77ed1535c767d0b9.zip |
callcatcher: update list, add README, remove some newly unused code
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx b/sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx index 06ef5d2de3f7..7d2226af1b43 100644 --- a/sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx +++ b/sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx @@ -110,9 +110,6 @@ private: AnimatorAccess& mrAnimatorAccess; ::boost::function<double(double)> maAccelerationFunction; - Rectangle GetInnerBoundingBox ( - const view::Layouter& rLayouter, - const sal_Int32 nIndex) const; void RestartAnimation (void); }; typedef ::boost::shared_ptr<PageObjectRun> SharedPageObjectRun; @@ -382,33 +379,6 @@ PageObjectRun::~PageObjectRun (void) { } - - - -Rectangle PageObjectRun::GetInnerBoundingBox ( - const view::Layouter& rLayouter, - const sal_Int32 nIndex) const -{ - model::SharedPageDescriptor pDescriptor ( - mrAnimatorAccess.GetModel().GetPageDescriptor(nIndex)); - if (pDescriptor) - if (pDescriptor->HasState(model::PageDescriptor::ST_Selected)) - return rLayouter.GetPageObjectLayouter()->GetBoundingBox( - pDescriptor, - PageObjectLayouter::PageObject, - PageObjectLayouter::ModelCoordinateSystem); - else - return rLayouter.GetPageObjectLayouter()->GetBoundingBox( - pDescriptor, - PageObjectLayouter::Preview, - PageObjectLayouter::ModelCoordinateSystem); - else - return Rectangle(); -} - - - - void PageObjectRun::UpdateOffsets( const InsertPosition& rInsertPosition, const view::Layouter& rLayouter) |