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
f365f652
Kaydet (Commit)
f365f652
authored
Mar 28, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clean up C-style casts from pointers to void
Change-Id: Iad2178f516b4a123175008efcc485fd6812f1027
üst
1baf49d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
benval.cxx
lotuswordpro/source/filter/benval.cxx
+1
-1
lwptools.cxx
lotuswordpro/source/filter/lwptools.cxx
+2
-2
No files found.
lotuswordpro/source/filter/benval.cxx
Dosyayı görüntüle @
f365f652
...
@@ -77,7 +77,7 @@ CBenValue::ReadValueData(BenDataPtr pReadBuffer, unsigned long Offset,
...
@@ -77,7 +77,7 @@ CBenValue::ReadValueData(BenDataPtr pReadBuffer, unsigned long Offset,
*
pAmtRead
=
0
;
*
pAmtRead
=
0
;
pCBenValueSegment
pCurrSeg
=
NULL
;
pCBenValueSegment
pCurrSeg
=
NULL
;
pLtcBenContainer
pContainer
=
GetContainer
();
pLtcBenContainer
pContainer
=
GetContainer
();
BenByteDataPtr
pBuffer
=
(
BenByteDataPtr
)
pReadBuffer
;
BenByteDataPtr
pBuffer
=
static_cast
<
BenByteDataPtr
>
(
pReadBuffer
)
;
/// pReadBuffer -- pointer to buffer of read result, allocated outside this function
/// pReadBuffer -- pointer to buffer of read result, allocated outside this function
/// Offset -- read buffer's start offset address, relative value in the whole value stream
/// Offset -- read buffer's start offset address, relative value in the whole value stream
...
...
lotuswordpro/source/filter/lwptools.cxx
Dosyayı görüntüle @
f365f652
...
@@ -266,7 +266,7 @@ XFDateStyle* LwpTools::GetSystemDateStyle(bool bLongFormat)
...
@@ -266,7 +266,7 @@ XFDateStyle* LwpTools::GetSystemDateStyle(bool bLongFormat)
{
{
status
=
U_ZERO_ERROR
;
status
=
U_ZERO_ERROR
;
nLength
=
nLengthNeed
+
1
;
nLength
=
nLengthNeed
+
1
;
pattern
=
(
UChar
*
)
malloc
(
sizeof
(
UChar
)
*
nLength
);
pattern
=
static_cast
<
UChar
*>
(
malloc
(
sizeof
(
UChar
)
*
nLength
)
);
udat_toPattern
(
reinterpret_cast
<
void
**>
(
fmt
),
sal_False
,
pattern
,
nLength
,
&
status
);
udat_toPattern
(
reinterpret_cast
<
void
**>
(
fmt
),
sal_False
,
pattern
,
nLength
,
&
status
);
}
}
if
(
pattern
==
NULL
)
if
(
pattern
==
NULL
)
...
@@ -654,7 +654,7 @@ XFTimeStyle* LwpTools::GetSystemTimeStyle()
...
@@ -654,7 +654,7 @@ XFTimeStyle* LwpTools::GetSystemTimeStyle()
{
{
status
=
U_ZERO_ERROR
;
status
=
U_ZERO_ERROR
;
nLength
=
nLengthNeed
+
1
;
nLength
=
nLengthNeed
+
1
;
pattern
=
(
UChar
*
)
malloc
(
sizeof
(
UChar
)
*
nLength
);
pattern
=
static_cast
<
UChar
*>
(
malloc
(
sizeof
(
UChar
)
*
nLength
)
);
udat_toPattern
(
reinterpret_cast
<
void
**>
(
fmt
),
false
,
pattern
,
nLength
,
&
status
);
udat_toPattern
(
reinterpret_cast
<
void
**>
(
fmt
),
false
,
pattern
,
nLength
,
&
status
);
}
}
...
...
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