summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdedtv1.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-04 11:57:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-05 06:40:10 +0000
commit3d6c84f2d9683b23c14fa5bf50ca4425cf4ceb04 (patch)
treebc18d71a94b1a9015d45155ad79179e61e6aa3c0 /svx/source/svdraw/svdedtv1.cxx
parentcedbc4031f26ea13b188a4ecc5b90cc9646095fb (diff)
loplugin:constantparam
Change-Id: I1996319e5b664dff95f7a9b2346aea6092d333ec Reviewed-on: https://gerrit.libreoffice.org/36070 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/svdedtv1.cxx')
-rw-r--r--svx/source/svdraw/svdedtv1.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/svx/source/svdraw/svdedtv1.cxx b/svx/source/svdraw/svdedtv1.cxx
index dcef2d237b0a..1819660f982f 100644
--- a/svx/source/svdraw/svdedtv1.cxx
+++ b/svx/source/svdraw/svdedtv1.cxx
@@ -241,7 +241,6 @@ void SdrEditView::ResizeMarkedObj(const Point& rRef, const Fraction& xFact, cons
void SdrEditView::ResizeMultMarkedObj(const Point& rRef,
const Fraction& xFact,
const Fraction& yFact,
- const bool bCopy,
const bool bWdh,
const bool bHgt)
{
@@ -250,14 +249,9 @@ void SdrEditView::ResizeMultMarkedObj(const Point& rRef,
{
OUString aStr;
ImpTakeDescriptionStr(STR_EditResize,aStr);
- if (bCopy)
- aStr+=ImpGetResStr(STR_EditWithCopy);
BegUndo(aStr);
}
- if (bCopy)
- CopyMarkedObj();
-
const size_t nMarkCount=GetMarkedObjectCount();
for (size_t nm=0; nm<nMarkCount; ++nm)
{
@@ -1613,7 +1607,7 @@ void SdrEditView::SetGeoAttrToMarked(const SfxItemSet& rAttr)
GetSdrPageView()->PagePosToLogic(aRef);
}
- ResizeMultMarkedObj(aRef, aWdt, aHgt, false, bChgWdh, bChgHgt);
+ ResizeMultMarkedObj(aRef, aWdt, aHgt, bChgWdh, bChgHgt);
}
// rotate