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
09e93552
Kaydet (Commit)
09e93552
authored
Şub 21, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
XubString->OUString
Change-Id: Ie110963f0b54bd2235d088a886db3f16e397bd86
üst
7c4dcdc4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
12 deletions
+7
-12
calendar.hxx
svtools/inc/svtools/calendar.hxx
+3
-3
calendar.cxx
svtools/source/control/calendar.cxx
+4
-9
No files found.
svtools/inc/svtools/calendar.hxx
Dosyayı görüntüle @
09e93552
...
...
@@ -162,9 +162,9 @@ private:
IntDateSet
*
mpSelectTable
;
IntDateSet
*
mpOldSelectTable
;
IntDateSet
*
mpRestoreSelectTable
;
XubString
*
mpDayText
[
31
];
XubString
maDayText
;
XubString
maWeekText
;
OUString
maDayTexts
[
31
];
OUString
maDayText
;
OUString
maWeekText
;
CalendarWrapper
maCalendarWrapper
;
Rectangle
maPrevRect
;
Rectangle
maNextRect
;
...
...
svtools/source/control/calendar.cxx
Dosyayı görüntüle @
09e93552
...
...
@@ -218,7 +218,7 @@ void Calendar::ImplInit( WinBits nWinStyle )
// Tagestexte anlegen
for
(
sal_Int32
i
=
0
;
i
<
31
;
++
i
)
m
pDayText
[
i
]
=
new
String
(
OUString
::
valueOf
(
i
+
1
)
);
m
aDayTexts
[
i
]
=
OUString
::
valueOf
(
i
+
1
);
maDragScrollTimer
.
SetTimeoutHdl
(
STATIC_LINK
(
this
,
Calendar
,
ScrollHdl
)
);
maDragScrollTimer
.
SetTimeout
(
GetSettings
().
GetMouseSettings
().
GetScrollRepeat
()
);
...
...
@@ -264,13 +264,8 @@ Calendar::~Calendar()
delete
mpSundayColor
;
delete
mpSelectTable
;
if
(
mpOldSelectTable
)
delete
mpOldSelectTable
;
if
(
mpRestoreSelectTable
)
delete
mpRestoreSelectTable
;
for
(
sal_uInt16
i
=
0
;
i
<
31
;
i
++
)
delete
mpDayText
[
i
];
delete
mpOldSelectTable
;
delete
mpRestoreSelectTable
;
}
// -----------------------------------------------------------------------
...
...
@@ -715,7 +710,7 @@ void Calendar::ImplDrawDate( long nX, long nY,
sal_Bool
bBack
,
sal_Bool
bOther
,
sal_uLong
nToday
)
{
Color
*
pTextColor
=
NULL
;
const
String
&
rDay
=
*
(
mpDayText
[
nDay
-
1
])
;
const
OUString
&
rDay
=
maDayTexts
[
nDay
-
1
]
;
Rectangle
aDateRect
(
nX
,
nY
,
nX
+
mnDayWidth
-
1
,
nY
+
mnDayHeight
-
1
);
sal_Bool
bSel
=
sal_False
;
...
...
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