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
8e369625
Kaydet (Commit)
8e369625
authored
Eki 27, 2015
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Avoid intermediate cast to sal_uIntPtr
Change-Id: Ia7b5f519e381318f1d1cd6d0f982d22e8bbdffa7
üst
90cdd9ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
datetime.cxx
tools/source/datetime/datetime.cxx
+6
-4
No files found.
tools/source/datetime/datetime.cxx
Dosyayı görüntüle @
8e369625
...
@@ -265,10 +265,12 @@ DateTime DateTime::CreateFromWin32FileDateTime( const sal_uInt32 & rLower, const
...
@@ -265,10 +265,12 @@ DateTime DateTime::CreateFromWin32FileDateTime( const sal_uInt32 & rLower, const
Date
_aDate
(
Date
_aDate
(
(
sal_uInt16
)(
nDays
+
1
),
nMonths
,
(
sal_uInt16
)(
nDays
+
1
),
nMonths
,
sal
::
static_int_cast
<
sal_uInt16
>
(
nYears
+
1601
)
);
sal
::
static_int_cast
<
sal_uInt16
>
(
nYears
+
1601
)
);
tools
::
Time
_aTime
(
sal_uIntPtr
(
(
aTime
/
(
a100nPerSecond
*
60
*
60
)
)
%
sal_Int64
(
24
)
),
tools
::
Time
_aTime
(
sal_uIntPtr
(
(
aTime
/
(
a100nPerSecond
*
60
)
)
%
sal_Int64
(
60
)
),
static_cast
<
sal_uInt32
>
(
(
aTime
/
(
a100nPerSecond
*
60
*
60
)
)
%
sal_Int64
(
24
)
),
sal_uIntPtr
(
(
aTime
/
(
a100nPerSecond
)
)
%
sal_Int64
(
60
)
),
static_cast
<
sal_uInt32
>
(
(
aTime
/
(
a100nPerSecond
*
60
)
)
%
sal_Int64
(
60
)
),
(
aTime
%
a100nPerSecond
)
*
100
);
static_cast
<
sal_uInt32
>
(
(
aTime
/
(
a100nPerSecond
)
)
%
sal_Int64
(
60
)
),
static_cast
<
sal_uInt64
>
(
aTime
%
a100nPerSecond
)
*
100
);
return
DateTime
(
_aDate
,
_aTime
);
return
DateTime
(
_aDate
,
_aTime
);
}
}
...
...
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