From 9b845e5814ba8f251986494bed4ec3c64bddcfd3 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 16 Aug 2011 21:33:41 +0100 Subject: regenerate list --- svtools/inc/svtools/calendar.hxx | 1 - svtools/inc/svtools/valueset.hxx | 1 - svtools/source/control/calendar.cxx | 11 ----- svtools/source/control/valueset.cxx | 89 ------------------------------------- unusedcode.easy | 2 + 5 files changed, 2 insertions(+), 102 deletions(-) diff --git a/svtools/inc/svtools/calendar.hxx b/svtools/inc/svtools/calendar.hxx index 9d8a8f310407..d17d970d3cdb 100644 --- a/svtools/inc/svtools/calendar.hxx +++ b/svtools/inc/svtools/calendar.hxx @@ -273,7 +273,6 @@ private: #endif protected: - void HideDropPos(); DECL_STATIC_LINK( Calendar, ScrollHdl, Timer *); diff --git a/svtools/inc/svtools/valueset.hxx b/svtools/inc/svtools/valueset.hxx index 70f640d3eb53..ad78ce898841 100644 --- a/svtools/inc/svtools/valueset.hxx +++ b/svtools/inc/svtools/valueset.hxx @@ -273,7 +273,6 @@ private: SVT_DLLPRIVATE void ImplDrawSelect(); SVT_DLLPRIVATE void ImplHideSelect( sal_uInt16 nItemId ); SVT_DLLPRIVATE void ImplHighlightItem( sal_uInt16 nItemId, sal_Bool bIsSelection = sal_True ); - SVT_DLLPRIVATE void ImplDrawDropPos( sal_Bool bShow ); SVT_DLLPRIVATE void ImplDraw(); using Window::ImplScroll; SVT_DLLPRIVATE sal_Bool ImplScroll( const Point& rPos ); diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx index a260c0487092..71b28846ac55 100644 --- a/svtools/source/control/calendar.cxx +++ b/svtools/source/control/calendar.cxx @@ -2261,17 +2261,6 @@ Rectangle Calendar::GetDateRect( const Date& rDate ) const // ----------------------------------------------------------------------- -void Calendar::HideDropPos() -{ - if ( mbDropPos ) - { - ImplInvertDropPos(); - mbDropPos = sal_False; - } -} - -// ----------------------------------------------------------------------- - void Calendar::StartSelection() { if ( mpOldSelectTable ) diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx index 07e24b7d2ce2..5834f59f722f 100644 --- a/svtools/source/control/valueset.cxx +++ b/svtools/source/control/valueset.cxx @@ -940,95 +940,6 @@ void ValueSet::ImplHighlightItem( sal_uInt16 nItemId, sal_Bool bIsSelection ) // ----------------------------------------------------------------------- -void ValueSet::ImplDrawDropPos( sal_Bool bShow ) -{ - if ( (mnDropPos != VALUESET_ITEM_NOTFOUND) && !mpImpl->mpItemList->empty() ) - { - size_t nItemPos = mnDropPos; - sal_uInt16 nItemId1; - sal_uInt16 nItemId2 = 0; - sal_Bool bRight; - if ( nItemPos >= mpImpl->mpItemList->size() ) - { - nItemPos = mpImpl->mpItemList->size() - 1; - bRight = sal_True; - } - else - bRight = sal_False; - - nItemId1 = GetItemId( nItemPos ); - if ( (nItemId1 != mnSelItemId) && (nItemId1 != mnHighItemId) ) - nItemId1 = 0; - Rectangle aRect2 = (*mpImpl->mpItemList)[ nItemPos ]->maRect; - Rectangle aRect1; - if ( bRight ) - { - aRect1 = aRect2; - aRect2.SetEmpty(); - } - else if ( nItemPos > 0 ) - { - aRect1 = (*mpImpl->mpItemList)[ nItemPos-1 ]->maRect; - nItemId2 = GetItemId( nItemPos-1 ); - if ( (nItemId2 != mnSelItemId) && (nItemId2 != mnHighItemId) ) - nItemId2 = 0; - } - - // Items ueberhaupt sichtbar (nur Erstes/Letztes) - if ( !aRect1.IsEmpty() || !aRect2.IsEmpty() ) - { - if ( nItemId1 ) - ImplHideSelect( nItemId1 ); - if ( nItemId2 ) - ImplHideSelect( nItemId2 ); - - if ( bShow ) - { - const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings(); - long nX; - long nY; - SetLineColor( rStyleSettings.GetButtonTextColor() ); - if ( !aRect1.IsEmpty() ) - { - Point aPos = aRect1.RightCenter(); - nX = aPos.X()-2; - nY = aPos.Y(); - for ( sal_uInt16 i = 0; i < 4; i++ ) - DrawLine( Point( nX-i, nY-i ), Point( nX-i, nY+i ) ); - } - if ( !aRect2.IsEmpty() ) - { - Point aPos = aRect2.LeftCenter(); - nX = aPos.X()+2; - nY = aPos.Y(); - for ( sal_uInt16 i = 0; i < 4; i++ ) - DrawLine( Point( nX+i, nY-i ), Point( nX+i, nY+i ) ); - } - } - else - { - if ( !aRect1.IsEmpty() ) - { - Point aPos = aRect1.TopLeft(); - Size aSize = aRect1.GetSize(); - DrawOutDev( aPos, aSize, aPos, aSize, maVirDev ); - } - if ( !aRect2.IsEmpty() ) - { - Point aPos = aRect2.TopLeft(); - Size aSize = aRect2.GetSize(); - DrawOutDev( aPos, aSize, aPos, aSize, maVirDev ); - } - } - - if ( nItemId1 || nItemId2 ) - ImplDrawSelect(); - } - } -} - -// ----------------------------------------------------------------------- - void ValueSet::ImplDraw() { if ( mbFormat ) diff --git a/unusedcode.easy b/unusedcode.easy index d19199731ac8..66afcd24e7e1 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -69,6 +69,8 @@ CNames::Insert(ControlItem const*&, unsigned short&) CNames::Insert(ControlItem const**, unsigned short) CNames::Remove(ControlItem const*&, unsigned short) CNames::Remove(unsigned short, unsigned short) +CalendarWrapper::setFirstDayOfWeek(short) +CalendarWrapper::setMinimumNumberOfDaysForFirstWeek(short) CertificateContainer::impl_createFactory(com::sun::star::uno::Reference const&) CertificateExtension_XmlSecImpl::setCertExtn(com::sun::star::uno::Sequence, com::sun::star::uno::Sequence, unsigned char) CfgStack::Push(CfgStackData*) -- cgit v1.2.3