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
d69fb68f
Kaydet (Commit)
d69fb68f
authored
Ock 17, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some more loplugin:cstylecast: framework
Change-Id: Iebd80b596bcc1f740ff9f3b0f168472144cacbed
üst
74b0c5d0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
imagewrapper.cxx
framework/source/fwe/classes/imagewrapper.cxx
+1
-1
rootactiontriggercontainer.cxx
framework/source/fwe/classes/rootactiontriggercontainer.cxx
+1
-1
dispatchrecorder.cxx
framework/source/recording/dispatchrecorder.cxx
+2
-2
No files found.
framework/source/fwe/classes/imagewrapper.cxx
Dosyayı görüntüle @
d69fb68f
...
@@ -35,7 +35,7 @@ namespace framework
...
@@ -35,7 +35,7 @@ namespace framework
static
Sequence
<
sal_Int8
>
impl_getStaticIdentifier
()
static
Sequence
<
sal_Int8
>
impl_getStaticIdentifier
()
{
{
static
const
sal_uInt8
pGUID
[
16
]
=
{
0x46
,
0xAD
,
0x69
,
0xFB
,
0xA7
,
0xBE
,
0x44
,
0x83
,
0xB2
,
0xA7
,
0xB3
,
0xEC
,
0x59
,
0x4A
,
0xB7
,
0x00
};
static
const
sal_uInt8
pGUID
[
16
]
=
{
0x46
,
0xAD
,
0x69
,
0xFB
,
0xA7
,
0xBE
,
0x44
,
0x83
,
0xB2
,
0xA7
,
0xB3
,
0xEC
,
0x59
,
0x4A
,
0xB7
,
0x00
};
static
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
seqID
(
(
const
sal_Int8
*
)
pGUID
,
16
);
static
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
seqID
(
reinterpret_cast
<
const
sal_Int8
*>
(
pGUID
),
16
);
return
seqID
;
return
seqID
;
}
}
...
...
framework/source/fwe/classes/rootactiontriggercontainer.cxx
Dosyayı görüntüle @
d69fb68f
...
@@ -40,7 +40,7 @@ namespace framework
...
@@ -40,7 +40,7 @@ namespace framework
static
Sequence
<
sal_Int8
>
impl_getStaticIdentifier
()
static
Sequence
<
sal_Int8
>
impl_getStaticIdentifier
()
{
{
static
const
sal_uInt8
pGUID
[
16
]
=
{
0x17
,
0x0F
,
0xA2
,
0xC9
,
0xCA
,
0x50
,
0x4A
,
0xD3
,
0xA6
,
0x3B
,
0x39
,
0x99
,
0xC5
,
0x96
,
0x43
,
0x27
};
static
const
sal_uInt8
pGUID
[
16
]
=
{
0x17
,
0x0F
,
0xA2
,
0xC9
,
0xCA
,
0x50
,
0x4A
,
0xD3
,
0xA6
,
0x3B
,
0x39
,
0x99
,
0xC5
,
0x96
,
0x43
,
0x27
};
static
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
seqID
(
(
const
sal_Int8
*
)
pGUID
,
16
);
static
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
seqID
(
reinterpret_cast
<
const
sal_Int8
*>
(
pGUID
),
16
);
return
seqID
;
return
seqID
;
}
}
...
...
framework/source/recording/dispatchrecorder.cxx
Dosyayı görüntüle @
d69fb68f
...
@@ -82,8 +82,8 @@ Sequence< Any > make_seq_out_of_struct(
...
@@ -82,8 +82,8 @@ Sequence< Any > make_seq_out_of_struct(
}
}
::
std
::
vector
<
Any
>
vec
;
::
std
::
vector
<
Any
>
vec
;
vec
.
reserve
(
((
typelib_CompoundTypeDescription
*
)
pTD
)
->
nMembers
);
// good guess
vec
.
reserve
(
reinterpret_cast
<
typelib_CompoundTypeDescription
*>
(
pTD
)
->
nMembers
);
// good guess
flatten_struct_members
(
&
vec
,
val
.
getValue
(),
(
typelib_CompoundTypeDescription
*
)
pTD
);
flatten_struct_members
(
&
vec
,
val
.
getValue
(),
reinterpret_cast
<
typelib_CompoundTypeDescription
*>
(
pTD
)
);
TYPELIB_DANGER_RELEASE
(
pTD
);
TYPELIB_DANGER_RELEASE
(
pTD
);
return
Sequence
<
Any
>
(
&
vec
[
0
],
vec
.
size
()
);
return
Sequence
<
Any
>
(
&
vec
[
0
],
vec
.
size
()
);
}
}
...
...
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