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
8acacaed
Kaydet (Commit)
8acacaed
authored
Kas 11, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sfx2: boost::ptr_vector->std::vector<std::unique_ptr>
Change-Id: Ic1ca1166874d0d90ed04b841d8143d3b10900cf5
üst
1715a995
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
childwinimpl.cxx
sfx2/source/appl/childwinimpl.cxx
+3
-3
childwinimpl.hxx
sfx2/source/inc/childwinimpl.hxx
+3
-1
No files found.
sfx2/source/appl/childwinimpl.cxx
Dosyayı görüntüle @
8acacaed
...
...
@@ -26,17 +26,17 @@ size_t SfxChildWinContextArr_Impl::size() const
const
SfxChildWinContextFactory
&
SfxChildWinContextArr_Impl
::
operator
[](
size_t
i
)
const
{
return
maData
[
i
]
;
return
*
maData
[
i
].
get
()
;
}
SfxChildWinContextFactory
&
SfxChildWinContextArr_Impl
::
operator
[](
size_t
i
)
{
return
maData
[
i
]
;
return
*
maData
[
i
].
get
()
;
}
void
SfxChildWinContextArr_Impl
::
push_back
(
SfxChildWinContextFactory
*
p
)
{
maData
.
push_back
(
p
);
maData
.
push_back
(
std
::
unique_ptr
<
SfxChildWinContextFactory
>
(
p
)
);
}
size_t
SfxChildWinFactArr_Impl
::
size
()
const
...
...
sfx2/source/inc/childwinimpl.hxx
Dosyayı görüntüle @
8acacaed
...
...
@@ -23,12 +23,14 @@
#include <sfx2/childwin.hxx>
#include <boost/ptr_container/ptr_vector.hpp>
#include <vector>
#include <memory>
class
SfxFrame
;
class
SfxChildWinContextArr_Impl
{
typedef
boost
::
ptr_vector
<
SfxChildWinContextFactory
>
DataType
;
typedef
std
::
vector
<
std
::
unique_ptr
<
SfxChildWinContextFactory
>
>
DataType
;
DataType
maData
;
public
:
...
...
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