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
239c25ff
Kaydet (Commit)
239c25ff
authored
Agu 31, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
check for error more frequently
Change-Id: I909c225dd9bd92763ae24b62854a9217fc2e2a0e
üst
31657493
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
7 deletions
+11
-7
dffrecordheader.cxx
filter/source/msfilter/dffrecordheader.cxx
+2
-2
msdffimp.cxx
filter/source/msfilter/msdffimp.cxx
+0
-0
svdfppt.cxx
filter/source/msfilter/svdfppt.cxx
+8
-4
dffrecordheader.hxx
include/filter/msfilter/dffrecordheader.hxx
+1
-1
No files found.
filter/source/msfilter/dffrecordheader.cxx
Dosyayı görüntüle @
239c25ff
...
...
@@ -19,7 +19,7 @@
#include <filter/msfilter/dffrecordheader.hxx>
SvStream
&
ReadDffRecordHeader
(
SvStream
&
rIn
,
DffRecordHeader
&
rRec
)
bool
ReadDffRecordHeader
(
SvStream
&
rIn
,
DffRecordHeader
&
rRec
)
{
rRec
.
nFilePos
=
rIn
.
Tell
();
sal_uInt16
nTmp
(
0
);
...
...
@@ -35,7 +35,7 @@ SvStream& ReadDffRecordHeader( SvStream& rIn, DffRecordHeader& rRec )
if
(
rRec
.
nRecLen
>
(
SAL_MAX_UINT32
-
rRec
.
nFilePos
)
)
rIn
.
SetError
(
SVSTREAM_FILEFORMAT_ERROR
);
return
rIn
;
return
rIn
.
good
()
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
filter/source/msfilter/msdffimp.cxx
Dosyayı görüntüle @
239c25ff
This diff is collapsed.
Click to expand it.
filter/source/msfilter/svdfppt.cxx
Dosyayı görüntüle @
239c25ff
...
...
@@ -189,7 +189,8 @@ void PptSlidePersistAtom::Clear()
SvStream
&
ReadPptSlidePersistAtom
(
SvStream
&
rIn
,
PptSlidePersistAtom
&
rAtom
)
{
DffRecordHeader
aHd
;
ReadDffRecordHeader( rIn, aHd )
ReadDffRecordHeader
(
rIn
,
aHd
);
rIn
.
ReadUInt32
(
rAtom
.
nPsrReference
)
.
ReadUInt32
(
rAtom
.
nFlags
)
.
ReadUInt32
(
rAtom
.
nNumberTexts
)
...
...
@@ -266,7 +267,8 @@ SvStream& ReadPptDocumentAtom(SvStream& rIn, PptDocumentAtom& rAtom)
sal_uInt16
nSlidePageFormat
;
sal_Int8
nEmbeddedTrueType
,
nTitlePlaceHoldersOmitted
,
nRightToLeft
,
nShowComments
;
ReadDffRecordHeader( rIn, aHd )
ReadDffRecordHeader
(
rIn
,
aHd
);
rIn
.
ReadInt32
(
nSlideX
).
ReadInt32
(
nSlideY
)
.
ReadInt32
(
nNoticeX
).
ReadInt32
(
nNoticeY
)
.
ReadInt32
(
nDummy
).
ReadInt32
(
nDummy
)
// skip ZoomRation
...
...
@@ -328,7 +330,8 @@ void PptSlideAtom::Clear()
SvStream
&
ReadPptNotesAtom
(
SvStream
&
rIn
,
PptNotesAtom
&
rAtom
)
{
DffRecordHeader
aHd
;
ReadDffRecordHeader( rIn, aHd )
ReadDffRecordHeader
(
rIn
,
aHd
);
rIn
.
ReadUInt32
(
rAtom
.
nSlideId
)
.
ReadUInt16
(
rAtom
.
nFlags
);
aHd
.
SeekToEndOfRecord
(
rIn
);
...
...
@@ -456,7 +459,8 @@ class PptFontCollection : public std::vector<std::unique_ptr<PptFontEntityAtom>>
SvStream
&
ReadPptUserEditAtom
(
SvStream
&
rIn
,
PptUserEditAtom
&
rAtom
)
{
ReadDffRecordHeader( rIn, rAtom.aHd )
ReadDffRecordHeader
(
rIn
,
rAtom
.
aHd
);
rIn
.
ReadInt32
(
rAtom
.
nLastSlideID
)
.
ReadUInt32
(
rAtom
.
nVersion
)
.
ReadUInt32
(
rAtom
.
nOffsetLastEdit
)
...
...
include/filter/msfilter/dffrecordheader.hxx
Dosyayı görüntüle @
239c25ff
...
...
@@ -56,7 +56,7 @@ public:
return
nFilePos
==
rIn
.
Seek
(
nFilePos
);
}
MSFILTER_DLLPUBLIC
friend
SvStream
&
ReadDffRecordHeader
(
SvStream
&
rIn
,
DffRecordHeader
&
rRec
);
MSFILTER_DLLPUBLIC
friend
bool
ReadDffRecordHeader
(
SvStream
&
rIn
,
DffRecordHeader
&
rRec
);
};
#endif
...
...
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