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
d4e57ae4
Kaydet (Commit)
d4e57ae4
authored
Haz 08, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I13f61e80a27e58fba347173e5d84464553312836
üst
b2c8ea3a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
bridgetest.cxx
testtools/source/bridgetest/bridgetest.cxx
+3
-3
cppobj.cxx
testtools/source/bridgetest/cppobj.cxx
+1
-1
No files found.
testtools/source/bridgetest/bridgetest.cxx
Dosyayı görüntüle @
d4e57ae4
...
...
@@ -385,7 +385,7 @@ static bool performTest(
bRet
&=
check
(
aData
.
Any
==
xI
,
"### unexpected any!"
);
bRet
&=
check
(
!
(
aData
.
Any
!=
xI
),
"### unexpected any!"
);
aData
.
Sequence
.
realloc
(
2
);
aData
.
Sequence
[
0
]
=
*
(
TestElement
const
*
)
&
aData
;
aData
.
Sequence
[
0
]
=
*
static_cast
<
TestElement
const
*>
(
&
aData
)
;
// aData.Sequence[1] is empty
// aSetData is a manually copy of aData for first setting:
TestData
aSetData
;
...
...
@@ -395,7 +395,7 @@ static bool performTest(
aData
.
UHyper
,
aData
.
Float
,
aData
.
Double
,
aData
.
Enum
,
aData
.
String
,
xI
,
Any
(
&
xI
,
cppu
::
UnoType
<
XInterface
>::
get
()));
aSetData
.
Sequence
.
realloc
(
2
);
aSetData
.
Sequence
[
0
]
=
*
(
TestElement
const
*
)
&
aSetData
;
aSetData
.
Sequence
[
0
]
=
*
static_cast
<
TestElement
const
*>
(
&
aSetData
)
;
// aSetData.Sequence[1] is empty
xLBT
->
setValues
(
aSetData
.
Bool
,
aSetData
.
Char
,
aSetData
.
Byte
,
aSetData
.
Short
,
...
...
@@ -1063,7 +1063,7 @@ uno_Sequence* cloneSequence(const uno_Sequence* val, const Type& type)
}
default
:
uno_type_sequence_construct
(
&
retSeq
,
type
.
getTypeLibType
(),
(
void
*
)
val
->
elements
,
&
retSeq
,
type
.
getTypeLibType
(),
const_cast
<
char
*>
(
val
->
elements
)
,
val
->
nElements
,
reinterpret_cast
<
uno_AcquireFunc
>
(
cpp_acquire
));
break
;
}
...
...
testtools/source/bridgetest/cppobj.cxx
Dosyayı görüntüle @
d4e57ae4
...
...
@@ -1170,7 +1170,7 @@ Sequence< OUString > Test_Impl::getSupportedServiceNames()
static
Reference
<
XInterface
>
SAL_CALL
Test_Impl_create
(
SAL_UNUSED_PARAMETER
const
Reference
<
XMultiServiceFactory
>
&
)
{
return
Reference
<
XInterface
>
(
(
XBridgeTest
*
)
new
Test_Impl
(
)
);
return
Reference
<
XInterface
>
(
static_cast
<
XBridgeTest
*>
(
new
Test_Impl
()
)
);
}
}
...
...
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