diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-03 11:08:31 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-03-04 11:34:07 +0000 |
commit | 5b04c9063cc9dd77dc55c361df081812af38cdbd (patch) | |
tree | 827cd9405e68df853362ac6a021c4619bf4a6bc3 /sdext | |
parent | discard explicit SetAccessibleRelationMemberOf when members of a true VclFrame (diff) | |
download | core-5b04c9063cc9dd77dc55c361df081812af38cdbd.tar.gz core-5b04c9063cc9dd77dc55c361df081812af38cdbd.zip |
remove unused and commented out code
This code gets never called.
Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/presenter/PresenterScrollBar.cxx | 6 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterScrollBar.hxx | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/sdext/source/presenter/PresenterScrollBar.cxx b/sdext/source/presenter/PresenterScrollBar.cxx index bed4fccbb55f..774d5dfa00b9 100644 --- a/sdext/source/presenter/PresenterScrollBar.cxx +++ b/sdext/source/presenter/PresenterScrollBar.cxx @@ -693,12 +693,6 @@ geometry::RealPoint2D PresenterVerticalScrollBar::GetPoint ( return geometry::RealPoint2D(nMinor, nMajor); } -double PresenterVerticalScrollBar::GetMajor (const double nX, const double nY) const -{ - (void)nX; - return nY; -} - double PresenterVerticalScrollBar::GetMinor (const double nX, const double nY) const { (void)nY; diff --git a/sdext/source/presenter/PresenterScrollBar.hxx b/sdext/source/presenter/PresenterScrollBar.hxx index 5bac82280025..cc4ffc930a65 100644 --- a/sdext/source/presenter/PresenterScrollBar.hxx +++ b/sdext/source/presenter/PresenterScrollBar.hxx @@ -191,7 +191,6 @@ protected: virtual double GetDragDistance (const sal_Int32 nX, const sal_Int32 nY) const = 0; virtual void UpdateDragAnchor (const double nDragDistance) = 0; virtual css::geometry::RealPoint2D GetPoint (const double nMajor, const double nMinor) const = 0; - virtual double GetMajor (const double nX, const double nY) const = 0; virtual double GetMinor (const double nX, const double nY) const = 0; virtual void UpdateBorders (void) = 0; virtual void UpdateBitmaps (void) = 0; @@ -260,7 +259,6 @@ protected: virtual void UpdateDragAnchor (const double nDragDistance); virtual css::geometry::RealPoint2D GetPoint (const double nMajor, const double nMinor) const; virtual double GetMinor (const double nX, const double nY) const; - virtual double GetMajor (const double nX, const double nY) const; virtual void UpdateBorders (void); virtual void UpdateBitmaps (void); virtual void PaintComposite( |