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
947cc1b5
Kaydet (Commit)
947cc1b5
authored
Ara 01, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
inline one-liner static method
Change-Id: I9e0bd7a34ed691b245738dd66ff5ba7cc879ebe5
üst
630ec711
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
interfacecontainer.cxx
cppuhelper/source/interfacecontainer.cxx
+1
-9
No files found.
cppuhelper/source/interfacecontainer.cxx
Dosyayı görüntüle @
947cc1b5
...
...
@@ -36,14 +36,6 @@ using namespace com::sun::star::lang;
namespace
cppu
{
/**
* Reallocate the sequence.
*/
static
void
realloc
(
Sequence
<
Reference
<
XInterface
>
>
&
rSeq
,
sal_Int32
nNewLen
)
{
rSeq
.
realloc
(
nNewLen
);
}
/**
* Remove an element from an interface sequence.
*/
...
...
@@ -211,7 +203,7 @@ sal_Int32 OInterfaceContainerHelper::addInterface( const Reference<XInterface> &
if
(
bIsList
)
{
sal_Int32
nLen
=
aData
.
pAsSequence
->
getLength
();
realloc
(
*
aData
.
pAsSequence
,
nLen
+
1
);
aData
.
pAsSequence
->
realloc
(
nLen
+
1
);
aData
.
pAsSequence
->
getArray
()[
nLen
]
=
rListener
;
return
nLen
+
1
;
}
...
...
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