summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-16 21:33:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-17 09:54:13 +0100
commit9b845e5814ba8f251986494bed4ec3c64bddcfd3 (patch)
treec570b8271469977d2c2ed3748ea7314d635e640d
parenteb5323cd72ad929505d34520fbbee3eedf82feb5 (diff)
regenerate list
-rw-r--r--svtools/inc/svtools/calendar.hxx1
-rw-r--r--svtools/inc/svtools/valueset.hxx1
-rw-r--r--svtools/source/control/calendar.cxx11
-rw-r--r--svtools/source/control/valueset.cxx89
-rw-r--r--unusedcode.easy2
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<com::sun::star::lang::XMultiServiceFactory> const&)
CertificateExtension_XmlSecImpl::setCertExtn(com::sun::star::uno::Sequence<signed char>, com::sun::star::uno::Sequence<signed char>, unsigned char)
CfgStack::Push(CfgStackData*)