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
3a27dcd0
Kaydet (Commit)
3a27dcd0
authored
Haz 12, 2012
tarafından
Noel Grandin
Kaydeden (comit)
Michael Stahl
Haz 12, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Convert SV_DECL_PTRARR_DEL(SvxMSDffBLIPInfos) to boost::ptr_vector
Change-Id: I6cd5793b1ba2a29cbedce7fe5a040651e1664a11
üst
e19a2e50
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
msdffimp.hxx
filter/inc/filter/msfilter/msdffimp.hxx
+2
-3
msdffimp.cxx
filter/source/msfilter/msdffimp.cxx
+3
-6
No files found.
filter/inc/filter/msfilter/msdffimp.hxx
Dosyayı görüntüle @
3a27dcd0
...
...
@@ -43,6 +43,7 @@
#include <filter/msfilter/msfilterdllapi.h>
#include <sot/storage.hxx>
#include <vector>
#include <boost/ptr_container/ptr_vector.hpp>
class
Graphic
;
class
SvStream
;
...
...
@@ -177,8 +178,6 @@ public:
#define COL_DEFAULT RGB_COLORDATA( 0xFA, 0xFB, 0xFC )
typedef
SvxMSDffBLIPInfo
*
SvxMSDffBLIPInfo_Ptr
;
typedef
SvxMSDffShapeInfo
*
SvxMSDffShapeInfo_Ptr
;
typedef
::
std
::
map
<
sal_Int32
,
SdrObject
*
>
SvxMSDffShapeIdContainer
;
...
...
@@ -186,7 +185,7 @@ typedef ::std::map< sal_Int32, SdrObject* > SvxMSDffShapeIdContainer;
#define SVEXT_PERSIST_STREAM "\002OlePres000"
// nach der Reihenfolge des Auftretens sortiert werden:
SV_DECL_PTRARR_DEL
(
SvxMSDffBLIPInfos
,
SvxMSDffBLIPInfo_Ptr
,
16
)
typedef
boost
::
ptr_vector
<
SvxMSDffBLIPInfo
>
SvxMSDffBLIPInfos
;
class
SvxMSDffShapeOrders
:
public
std
::
vector
<
SvxMSDffShapeOrder
*>
{
...
...
filter/source/msfilter/msdffimp.cxx
Dosyayı görüntüle @
3a27dcd0
...
...
@@ -5718,8 +5718,6 @@ void SvxMSDffManager::RemoveFromShapeOrder( SdrObject* pObject ) const
// Hilfs Deklarationen
//---------------------------------------------------------------------------
SV_IMPL_PTRARR
(
SvxMSDffBLIPInfos
,
SvxMSDffBLIPInfo_Ptr
);
SV_IMPL_OP_PTRARR_SORT
(
SvxMSDffShapeInfos
,
SvxMSDffShapeInfo_Ptr
);
SV_IMPL_OP_PTRARR_SORT
(
SvxMSDffShapeTxBxSort
,
SvxMSDffShapeOrder
*
);
...
...
@@ -6105,8 +6103,7 @@ void SvxMSDffManager::GetDrawingGroupContainerData( SvStream& rSt, sal_uLong nLe
nBLIPCount
++
;
// Jetzt die Infos fuer spaetere Zugriffe speichern
pBLIPInfos
->
Insert
(
new
SvxMSDffBLIPInfo
(
nInst
,
nBLIPPos
,
nBLIPLen
),
pBLIPInfos
->
Count
()
);
pBLIPInfos
->
push_back
(
new
SvxMSDffBLIPInfo
(
nInst
,
nBLIPPos
,
nBLIPLen
)
);
}
}
rSt
.
SeekRel
(
nLength
);
...
...
@@ -6446,7 +6443,7 @@ sal_Bool SvxMSDffManager::GetBLIP( sal_uLong nIdx_, Graphic& rData, Rectangle* p
if
(
!
bOk
)
{
sal_uInt16
nIdx
=
sal_uInt16
(
nIdx_
);
if
(
!
nIdx
||
(
pBLIPInfos
->
Count
()
<
nIdx
)
)
return
sal_False
;
if
(
!
nIdx
||
(
pBLIPInfos
->
size
()
<
nIdx
)
)
return
sal_False
;
// eventuell alte(s) Errorflag(s) loeschen
if
(
rStCtrl
.
GetError
()
)
...
...
@@ -6460,7 +6457,7 @@ sal_Bool SvxMSDffManager::GetBLIP( sal_uLong nIdx_, Graphic& rData, Rectangle* p
sal_uLong
nOldPosData
=
pStData
?
pStData
->
Tell
()
:
nOldPosCtrl
;
// passende Info-Struct aus unserem Pointer Array nehmen
SvxMSDffBLIPInfo
&
rInfo
=
*
(
*
pBLIPInfos
)[
nIdx
-
1
];
SvxMSDffBLIPInfo
&
rInfo
=
(
*
pBLIPInfos
)[
nIdx
-
1
];
// das BLIP Atom im Daten Stream anspringen
pStData
->
Seek
(
rInfo
.
nFilePos
);
...
...
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