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
9173bdf5
Kaydet (Commit)
9173bdf5
authored
Agu 13, 2012
tarafından
Noel Grandin
Kaydeden (comit)
Michael Stahl
Agu 13, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Convert tools/list.hxx to std::vector in maExOleObj field of PPTWriter class
Change-Id: Ie677ef12d8443c36069dd6910b42b81b48beb974
üst
f5ec08d4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
14 deletions
+9
-14
eppt.cxx
sd/source/filter/eppt/eppt.cxx
+6
-10
eppt.hxx
sd/source/filter/eppt/eppt.hxx
+1
-2
epptso.cxx
sd/source/filter/eppt/epptso.cxx
+2
-2
No files found.
sd/source/filter/eppt/eppt.cxx
Dosyayı görüntüle @
9173bdf5
...
...
@@ -451,21 +451,18 @@ void PPTWriter::ImplWriteSlideMaster( sal_uInt32 nPageNum, Reference< XPropertyS
PPTWriter
::~
PPTWriter
()
{
void
*
pPtr
;
delete
mpExEmbed
;
delete
mpPptEscherEx
;
delete
mpCurUserStrm
;
delete
mpPicStrm
;
delete
mpStrm
;
std
::
vector
<
PPTExStyleSheet
*
>::
iterator
aStyleSheetIter
(
maStyleSheetList
.
begin
()
);
while
(
aStyleSheetIter
<
maStyleSheetList
.
end
()
)
delete
*
aStyleSheetIter
++
;
for
(
pPtr
=
maExOleObj
.
First
();
pPtr
;
pPtr
=
maExOleObj
.
Next
()
)
delete
(
PPTExOleObjEntry
*
)
pPtr
;
for
(
std
::
vector
<
PPTExOleObjEntry
*>::
const_iterator
it
=
maExOleObj
.
begin
();
it
!=
maExOleObj
.
end
();
++
it
)
delete
*
it
;
if
(
mbStatusIndicator
)
mXStatusIndicator
->
end
();
...
...
@@ -1287,13 +1284,12 @@ void PPTWriter::ImplWriteVBA()
void
PPTWriter
::
ImplWriteOLE
(
)
{
PPTExOleObjEntry
*
pPtr
;
SvxMSExportOLEObjects
aOleExport
(
mnCnvrtFlags
);
for
(
pPtr
=
(
PPTExOleObjEntry
*
)
maExOleObj
.
First
();
pPtr
;
pPtr
=
(
PPTExOleObjEntry
*
)
maExOleObj
.
Next
()
)
for
(
std
::
vector
<
PPTExOleObjEntry
*>::
const_iterator
it
=
maExOleObj
.
begin
();
it
!=
maExOleObj
.
end
();
++
it
)
{
PPTExOleObjEntry
*
pPtr
=
*
it
;
SvMemoryStream
*
pStrm
=
NULL
;
pPtr
->
nOfsB
=
mpStrm
->
Tell
();
switch
(
pPtr
->
eType
)
...
...
@@ -1419,9 +1415,9 @@ sal_Bool PPTWriter::ImplWriteAtomEnding()
}
}
// Ole persists
PPTExOleObjEntry
*
pPtr
;
for
(
pPtr
=
(
PPTExOleObjEntry
*
)
maExOleObj
.
First
();
pPtr
;
pPtr
=
(
PPTExOleObjEntry
*
)
maExOleObj
.
Next
()
)
for
(
std
::
vector
<
PPTExOleObjEntry
*>::
const_iterator
it
=
maExOleObj
.
begin
();
it
!=
maExOleObj
.
end
();
++
it
)
{
PPTExOleObjEntry
*
pPtr
=
*
it
;
nOfs
=
mpPptEscherEx
->
PtGetOffsetByID
(
EPP_Persist_ExObj
);
if
(
nOfs
)
{
...
...
sd/source/filter/eppt/eppt.hxx
Dosyayı görüntüle @
9173bdf5
...
...
@@ -36,7 +36,6 @@
#include <vcl/graph.hxx>
#include <unotools/fontcvt.hxx>
#include <tools/string.hxx>
#include <tools/list.hxx>
#include "pptexanimations.hxx"
#include <pptexsoundcollection.hxx>
...
...
@@ -197,7 +196,7 @@ class PPTWriter : public PPTWriterBase, public PPTExBulletProvider
SvStream
*
mpPicStrm
;
PptEscherEx
*
mpPptEscherEx
;
List
maExOleObj
;
std
::
vector
<
PPTExOleObjEntry
*>
maExOleObj
;
sal_uInt32
mnVBAOleOfs
;
SvMemoryStream
*
mpVBA
;
sal_uInt32
mnExEmbed
;
...
...
sd/source/filter/eppt/epptso.cxx
Dosyayı görüntüle @
9173bdf5
...
...
@@ -2559,7 +2559,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
<<
nPageId
;
PPTExOleObjEntry
*
pEntry
=
new
PPTExOleObjEntry
(
OCX_CONTROL
,
mpExEmbed
->
Tell
()
);
pEntry
->
xControlModel
=
aXControlModel
;
maExOleObj
.
Insert
(
pEntry
);
maExOleObj
.
push_back
(
pEntry
);
mnExEmbed
++
;
...
...
@@ -3075,7 +3075,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
PPTExOleObjEntry
*
pE
=
new
PPTExOleObjEntry
(
NORMAL_OLE_OBJECT
,
mpExEmbed
->
Tell
()
);
pE
->
xShape
=
mXShape
;
maExOleObj
.
Insert
(
pE
);
maExOleObj
.
push_back
(
pE
);
mnExEmbed
++
;
...
...
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