Kaydet (Commit) 7a18848e authored tarafından Thomas Arnhold's avatar Thomas Arnhold

unusedcode.easy: remove various methods

üst 03a65150
......@@ -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
......
......@@ -140,11 +140,6 @@ ElapsedTime::ElapsedTime(
{
}
boost::shared_ptr<ElapsedTime> const & ElapsedTime::getTimeBase() const
{
return m_pTimeBase;
}
void ElapsedTime::reset()
{
m_fLastQueriedTime = 0.0;
......
......@@ -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());
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment