summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdtrans.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-29 13:37:14 +0200
committerNoel Grandin <noel@peralex.com>2016-03-01 08:30:27 +0200
commit595f46344e18fd6275ff7b862269e4c131449591 (patch)
tree0de2d2e300399b9aa9c0fea2dd6ca2155f8a231a /svx/source/svdraw/svdtrans.cxx
parent44e700f70d750cf1c6aac89d0dd07a4f57879b1b (diff)
loplugin:unuseddefaultparam in svx (part1)
Change-Id: I0fc8d00447491e8474508952c21d07aa22b6f055
Diffstat (limited to 'svx/source/svdraw/svdtrans.cxx')
-rw-r--r--svx/source/svdraw/svdtrans.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdtrans.cxx b/svx/source/svdraw/svdtrans.cxx
index 53b5685ea593..c14ede928427 100644
--- a/svx/source/svdraw/svdtrans.cxx
+++ b/svx/source/svdraw/svdtrans.cxx
@@ -32,7 +32,7 @@ void MoveXPoly(XPolygon& rPoly, const Size& S)
rPoly.Move(S.Width(),S.Height());
}
-void ResizeRect(Rectangle& rRect, const Point& rRef, const Fraction& rxFact, const Fraction& ryFact, bool bNoJustify)
+void ResizeRect(Rectangle& rRect, const Point& rRef, const Fraction& rxFact, const Fraction& ryFact)
{
Fraction xFact(rxFact);
Fraction yFact(ryFact);
@@ -55,7 +55,7 @@ void ResizeRect(Rectangle& rRect, const Point& rRef, const Fraction& rxFact, con
rRect.Top() = rRef.Y() + svx::Round( (rRect.Top() - rRef.Y()) * double(yFact) );
rRect.Bottom() = rRef.Y() + svx::Round( (rRect.Bottom() - rRef.Y()) * double(yFact) );
- if (!bNoJustify) rRect.Justify();
+ rRect.Justify();
}
@@ -141,11 +141,11 @@ void MirrorXPoly(XPolygon& rPoly, const Point& rRef1, const Point& rRef2)
}
}
-void ShearPoly(tools::Polygon& rPoly, const Point& rRef, double tn, bool bVShear)
+void ShearPoly(tools::Polygon& rPoly, const Point& rRef, double tn)
{
sal_uInt16 nCount=rPoly.GetSize();
for (sal_uInt16 i=0; i<nCount; i++) {
- ShearPoint(rPoly[i],rRef,tn,bVShear);
+ ShearPoint(rPoly[i],rRef,tn);
}
}