Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
9c2dee67
Kaydet (Commit)
9c2dee67
authored
Nis 04, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
drop methods only used in svdem
üst
83b42cdc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
30 deletions
+0
-30
calendar.hxx
svtools/inc/svtools/calendar.hxx
+0
-1
calendar.cxx
svtools/source/control/calendar.cxx
+0
-13
svdem.cxx
svtools/workben/svdem.cxx
+0
-16
No files found.
svtools/inc/svtools/calendar.hxx
Dosyayı görüntüle @
9c2dee67
...
...
@@ -300,7 +300,6 @@ public:
void
SetNoSelection
();
sal_Bool
IsDateSelected
(
const
Date
&
rDate
)
const
;
Date
GetFirstSelectedDate
()
const
;
Date
GetLastSelectedDate
()
const
;
void
EnableCallEverySelect
(
sal_Bool
bEvery
=
sal_True
)
{
mbAllSel
=
bEvery
;
}
sal_Bool
IsCallEverySelectEnabled
()
const
{
return
mbAllSel
;
}
...
...
svtools/source/control/calendar.cxx
Dosyayı görüntüle @
9c2dee67
...
...
@@ -1911,19 +1911,6 @@ Date Calendar::GetFirstSelectedDate() const
// -----------------------------------------------------------------------
Date
Calendar
::
GetLastSelectedDate
()
const
{
if
(
!
mpSelectTable
->
empty
()
)
return
Date
(
*
mpSelectTable
->
rbegin
()
);
else
{
Date
aDate
(
0
,
0
,
0
);
return
aDate
;
}
}
// -----------------------------------------------------------------------
void
Calendar
::
SetCurDate
(
const
Date
&
rNewDate
)
{
if
(
!
rNewDate
.
IsValidAndGregorian
()
)
...
...
svtools/workben/svdem.cxx
Dosyayı görüntüle @
9c2dee67
...
...
@@ -218,7 +218,6 @@ public:
DECL_LINK
(
Test
,
PushButton
*
);
DECL_LINK
(
SelectHdl
,
Window
*
);
DECL_LINK
(
CalSelectHdl
,
CalendarField
*
);
void
ContextMenu
(
const
Point
&
rPos
);
void
Command
(
const
CommandEvent
&
rCEvt
);
...
...
@@ -819,8 +818,6 @@ MyWin::MyWin( Window* pParent, WinBits aWinStyle ) :
{
aCalendarField
.
EnableEmptyFieldValue
(
sal_True
);
aCalendarField
.
SetCalendarStyle
(
aCalendarField
.
GetCalendarStyle
()
|
WB_RANGESELECT
);
aCalendarField
.
SetSelectHdl
(
LINK
(
this
,
MyWin
,
CalSelectHdl
)
);
// aCalendarField.SetDate( Date() );
aCalendarField
.
SetEmptyDate
();
aCalendarField
.
EnableToday
();
aCalendarField
.
EnableNone
();
...
...
@@ -1001,19 +998,6 @@ IMPL_LINK( MyWin, SelectHdl, Window*, pCtrl )
// -----------------------------------------------------------------------
IMPL_LINK
(
MyWin
,
CalSelectHdl
,
CalendarField
*
,
pCtrl
)
{
if
(
pCtrl
==
&
aCalendarField
)
{
Calendar
*
l_pCalendar
=
pCtrl
->
GetCalendar
();
aCalendarField2
.
SetDate
(
l_pCalendar
->
GetLastSelectDate
()
);
}
return
0
;
}
// -----------------------------------------------------------------------
void
MyWin
::
ContextMenu
(
const
Point
&
rPos
)
{
FontList
aList
(
this
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment