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
438a3f77
Kaydet (Commit)
438a3f77
authored
Kas 12, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sc: boost::ptr_vector->std::vector<std::unique_ptr>
Change-Id: I07e0a63261eb988ec45ba0432079978e18d7cc38
üst
b3206e48
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
impop.cxx
sc/source/filter/excel/impop.cxx
+2
-2
imp_op.hxx
sc/source/filter/inc/imp_op.hxx
+2
-2
No files found.
sc/source/filter/excel/impop.cxx
Dosyayı görüntüle @
438a3f77
...
@@ -1228,7 +1228,7 @@ void ImportExcel::NewTable()
...
@@ -1228,7 +1228,7 @@ void ImportExcel::NewTable()
InitializeTable
(
nTab
);
InitializeTable
(
nTab
);
XclImpOutlineDataBuffer
*
pNewItem
=
new
XclImpOutlineDataBuffer
(
GetRoot
(),
nTab
);
XclImpOutlineDataBuffer
*
pNewItem
=
new
XclImpOutlineDataBuffer
(
GetRoot
(),
nTab
);
pOutlineListBuffer
->
push_back
(
pNewItem
);
pOutlineListBuffer
->
push_back
(
std
::
unique_ptr
<
XclImpOutlineDataBuffer
>
(
pNewItem
)
);
pExcRoot
->
pColRowBuff
=
pColRowBuff
=
pNewItem
->
GetColRowBuff
();
pExcRoot
->
pColRowBuff
=
pColRowBuff
=
pNewItem
->
GetColRowBuff
();
pColOutlineBuff
=
pNewItem
->
GetColOutline
();
pColOutlineBuff
=
pNewItem
->
GetColOutline
();
pRowOutlineBuff
=
pNewItem
->
GetRowOutline
();
pRowOutlineBuff
=
pNewItem
->
GetRowOutline
();
...
@@ -1259,7 +1259,7 @@ void ImportExcel::PostDocLoad()
...
@@ -1259,7 +1259,7 @@ void ImportExcel::PostDocLoad()
// outlines for all sheets, sets hidden rows and columns (#i11776# after filtered ranges)
// outlines for all sheets, sets hidden rows and columns (#i11776# after filtered ranges)
for
(
XclImpOutlineListBuffer
::
iterator
itBuffer
=
pOutlineListBuffer
->
begin
();
itBuffer
!=
pOutlineListBuffer
->
end
();
++
itBuffer
)
for
(
XclImpOutlineListBuffer
::
iterator
itBuffer
=
pOutlineListBuffer
->
begin
();
itBuffer
!=
pOutlineListBuffer
->
end
();
++
itBuffer
)
itBuffer
->
Convert
();
(
*
itBuffer
)
->
Convert
();
// document view settings (before visible OLE area)
// document view settings (before visible OLE area)
GetDocViewSettings
().
Finalize
();
GetDocViewSettings
().
Finalize
();
...
...
sc/source/filter/inc/imp_op.hxx
Dosyayı görüntüle @
438a3f77
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
#include "excdefs.hxx"
#include "excdefs.hxx"
#include <rtl/ref.hxx>
#include <rtl/ref.hxx>
#include <
boost/ptr_container/ptr_vector.hpp
>
#include <
vector
>
#include <memory>
#include <memory>
#include <unordered_map>
#include <unordered_map>
...
@@ -107,7 +107,7 @@ protected:
...
@@ -107,7 +107,7 @@ protected:
XclImpOutlineBuffer
*
pRowOutlineBuff
;
XclImpOutlineBuffer
*
pRowOutlineBuff
;
XclImpColRowSettings
*
pColRowBuff
;
// Col/Row settings 1 table
XclImpColRowSettings
*
pColRowBuff
;
// Col/Row settings 1 table
typedef
boost
::
ptr_vector
<
XclImpOutlineDataBuffer
>
XclImpOutlineListBuffer
;
typedef
std
::
vector
<
std
::
unique_ptr
<
XclImpOutlineDataBuffer
>
>
XclImpOutlineListBuffer
;
XclImpOutlineListBuffer
*
pOutlineListBuffer
;
XclImpOutlineListBuffer
*
pOutlineListBuffer
;
LastFormulaMapType
maLastFormulaCells
;
// Keep track of last formula cells in each column.
LastFormulaMapType
maLastFormulaCells
;
// Keep track of last formula cells in each column.
...
...
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