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
2742d842
Kaydet (Commit)
2742d842
authored
Nis 30, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#704339 Logically dead code
Change-Id: I944368eff5bf24bbdefd485f34bfd3a51fb1114e
üst
0389ecdb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
svdpoev.hxx
include/svx/svdpoev.hxx
+1
-1
svdpoev.cxx
svx/source/svdraw/svdpoev.cxx
+1
-7
No files found.
include/svx/svdpoev.hxx
Dosyayı görüntüle @
2742d842
...
@@ -64,7 +64,7 @@ public:
...
@@ -64,7 +64,7 @@ public:
bool
IsDeleteMarkedPointsPossible
()
const
SAL_OVERRIDE
;
bool
IsDeleteMarkedPointsPossible
()
const
SAL_OVERRIDE
;
void
MoveMarkedPoints
(
const
Size
&
rSiz
);
void
MoveMarkedPoints
(
const
Size
&
rSiz
);
void
ResizeMarkedPoints
(
const
Point
&
rRef
,
const
Fraction
&
xFact
,
const
Fraction
&
yFact
,
bool
bCopy
=
false
);
void
ResizeMarkedPoints
(
const
Point
&
rRef
,
const
Fraction
&
xFact
,
const
Fraction
&
yFact
);
void
RotateMarkedPoints
(
const
Point
&
rRef
,
long
nWink
,
bool
bCopy
=
false
);
void
RotateMarkedPoints
(
const
Point
&
rRef
,
long
nWink
,
bool
bCopy
=
false
);
// Hierbei entstehen eventuell beliebig viele neue Objekte:
// Hierbei entstehen eventuell beliebig viele neue Objekte:
...
...
svx/source/svdraw/svdpoev.cxx
Dosyayı görüntüle @
2742d842
...
@@ -670,8 +670,6 @@ void SdrPolyEditView::MoveMarkedPoints(const Size& rSiz)
...
@@ -670,8 +670,6 @@ void SdrPolyEditView::MoveMarkedPoints(const Size& rSiz)
AdjustMarkHdl
();
AdjustMarkHdl
();
}
}
static
void
ImpResize
(
Point
&
rPt
,
Point
*
pC1
,
Point
*
pC2
,
const
void
*
p1
,
const
void
*
p2
,
const
void
*
p3
,
const
void
*
/*p4*/
,
const
void
*
/*p5*/
)
static
void
ImpResize
(
Point
&
rPt
,
Point
*
pC1
,
Point
*
pC2
,
const
void
*
p1
,
const
void
*
p2
,
const
void
*
p3
,
const
void
*
/*p4*/
,
const
void
*
/*p5*/
)
{
{
ResizePoint
(
rPt
,
*
(
const
Point
*
)
p1
,
*
(
const
Fraction
*
)
p2
,
*
(
const
Fraction
*
)
p3
);
ResizePoint
(
rPt
,
*
(
const
Point
*
)
p1
,
*
(
const
Fraction
*
)
p2
,
*
(
const
Fraction
*
)
p3
);
...
@@ -679,20 +677,16 @@ static void ImpResize(Point& rPt, Point* pC1, Point* pC2, const void* p1, const
...
@@ -679,20 +677,16 @@ static void ImpResize(Point& rPt, Point* pC1, Point* pC2, const void* p1, const
if
(
pC2
!=
NULL
)
ResizePoint
(
*
pC2
,
*
(
const
Point
*
)
p1
,
*
(
const
Fraction
*
)
p2
,
*
(
const
Fraction
*
)
p3
);
if
(
pC2
!=
NULL
)
ResizePoint
(
*
pC2
,
*
(
const
Point
*
)
p1
,
*
(
const
Fraction
*
)
p2
,
*
(
const
Fraction
*
)
p3
);
}
}
void
SdrPolyEditView
::
ResizeMarkedPoints
(
const
Point
&
rRef
,
const
Fraction
&
xFact
,
const
Fraction
&
yFact
,
bool
bCopy
)
void
SdrPolyEditView
::
ResizeMarkedPoints
(
const
Point
&
rRef
,
const
Fraction
&
xFact
,
const
Fraction
&
yFact
)
{
{
bCopy
=
false
;
// TODO: not yet implemented
ForceUndirtyMrkPnt
();
ForceUndirtyMrkPnt
();
OUString
aStr
(
ImpGetResStr
(
STR_EditResize
));
OUString
aStr
(
ImpGetResStr
(
STR_EditResize
));
if
(
bCopy
)
aStr
+=
ImpGetResStr
(
STR_EditWithCopy
);
BegUndo
(
aStr
,
GetDescriptionOfMarkedPoints
(),
SDRREPFUNC_OBJ_RESIZE
);
BegUndo
(
aStr
,
GetDescriptionOfMarkedPoints
(),
SDRREPFUNC_OBJ_RESIZE
);
ImpTransformMarkedPoints
(
ImpResize
,
&
rRef
,
&
xFact
,
&
yFact
);
ImpTransformMarkedPoints
(
ImpResize
,
&
rRef
,
&
xFact
,
&
yFact
);
EndUndo
();
EndUndo
();
AdjustMarkHdl
();
AdjustMarkHdl
();
}
}
static
void
ImpRotate
(
Point
&
rPt
,
Point
*
pC1
,
Point
*
pC2
,
const
void
*
p1
,
const
void
*
/*p2*/
,
const
void
*
p3
,
const
void
*
p4
,
const
void
*
/*p5*/
)
static
void
ImpRotate
(
Point
&
rPt
,
Point
*
pC1
,
Point
*
pC2
,
const
void
*
p1
,
const
void
*
/*p2*/
,
const
void
*
p3
,
const
void
*
p4
,
const
void
*
/*p5*/
)
{
{
RotatePoint
(
rPt
,
*
(
const
Point
*
)
p1
,
*
(
const
double
*
)
p3
,
*
(
const
double
*
)
p4
);
RotatePoint
(
rPt
,
*
(
const
Point
*
)
p1
,
*
(
const
double
*
)
p3
,
*
(
const
double
*
)
p4
);
...
...
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