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
24cbc7a1
Kaydet (Commit)
24cbc7a1
authored
Ock 16, 2018
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:useuniqueptr in SbUnoMethod
Change-Id: Ibeae1754a18152c3a17379c95e3caa536a8822db
üst
59548784
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
sbunoobj.cxx
basic/source/classes/sbunoobj.cxx
+2
-2
sbunoobj.hxx
basic/source/inc/sbunoobj.hxx
+1
-1
No files found.
basic/source/classes/sbunoobj.cxx
Dosyayı görüntüle @
24cbc7a1
...
...
@@ -2493,7 +2493,7 @@ SbUnoMethod::SbUnoMethod
SbUnoMethod
::~
SbUnoMethod
()
{
delete
pParamInfoSeq
;
pParamInfoSeq
.
reset
()
;
if
(
this
==
pFirst
)
pFirst
=
pNext
;
...
...
@@ -2535,7 +2535,7 @@ const Sequence<ParamInfo>& SbUnoMethod::getParamInfos()
Sequence
<
ParamInfo
>
aTmp
;
if
(
m_xUnoMethod
.
is
())
aTmp
=
m_xUnoMethod
->
getParameterInfos
();
pParamInfoSeq
=
new
Sequence
<
ParamInfo
>
(
aTmp
);
pParamInfoSeq
.
reset
(
new
Sequence
<
ParamInfo
>
(
aTmp
)
);
}
return
*
pParamInfoSeq
;
}
...
...
basic/source/inc/sbunoobj.hxx
Dosyayı görüntüle @
24cbc7a1
...
...
@@ -154,7 +154,7 @@ class SbUnoMethod : public SbxMethod
friend
void
clearUnoMethodsForBasic
(
StarBASIC
const
*
pBasic
);
css
::
uno
::
Reference
<
css
::
reflection
::
XIdlMethod
>
m_xUnoMethod
;
css
::
uno
::
Sequence
<
css
::
reflection
::
ParamInfo
>*
pParamInfoSeq
;
std
::
unique_ptr
<
css
::
uno
::
Sequence
<
css
::
reflection
::
ParamInfo
>>
pParamInfoSeq
;
// #67781 reference to the previous and the next method in the method list
SbUnoMethod
*
pPrev
;
...
...
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