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
8737001f
Kaydet (Commit)
8737001f
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: I6ddee7ee5f54388dae6f001d9fb9fbdb4012e11d
üst
9c860141
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
svdopath.cxx
svx/source/svdraw/svdopath.cxx
+6
-4
No files found.
svx/source/svdraw/svdopath.cxx
Dosyayı görüntüle @
8737001f
...
@@ -389,15 +389,17 @@ XPolygon ImpPathCreateUser::GetCirclePoly() const
...
@@ -389,15 +389,17 @@ XPolygon ImpPathCreateUser::GetCirclePoly() const
Point
ImpPathCreateUser
::
CalcLine
(
const
Point
&
aCsr
,
long
nDirX
,
long
nDirY
,
SdrView
*
pView
)
Point
ImpPathCreateUser
::
CalcLine
(
const
Point
&
aCsr
,
long
nDirX
,
long
nDirY
,
SdrView
*
pView
)
{
{
long
x
=
aCsr
.
X
()
,
x1
=
x
,
x2
=
x
;
long
x
=
aCsr
.
X
();
long
y
=
aCsr
.
Y
()
,
y1
=
y
,
y2
=
y
;
long
y
=
aCsr
.
Y
();
bool
bHLin
=
nDirY
==
0
;
bool
bHLin
=
nDirY
==
0
;
bool
bVLin
=
nDirX
==
0
;
bool
bVLin
=
nDirX
==
0
;
if
(
bHLin
)
y
=
0
;
if
(
bHLin
)
y
=
0
;
else
if
(
bVLin
)
x
=
0
;
else
if
(
bVLin
)
x
=
0
;
else
{
else
{
x1
=
BigMulDiv
(
y
,
nDirX
,
nDirY
);
long
x1
=
BigMulDiv
(
y
,
nDirX
,
nDirY
);
y2
=
BigMulDiv
(
x
,
nDirY
,
nDirX
);
long
y1
=
y
;
long
x2
=
x
;
long
y2
=
BigMulDiv
(
x
,
nDirY
,
nDirX
);
long
l1
=
std
::
abs
(
x1
)
+
std
::
abs
(
y1
);
long
l1
=
std
::
abs
(
x1
)
+
std
::
abs
(
y1
);
long
l2
=
std
::
abs
(
x2
)
+
std
::
abs
(
y2
);
long
l2
=
std
::
abs
(
x2
)
+
std
::
abs
(
y2
);
if
((
l1
<=
l2
)
!=
(
pView
!=
NULL
&&
pView
->
IsBigOrtho
()))
{
if
((
l1
<=
l2
)
!=
(
pView
!=
NULL
&&
pView
->
IsBigOrtho
()))
{
...
...
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