Fraction->double in ResizeMarkedGluePoints
Change-Id: Iaee1c1a7827d14a94e60d152e0000f18adff86e0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201746 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -76,7 +76,7 @@ public:
|
||||
SAL_DLLPRIVATE void DeleteMarkedGluePoints();
|
||||
|
||||
SAL_DLLPRIVATE void MoveMarkedGluePoints (const Size& rSiz, bool bCopy);
|
||||
SAL_DLLPRIVATE void ResizeMarkedGluePoints(const Point& rRef, const Fraction& xFact, const Fraction& yFact, bool bCopy);
|
||||
SAL_DLLPRIVATE void ResizeMarkedGluePoints(const Point& rRef, double xFact, double yFact, bool bCopy);
|
||||
SAL_DLLPRIVATE void RotateMarkedGluePoints(const Point& rRef, Degree100 nAngle, bool bCopy);
|
||||
};
|
||||
|
||||
|
||||
@@ -2032,7 +2032,7 @@ bool SdrDragResize::EndSdrDrag(bool bCopy)
|
||||
}
|
||||
else if (IsDraggingGluePoints())
|
||||
{
|
||||
getSdrDragView().ResizeMarkedGluePoints(DragStat().GetRef1(),Fraction(m_aXFact),Fraction(m_aYFact),bCopy);
|
||||
getSdrDragView().ResizeMarkedGluePoints(DragStat().GetRef1(),m_aXFact,m_aYFact,bCopy);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -372,10 +372,10 @@ void SdrGlueEditView::MoveMarkedGluePoints(const Size& rSiz, bool bCopy)
|
||||
|
||||
static void ImpResize(Point& rPt, const void* p1, const void* p2, const void* p3, const void* /*p4*/)
|
||||
{
|
||||
ResizePoint(rPt,*static_cast<const Point*>(p1),*static_cast<const Fraction*>(p2),*static_cast<const Fraction*>(p3));
|
||||
ResizePoint(rPt,*static_cast<const Point*>(p1),*static_cast<const double*>(p2),*static_cast<const double*>(p3));
|
||||
}
|
||||
|
||||
void SdrGlueEditView::ResizeMarkedGluePoints(const Point& rRef, const Fraction& xFact, const Fraction& yFact, bool bCopy)
|
||||
void SdrGlueEditView::ResizeMarkedGluePoints(const Point& rRef, double xFact, double yFact, bool bCopy)
|
||||
{
|
||||
ForceUndirtyMrkPnt();
|
||||
OUString aStr(SvxResId(STR_EditResize));
|
||||
|
||||
Reference in New Issue
Block a user