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
5f87aafe
Kaydet (Commit)
5f87aafe
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: Ia0f22c5bb3594331626d931a8a271b0183962d55
üst
4d427eb6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
xestyle.cxx
sc/source/filter/excel/xestyle.cxx
+3
-2
xestyle.hxx
sc/source/filter/inc/xestyle.hxx
+2
-2
No files found.
sc/source/filter/excel/xestyle.cxx
Dosyayı görüntüle @
5f87aafe
...
...
@@ -52,6 +52,7 @@
#include <oox/token/tokens.hxx>
#include <boost/ptr_container/ptr_vector.hpp>
#include <o3tl/make_unique.hxx>
using
namespace
::
com
::
sun
::
star
;
using
namespace
oox
;
...
...
@@ -3090,7 +3091,7 @@ XclExpDxfs::XclExpDxfs( const XclExpRoot& rRoot )
pNumFormat
=
new
XclExpNumFmt
(
nScNumFmt
,
nXclNumFmt
,
GetNumberFormatCode
(
*
this
,
nScNumFmt
,
mxFormatter
.
get
(),
mpKeywordTable
.
get
()
));
}
maDxf
.
push_back
(
new
XclExpDxf
(
rRoot
,
pAlign
,
pBorder
,
pFont
,
pNumFormat
,
pCellProt
,
pColor
));
maDxf
.
push_back
(
o3tl
::
make_unique
<
XclExpDxf
>
(
rRoot
,
pAlign
,
pBorder
,
pFont
,
pNumFormat
,
pCellProt
,
pColor
));
++
nIndex
;
}
...
...
@@ -3120,7 +3121,7 @@ void XclExpDxfs::SaveXml( XclExpXmlStream& rStrm )
for
(
DxfContainer
::
iterator
itr
=
maDxf
.
begin
();
itr
!=
maDxf
.
end
();
++
itr
)
{
itr
->
SaveXml
(
rStrm
);
(
*
itr
)
->
SaveXml
(
rStrm
);
}
rStyleSheet
->
endElement
(
XML_dxfs
);
...
...
sc/source/filter/inc/xestyle.hxx
Dosyayı görüntüle @
5f87aafe
...
...
@@ -31,7 +31,7 @@
#include "conditio.hxx"
#include "fonthelper.hxx"
#include <memory>
#include <
boost/ptr_container/ptr_vector.hpp
>
#include <
vector
>
/* ============================================================================
- Buffers for style records (PALETTE, FONT, FORMAT, XF, STYLE).
...
...
@@ -735,7 +735,7 @@ public:
virtual
void
SaveXml
(
XclExpXmlStream
&
rStrm
)
override
;
private
:
typedef
boost
::
ptr_vector
<
XclExpDxf
>
DxfContainer
;
typedef
std
::
vector
<
std
::
unique_ptr
<
XclExpDxf
>
>
DxfContainer
;
std
::
map
<
OUString
,
sal_Int32
>
maStyleNameToDxfId
;
DxfContainer
maDxf
;
SvNumberFormatterPtr
mxFormatter
;
/// Special number formatter for conversion.
...
...
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