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
9ebedb7e
Kaydet (Commit)
9ebedb7e
authored
Nis 30, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#704340 Logically dead code
Change-Id: I785b3faa2a9e3a540c3d09a37686f9ef26643094
üst
2742d842
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
7 deletions
+5
-7
svdpoev.hxx
include/svx/svdpoev.hxx
+1
-1
svddrgmt.cxx
svx/source/svdraw/svddrgmt.cxx
+3
-3
svdpoev.cxx
svx/source/svdraw/svdpoev.cxx
+1
-3
No files found.
include/svx/svdpoev.hxx
Dosyayı görüntüle @
9ebedb7e
...
...
@@ -65,7 +65,7 @@ public:
void
MoveMarkedPoints
(
const
Size
&
rSiz
);
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
);
// Hierbei entstehen eventuell beliebig viele neue Objekte:
void
RipUpAtMarkedPoints
()
SAL_OVERRIDE
;
...
...
svx/source/svdraw/svddrgmt.cxx
Dosyayı görüntüle @
9ebedb7e
...
...
@@ -1741,7 +1741,7 @@ bool SdrDragMove::EndSdrDrag(bool bCopy)
if
(
IsDraggingPoints
())
{
getSdrDragView
().
MoveMarkedPoints
(
Size
(
DragStat
().
GetDX
(),
DragStat
().
GetDY
())
,
bCopy
);
getSdrDragView
().
MoveMarkedPoints
(
Size
(
DragStat
().
GetDX
(),
DragStat
().
GetDY
()));
}
else
if
(
IsDraggingGluePoints
())
{
...
...
@@ -2078,7 +2078,7 @@ bool SdrDragResize::EndSdrDrag(bool bCopy)
if
(
IsDraggingPoints
())
{
getSdrDragView
().
ResizeMarkedPoints
(
DragStat
().
Ref1
(),
aXFact
,
aYFact
,
bCopy
);
getSdrDragView
().
ResizeMarkedPoints
(
DragStat
().
Ref1
(),
aXFact
,
aYFact
);
}
else
if
(
IsDraggingGluePoints
())
{
...
...
@@ -2222,7 +2222,7 @@ bool SdrDragRotate::EndSdrDrag(bool bCopy)
{
if
(
IsDraggingPoints
())
{
getSdrDragView
().
RotateMarkedPoints
(
DragStat
().
GetRef1
(),
nWink
,
bCopy
);
getSdrDragView
().
RotateMarkedPoints
(
DragStat
().
GetRef1
(),
nWink
);
}
else
if
(
IsDraggingGluePoints
())
{
...
...
svx/source/svdraw/svdpoev.cxx
Dosyayı görüntüle @
9ebedb7e
...
...
@@ -694,12 +694,10 @@ static void ImpRotate(Point& rPt, Point* pC1, Point* pC2, const void* p1, const
if
(
pC2
!=
NULL
)
RotatePoint
(
*
pC2
,
*
(
const
Point
*
)
p1
,
*
(
const
double
*
)
p3
,
*
(
const
double
*
)
p4
);
}
void
SdrPolyEditView
::
RotateMarkedPoints
(
const
Point
&
rRef
,
long
nWink
,
bool
bCopy
)
void
SdrPolyEditView
::
RotateMarkedPoints
(
const
Point
&
rRef
,
long
nWink
)
{
bCopy
=
false
;
// TODO: not yet implemented
ForceUndirtyMrkPnt
();
OUString
aStr
(
ImpGetResStr
(
STR_EditResize
));
if
(
bCopy
)
aStr
+=
ImpGetResStr
(
STR_EditWithCopy
);
BegUndo
(
aStr
,
GetDescriptionOfMarkedPoints
(),
SDRREPFUNC_OBJ_ROTATE
);
double
nSin
=
sin
(
nWink
*
nPi180
);
double
nCos
=
cos
(
nWink
*
nPi180
);
...
...
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