diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-04-12 12:07:43 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-04-12 12:35:48 +0200 |
commit | 7a18848e143933ccdb75bdfc8713da4f7f02efe4 (patch) | |
tree | 1bcbc0f489836a35ce8315e686b3e91fd2e1a4f6 | |
parent | 03a651507e34ee423674d2a537f2bb4b509af6d6 (diff) |
unusedcode.easy: remove various methods
-rw-r--r-- | canvas/inc/canvas/elapsedtime.hxx | 4 | ||||
-rw-r--r-- | canvas/source/tools/elapsedtime.cxx | 5 | ||||
-rw-r--r-- | sc/source/filter/excel/xlpivot.cxx | 5 | ||||
-rw-r--r-- | sc/source/filter/inc/xlpivot.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/inc/model/SlsVisualState.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/model/SlsVisualState.cxx | 37 | ||||
-rwxr-xr-x | unusedcode.easy | 3 |
7 files changed, 0 insertions, 58 deletions
diff --git a/canvas/inc/canvas/elapsedtime.hxx b/canvas/inc/canvas/elapsedtime.hxx index ccce419d9d4a..ea2a94c1528c 100644 --- a/canvas/inc/canvas/elapsedtime.hxx +++ b/canvas/inc/canvas/elapsedtime.hxx @@ -68,10 +68,6 @@ namespace canvas */ ElapsedTime( ::boost::shared_ptr<ElapsedTime> const & pTimeBase ); - /** Gets this timer's base timer. - */ - ::boost::shared_ptr<ElapsedTime> const & getTimeBase() const; - /** Reset the time The instance of the reset() call starts the time diff --git a/canvas/source/tools/elapsedtime.cxx b/canvas/source/tools/elapsedtime.cxx index c75d57ec0871..906950a00a27 100644 --- a/canvas/source/tools/elapsedtime.cxx +++ b/canvas/source/tools/elapsedtime.cxx @@ -140,11 +140,6 @@ ElapsedTime::ElapsedTime( { } -boost::shared_ptr<ElapsedTime> const & ElapsedTime::getTimeBase() const -{ - return m_pTimeBase; -} - void ElapsedTime::reset() { m_fLastQueriedTime = 0.0; diff --git a/sc/source/filter/excel/xlpivot.cxx b/sc/source/filter/excel/xlpivot.cxx index 854c5805f594..ddfdff07414c 100644 --- a/sc/source/filter/excel/xlpivot.cxx +++ b/sc/source/filter/excel/xlpivot.cxx @@ -323,11 +323,6 @@ bool XclPCField::IsGroupChildField() const return (meFieldType == EXC_PCFIELD_STDGROUP) || (meFieldType == EXC_PCFIELD_DATECHILD); } -sal_uInt16 XclPCField::GetBaseFieldIndex() const -{ - return IsGroupChildField() ? maFieldInfo.mnGroupBase : mnFieldIdx; -} - bool XclPCField::HasOrigItems() const { return IsSupportedField() && ((maFieldInfo.mnOrigItems > 0) || HasPostponedItems()); diff --git a/sc/source/filter/inc/xlpivot.hxx b/sc/source/filter/inc/xlpivot.hxx index 74aef3605066..d640aa4e9102 100644 --- a/sc/source/filter/inc/xlpivot.hxx +++ b/sc/source/filter/inc/xlpivot.hxx @@ -509,8 +509,6 @@ public: bool IsGroupBaseField() const; /** Returns true, if this field is a child field in a grouping (it has a base field). */ bool IsGroupChildField() const; - /** Returns the index of the base field, if exists, otherwise the own index. */ - sal_uInt16 GetBaseFieldIndex() const; /** Returns true, if the field is based on a column in the source data area. */ bool HasOrigItems() const; diff --git a/sd/source/ui/slidesorter/inc/model/SlsVisualState.hxx b/sd/source/ui/slidesorter/inc/model/SlsVisualState.hxx index bfc05fdb7ed6..98f26dbf41a3 100644 --- a/sd/source/ui/slidesorter/inc/model/SlsVisualState.hxx +++ b/sd/source/ui/slidesorter/inc/model/SlsVisualState.hxx @@ -55,7 +55,6 @@ public: ~VisualState (void); void SetVisualState (const State eState); - void SetVisualStateBlend (const double nBlend); void UpdateVisualState (const PageDescriptor& rDescriptor); @@ -76,7 +75,6 @@ public: private: State meCurrentVisualState; State meOldVisualState; - double mnVisualStateBlend; sal_Int32 mnStateAnimationId; bool mbOldMouseOverState; bool mbCurrentMouseOverState; diff --git a/sd/source/ui/slidesorter/model/SlsVisualState.cxx b/sd/source/ui/slidesorter/model/SlsVisualState.cxx index e854cba60787..4cbafc0bfb04 100644 --- a/sd/source/ui/slidesorter/model/SlsVisualState.cxx +++ b/sd/source/ui/slidesorter/model/SlsVisualState.cxx @@ -26,7 +26,6 @@ * ************************************************************************/ - #include "model/SlsVisualState.hxx" #include "model/SlsPageDescriptor.hxx" #include "controller/SlsAnimator.hxx" @@ -37,7 +36,6 @@ VisualState::VisualState (const sal_Int32 nPageId) : mnPageId(nPageId), meCurrentVisualState(VS_None), meOldVisualState(VS_None), - mnVisualStateBlend(1.0), mnStateAnimationId(controller::Animator::NotAnAnimationId), maLocationOffset(0,0), mnLocationAnimationId(controller::Animator::NotAnAnimationId), @@ -47,9 +45,6 @@ VisualState::VisualState (const sal_Int32 nPageId) { } - - - VisualState::~VisualState (void) { if (mnStateAnimationId != controller::Animator::NotAnAnimationId @@ -60,27 +55,13 @@ VisualState::~VisualState (void) } } - - - void VisualState::SetVisualState (const State eState) { meOldVisualState = meCurrentVisualState; meCurrentVisualState = eState; - mnVisualStateBlend = 1.0; } - - -void VisualState::SetVisualStateBlend (const double nBlend) -{ - mnVisualStateBlend = nBlend; -} - - - - void VisualState::UpdateVisualState (const PageDescriptor& rDescriptor) { if (rDescriptor.HasState(PageDescriptor::ST_Excluded)) @@ -98,8 +79,6 @@ void VisualState::UpdateVisualState (const PageDescriptor& rDescriptor) } - - void VisualState::SetMouseOverState (const bool bIsMouseOver) { mbOldMouseOverState = mbCurrentMouseOverState; @@ -107,16 +86,12 @@ void VisualState::SetMouseOverState (const bool bIsMouseOver) } - - Point VisualState::GetLocationOffset (void) const { return maLocationOffset; } - - bool VisualState::SetLocationOffset (const Point& rOffset) { if (maLocationOffset != rOffset) @@ -129,48 +104,36 @@ bool VisualState::SetLocationOffset (const Point& rOffset) } - - double VisualState::GetButtonAlpha (void) const { return mnButtonAlpha; } - - void VisualState::SetButtonAlpha (const double nAlpha) { mnButtonAlpha = nAlpha; } - - double VisualState::GetButtonBarAlpha (void) const { return mnButtonBarAlpha; } - - void VisualState::SetButtonBarAlpha (const double nAlpha) { mnButtonBarAlpha = nAlpha; } - - sal_Int32 VisualState::GetButtonAlphaAnimationId (void) const { return mnButtonAlphaAnimationId; } - - void VisualState::SetButtonAlphaAnimationId (const sal_Int32 nAnimationId) { mnButtonAlphaAnimationId = nAnimationId; diff --git a/unusedcode.easy b/unusedcode.easy index c619945c672a..91e77f2ef201 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -318,7 +318,6 @@ XMLTextListAutoStylePoolNames_Impl::Remove(rtl::OUString*) XMLTextListAutoStylePool_Impl::GetPos(XMLTextListAutoStylePoolEntry_Impl const*) const XMLTextListAutoStylePool_Impl::Remove(XMLTextListAutoStylePoolEntry_Impl*) XclExpPivotCache::GetFieldAcc(rtl::OUString const&) -XclPCField::GetBaseFieldIndex() const _CpyTabFrms::Insert(_CpyTabFrm const&, unsigned short&) _CpyTabFrms::Insert(_CpyTabFrm const*, unsigned short) _CpyTabFrms::Insert(_CpyTabFrms const*, unsigned short, unsigned short) @@ -704,7 +703,6 @@ cairocanvas::SpriteDeviceHelper::getSurface() cairocanvas::TextLayout::draw(_cairo*) canvas::PropertySetHelper::PropertySetHelper(std::__debug::vector<canvas::tools::ValueMap<canvas::PropertySetHelper::Callbacks>::MapEntry, std::allocator<canvas::tools::ValueMap<canvas::PropertySetHelper::Callbacks>::MapEntry> > const&) canvas::createSurfaceProxyManager(boost::shared_ptr<canvas::IRenderModule> const&) -canvas::tools::ElapsedTime::getTimeBase() const canvas::tools::clipBlit(basegfx::B2IRange&, basegfx::B2IPoint&, basegfx::B2IRange const&, basegfx::B2IRange const&) cmis::Content::exchangeIdentity(com::sun::star::uno::Reference<com::sun::star::ucb::XContentIdentifier> const&) cmis::Content::queryChildren(std::__debug::list<rtl::Reference<cmis::Content>, std::allocator<rtl::Reference<cmis::Content> > >&) @@ -828,7 +826,6 @@ sd::LeftImpressPaneShell::RegisterInterface(SfxModule*) sd::ToolPanelPaneShell::RegisterInterface(SfxModule*) sd::ViewShellBase::RegisterFactory(unsigned short) sd::slidesorter::controller::SelectionFunction::EventDescriptor::EventDescriptor(KeyEvent const&, sd::slidesorter::SlideSorter&) -sd::slidesorter::model::VisualState::SetVisualStateBlend(double) sd::slidesorter::view::Button::IsDown() const sd::slidesorter::view::FontProvider::GetFont(OutputDevice const&) sdext::presenter::PresenterAnimation::PresenterAnimation(unsigned long, unsigned long, unsigned long) |