Remove unused code (vcl)

This commit is contained in:
Thomas Collerton 2012-04-04 17:10:01 +02:00 committed by Matúš Kukan
parent c282d0a3d8
commit 9f92346e7c
3 changed files with 0 additions and 34 deletions

View file

@ -123,9 +123,6 @@ SfxModuleArr_Impl::DeleteAndDestroy(unsigned short, unsigned short)
SfxNavigatorWrapper::GetChildWindowId()
SfxPartChildWnd_Impl::GetChildWindowId()
SfxRecordingFloatWrapper_Impl::GetChildWindowId()
Slider::SetRangeMax(long)
Slider::SetRangeMin(long)
Slider::Slider(Window*, ResId const&)
SotStorage::GetProperty(String const&, String const&, com::sun::star::uno::Any&)
SpanStyleManager::get(WPXString const&) const
SpinButton::SpinButton(Window*, ResId const&)

View file

@ -88,7 +88,6 @@ private:
public:
Slider( Window* pParent, WinBits nStyle = WB_HORZ );
Slider( Window* pParent, const ResId& rResId );
virtual void MouseButtonDown( const MouseEvent& rMEvt );
virtual void MouseButtonUp( const MouseEvent& rMEvt );
@ -107,9 +106,7 @@ public:
{ mbFullDrag = bEnable; }
sal_Bool IsDragEnabled() const { return mbFullDrag; }
void SetRangeMin( long nNewRange );
long GetRangeMin() const { return mnMinRange; }
void SetRangeMax( long nNewRange );
long GetRangeMax() const { return mnMaxRange; }
void SetRange( const Range& rRange );
Range GetRange() const { return Range( GetRangeMin(), GetRangeMax() ); }

View file

@ -104,20 +104,6 @@ Slider::Slider( Window* pParent, WinBits nStyle ) :
// -----------------------------------------------------------------------
Slider::Slider( Window* pParent, const ResId& rResId ) :
Control( WINDOW_SLIDER )
{
rResId.SetRT( RSC_SCROLLBAR );
WinBits nStyle = ImplInitRes( rResId );
ImplInit( pParent, nStyle );
ImplLoadRes( rResId );
if ( !(nStyle & WB_HIDE) )
Show();
}
// -----------------------------------------------------------------------
void Slider::ImplLoadRes( const ResId& rResId )
{
Control::ImplLoadRes( rResId );
@ -1003,20 +989,6 @@ void Slider::EndSlide()
// -----------------------------------------------------------------------
void Slider::SetRangeMin( long nNewRange )
{
SetRange( Range( nNewRange, GetRangeMax() ) );
}
// -----------------------------------------------------------------------
void Slider::SetRangeMax( long nNewRange )
{
SetRange( Range( GetRangeMin(), nNewRange ) );
}
// -----------------------------------------------------------------------
void Slider::SetRange( const Range& rRange )
{
// Range einpassen