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
c0de7e43
Kaydet (Commit)
c0de7e43
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: Ibd269ae3147ce95f3f093e10ab736e8287e7098c
üst
9826b9cf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
sortresult.cxx
ucb/source/sorter/sortresult.cxx
+2
-2
ftpurl.cxx
ucb/source/ucp/ftp/ftpurl.cxx
+3
-3
gio_content.cxx
ucb/source/ucp/gio/gio_content.cxx
+1
-1
gio_mount.cxx
ucb/source/ucp/gio/gio_mount.cxx
+1
-1
No files found.
ucb/source/sorter/sortresult.cxx
Dosyayı görüntüle @
c0de7e43
...
...
@@ -1707,7 +1707,7 @@ void SortedResultSet::ResortModified( EventList* pList )
try
{
for
(
i
=
0
;
i
<
maModList
.
Count
();
i
++
)
{
pData
=
(
SortListData
*
)
maModList
.
GetObject
(
i
);
pData
=
static_cast
<
SortListData
*>
(
maModList
.
GetObject
(
i
)
);
nCompare
=
CompareImpl
(
mxOther
,
mxOriginal
,
pData
->
mnOldPos
,
pData
->
mnCurPos
);
pData
->
mbModified
=
false
;
...
...
@@ -1774,7 +1774,7 @@ void SortedResultSet::ResortNew( EventList* pList )
try
{
for
(
i
=
mnLastSort
;
i
<
(
sal_IntPtr
)
maS2O
.
Count
();
i
++
)
{
SortListData
*
pData
=
(
SortListData
*
)
maModList
.
GetObject
(
i
);
SortListData
*
pData
=
static_cast
<
SortListData
*>
(
maModList
.
GetObject
(
i
)
);
nNewPos
=
FindPos
(
pData
,
1
,
mnLastSort
);
if
(
nNewPos
!=
i
)
{
...
...
ucb/source/ucp/ftp/ftpurl.cxx
Dosyayı görüntüle @
c0de7e43
...
...
@@ -451,7 +451,7 @@ std::vector<FTPDirentry> FTPURL::list(
// now evaluate the error messages
sal_uInt32
len
=
data
.
m_nWritePos
;
char
*
fwd
=
(
char
*
)
data
.
m_pBuffer
;
char
*
fwd
=
static_cast
<
char
*>
(
data
.
m_pBuffer
)
;
char
*
p1
,
*
p2
;
p1
=
p2
=
fwd
;
...
...
@@ -542,7 +542,7 @@ OUString FTPURL::net_title() const
err
=
curl_easy_perform
(
curl
);
if
(
err
==
CURLE_OK
)
{
// get the title from the server
char
*
fwd
=
(
char
*
)
control
.
m_pBuffer
;
char
*
fwd
=
static_cast
<
char
*>
(
control
.
m_pBuffer
)
;
sal_uInt32
len
=
(
sal_uInt32
)
control
.
m_nWritePos
;
aNetTitle
=
OUString
(
fwd
,
len
,
RTL_TEXTENCODING_UTF8
);
...
...
@@ -632,7 +632,7 @@ extern "C" {
sal_Int32
nRequested
=
sal_Int32
(
size
*
nmemb
);
CurlInput
*
curlInput
=
static_cast
<
CurlInput
*>
(
stream
);
if
(
curlInput
)
return
size_t
(
curlInput
->
read
(
((
sal_Int8
*
)
ptr
),
nRequested
));
return
size_t
(
curlInput
->
read
(
static_cast
<
sal_Int8
*>
(
ptr
),
nRequested
));
else
return
0
;
}
...
...
ucb/source/ucp/gio/gio_content.cxx
Dosyayı görüntüle @
c0de7e43
...
...
@@ -344,7 +344,7 @@ MountOperation::MountOperation(const uno::Reference< ucb::XCommandEnvironment >&
void
MountOperation
::
Completed
(
GObject
*
source
,
GAsyncResult
*
res
,
gpointer
user_data
)
{
MountOperation
*
pThis
=
(
MountOperation
*
)
user_data
;
MountOperation
*
pThis
=
static_cast
<
MountOperation
*>
(
user_data
)
;
g_file_mount_enclosing_volume_finish
(
G_FILE
(
source
),
res
,
&
(
pThis
->
mpError
));
g_main_loop_quit
(
pThis
->
mpLoop
);
}
...
...
ucb/source/ucp/gio/gio_mount.cxx
Dosyayı görüntüle @
c0de7e43
...
...
@@ -176,7 +176,7 @@ static void ooo_mount_operation_ask_password (GMountOperation *op,
GMountOperation
*
ooo_mount_operation_new
(
const
uno
::
Reference
<
ucb
::
XCommandEnvironment
>&
rEnv
)
{
OOoMountOperation
*
pRet
=
(
OOoMountOperation
*
)
g_object_new
(
OOO_TYPE_MOUNT_OPERATION
,
NULL
);
OOoMountOperation
*
pRet
=
static_cast
<
OOoMountOperation
*>
(
g_object_new
(
OOO_TYPE_MOUNT_OPERATION
,
NULL
)
);
pRet
->
pEnv
=
&
rEnv
;
return
&
pRet
->
parent_instance
;
}
...
...
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