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
ecfcc545
Kaydet (Commit)
ecfcc545
authored
Ara 05, 2011
tarafından
Marcel Metz
Kaydeden (comit)
Eike Rathke
Ara 05, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Replace Stack with std::stack< std::pair< XclObj*, XclEscherHostAppData* > >
üst
149c1746
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
xcl97esc.hxx
sc/source/filter/inc/xcl97esc.hxx
+2
-2
xcl97esc.cxx
sc/source/filter/xcl97/xcl97esc.cxx
+5
-5
No files found.
sc/source/filter/inc/xcl97esc.hxx
Dosyayı görüntüle @
ecfcc545
...
...
@@ -30,8 +30,8 @@
#define SC_XCL97ESC_HXX
#include <memory>
#include <stack>
#include <tools/table.hxx>
#include <tools/stack.hxx>
#include <filter/msfilter/escherex.hxx>
#include "xlescher.hxx"
#include "xeroot.hxx"
...
...
@@ -149,7 +149,7 @@ private:
private
:
XclExpObjectManager
&
mrObjMgr
;
Stack
aStack
;
std
::
stack
<
std
::
pair
<
XclObj
*
,
XclEscherHostAppData
*
>
>
aStack
;
XclObj
*
pCurrXclObj
;
XclEscherHostAppData
*
pCurrAppData
;
XclEscherClientData
*
pTheClientData
;
// always the same
...
...
sc/source/filter/xcl97/xcl97esc.cxx
Dosyayı görüntüle @
ecfcc545
...
...
@@ -115,7 +115,7 @@ XclEscherEx::XclEscherEx( const XclExpRoot& rRoot, XclExpObjectManager& rObjMgr,
XclEscherEx
::~
XclEscherEx
()
{
OSL_ENSURE
(
!
aStack
.
Count
(),
"~XclEscherEx: stack not empty"
);
OSL_ENSURE
(
!
aStack
.
empty
(),
"~XclEscherEx: stack not empty"
);
DeleteCurrAppData
();
delete
pTheClientData
;
}
...
...
@@ -207,8 +207,7 @@ EscherExHostAppData* XclEscherEx::StartShape( const Reference< XShape >& rxShape
UpdateDffFragmentEnd
();
}
}
aStack
.
Push
(
pCurrXclObj
);
aStack
.
Push
(
pCurrAppData
);
aStack
.
push
(
std
::
make_pair
(
pCurrXclObj
,
pCurrAppData
)
);
pCurrAppData
=
new
XclEscherHostAppData
;
SdrObject
*
pObj
=
GetSdrObjectFromXShape
(
rxShape
);
if
(
!
pObj
)
...
...
@@ -347,8 +346,9 @@ void XclEscherEx::EndShape( sal_uInt16 nShapeType, sal_uInt32 nShapeID )
// get next object from stack
DeleteCurrAppData
();
pCurrAppData
=
static_cast
<
XclEscherHostAppData
*
>
(
aStack
.
Pop
()
);
pCurrXclObj
=
static_cast
<
XclObj
*
>
(
aStack
.
Pop
()
);
pCurrXclObj
=
aStack
.
top
().
first
;
pCurrAppData
=
aStack
.
top
().
second
;
aStack
.
pop
();
if
(
nAdditionalText
==
3
)
nAdditionalText
=
0
;
}
...
...
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