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
dc71a727
Kaydet (Commit)
dc71a727
authored
Tem 15, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bump size type
Change-Id: I2c32c253499a3efb22a3312ed1f0a608649ce124
üst
89857aac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
crash-1.met
filter/qa/cppunit/data/met/fail/crash-1.met
+0
-0
ios2met.cxx
filter/source/graphicfilter/ios2met/ios2met.cxx
+4
-3
No files found.
filter/qa/cppunit/data/met/fail/crash-1.met
0 → 100644
Dosyayı görüntüle @
dc71a727
File added
filter/source/graphicfilter/ios2met/ios2met.cxx
Dosyayı görüntüle @
dc71a727
...
@@ -208,7 +208,7 @@ enum PenStyle { PEN_NULL, PEN_SOLID, PEN_DOT, PEN_DASH, PEN_DASHDOT };
...
@@ -208,7 +208,7 @@ enum PenStyle { PEN_NULL, PEN_SOLID, PEN_DOT, PEN_DASH, PEN_DASHDOT };
struct
OSPalette
{
struct
OSPalette
{
OSPalette
*
pSucc
;
OSPalette
*
pSucc
;
sal_uInt32
*
p0RGB
;
// May be NULL!
sal_uInt32
*
p0RGB
;
// May be NULL!
s
al_uInt16
nSize
;
s
ize_t
nSize
;
};
};
struct
OSArea
{
struct
OSArea
{
...
@@ -733,12 +733,13 @@ void OS2METReader::SetPalette0RGB(sal_uInt16 nIndex, sal_uLong nCol)
...
@@ -733,12 +733,13 @@ void OS2METReader::SetPalette0RGB(sal_uInt16 nIndex, sal_uLong nCol)
}
}
if
(
pPaletteStack
->
p0RGB
==
NULL
||
nIndex
>=
pPaletteStack
->
nSize
)
{
if
(
pPaletteStack
->
p0RGB
==
NULL
||
nIndex
>=
pPaletteStack
->
nSize
)
{
sal_uInt32
*
pOld0RGB
=
pPaletteStack
->
p0RGB
;
sal_uInt32
*
pOld0RGB
=
pPaletteStack
->
p0RGB
;
s
al_uInt16
i
,
nOldSize
=
pPaletteStack
->
nSize
;
s
ize_t
nOldSize
=
pPaletteStack
->
nSize
;
if
(
pOld0RGB
==
NULL
)
nOldSize
=
0
;
if
(
pOld0RGB
==
NULL
)
nOldSize
=
0
;
pPaletteStack
->
nSize
=
2
*
(
nIndex
+
1
);
pPaletteStack
->
nSize
=
2
*
(
nIndex
+
1
);
if
(
pPaletteStack
->
nSize
<
256
)
pPaletteStack
->
nSize
=
256
;
if
(
pPaletteStack
->
nSize
<
256
)
pPaletteStack
->
nSize
=
256
;
pPaletteStack
->
p0RGB
=
new
sal_uInt32
[
pPaletteStack
->
nSize
];
pPaletteStack
->
p0RGB
=
new
sal_uInt32
[
pPaletteStack
->
nSize
];
for
(
i
=
0
;
i
<
pPaletteStack
->
nSize
;
i
++
)
{
for
(
size_t
i
=
0
;
i
<
pPaletteStack
->
nSize
;
++
i
)
{
if
(
i
<
nOldSize
)
pPaletteStack
->
p0RGB
[
i
]
=
pOld0RGB
[
i
];
if
(
i
<
nOldSize
)
pPaletteStack
->
p0RGB
[
i
]
=
pOld0RGB
[
i
];
else
if
(
i
==
0
)
pPaletteStack
->
p0RGB
[
i
]
=
0x00ffffff
;
else
if
(
i
==
0
)
pPaletteStack
->
p0RGB
[
i
]
=
0x00ffffff
;
else
pPaletteStack
->
p0RGB
[
i
]
=
0
;
else
pPaletteStack
->
p0RGB
[
i
]
=
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