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
9c860141
Kaydet (Commit)
9c860141
authored
Eki 07, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
clang-analyzer-deadcode.DeadStores
Change-Id: Idebc9fabd8110dcd82c8cab7c5c7300e4c2c6f1d
üst
981ae9f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
svdoedge.cxx
svx/source/svdraw/svdoedge.cxx
+5
-2
No files found.
svx/source/svdraw/svdoedge.cxx
Dosyayı görüntüle @
9c860141
...
@@ -1262,9 +1262,8 @@ XPolygon SdrEdgeObj::ImpCalcEdgeTrack(const Point& rPt1, long nAngle1, const Rec
...
@@ -1262,9 +1262,8 @@ XPolygon SdrEdgeObj::ImpCalcEdgeTrack(const Point& rPt1, long nAngle1, const Rec
aXP1
.
Insert
(
XPOLY_APPEND
,
aXP2
[
nNum
],
XPOLY_NORMAL
);
aXP1
.
Insert
(
XPOLY_APPEND
,
aXP2
[
nNum
],
XPOLY_NORMAL
);
}
}
sal_uInt16
nPointCount
=
aXP1
.
GetPointCount
();
sal_uInt16
nPointCount
=
aXP1
.
GetPointCount
();
char
cForm
=
0
;
char
cForm
;
if
(
bInfo
||
pnQuality
!=
NULL
)
{
if
(
bInfo
||
pnQuality
!=
NULL
)
{
cForm
=
'?'
;
if
(
nPointCount
==
2
)
cForm
=
'I'
;
if
(
nPointCount
==
2
)
cForm
=
'I'
;
else
if
(
nPointCount
==
3
)
cForm
=
'L'
;
else
if
(
nPointCount
==
3
)
cForm
=
'L'
;
else
if
(
nPointCount
==
4
)
{
// Z or U
else
if
(
nPointCount
==
4
)
{
// Z or U
...
@@ -1305,6 +1304,10 @@ XPolygon SdrEdgeObj::ImpCalcEdgeTrack(const Point& rPt1, long nAngle1, const Rec
...
@@ -1305,6 +1304,10 @@ XPolygon SdrEdgeObj::ImpCalcEdgeTrack(const Point& rPt1, long nAngle1, const Rec
}
}
}
}
}
}
else
{
cForm
=
0
;
}
if
(
pnQuality
!=
NULL
)
{
if
(
pnQuality
!=
NULL
)
{
sal_uIntPtr
nQual
=
0
;
sal_uIntPtr
nQual
=
0
;
sal_uIntPtr
nQual0
=
nQual
;
// prevent overruns
sal_uIntPtr
nQual0
=
nQual
;
// prevent overruns
...
...
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