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
fb135c7b
Kaydet (Commit)
fb135c7b
authored
Mar 31, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#708395 Uninitialized pointer field
Change-Id: If7c1d6e628e50bb0be2e1218d4f1d798744a53a1
üst
df3e0d46
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
_xpoly.cxx
svx/source/xoutdev/_xpoly.cxx
+18
-18
No files found.
svx/source/xoutdev/_xpoly.cxx
Dosyayı görüntüle @
fb135c7b
...
@@ -34,31 +34,31 @@
...
@@ -34,31 +34,31 @@
#include <basegfx/numeric/ftools.hxx>
#include <basegfx/numeric/ftools.hxx>
ImpXPolygon
::
ImpXPolygon
(
sal_uInt16
nInitSize
,
sal_uInt16
_nResize
)
ImpXPolygon
::
ImpXPolygon
(
sal_uInt16
nInitSize
,
sal_uInt16
_nResize
)
:
pPointAry
(
NULL
)
,
pFlagAry
(
NULL
)
,
pOldPointAry
(
NULL
)
,
bDeleteOldPoints
(
sal_False
)
,
nSize
(
0
)
,
nResize
(
_nResize
)
,
nPoints
(
0
)
,
nRefCount
(
1
)
{
{
pPointAry
=
NULL
;
Resize
(
nInitSize
);
pFlagAry
=
NULL
;
bDeleteOldPoints
=
sal_False
;
nSize
=
0
;
nResize
=
_nResize
;
nPoints
=
0
;
nRefCount
=
1
;
Resize
(
nInitSize
);
}
}
ImpXPolygon
::
ImpXPolygon
(
const
ImpXPolygon
&
rImpXPoly
)
ImpXPolygon
::
ImpXPolygon
(
const
ImpXPolygon
&
rImpXPoly
)
:
pPointAry
(
NULL
)
,
pFlagAry
(
NULL
)
,
pOldPointAry
(
NULL
)
,
bDeleteOldPoints
(
sal_False
)
,
nSize
(
0
)
,
nResize
(
rImpXPoly
.
nResize
)
,
nPoints
(
0
)
,
nRefCount
(
1
)
{
{
(
(
ImpXPolygon
&
)
rImpXPoly
).
CheckPointDelete
();
(
(
ImpXPolygon
&
)
rImpXPoly
).
CheckPointDelete
();
pPointAry
=
NULL
;
pFlagAry
=
NULL
;
bDeleteOldPoints
=
sal_False
;
nSize
=
0
;
ImpXPolygon
::
nResize
=
rImpXPoly
.
nResize
;
nPoints
=
0
;
nRefCount
=
1
;
Resize
(
rImpXPoly
.
nSize
);
Resize
(
rImpXPoly
.
nSize
);
// copy
// copy
...
...
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