diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-01 15:06:14 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-04 09:09:54 +0000 |
commit | b62e6b011a3c9a340353546b73ff2eda0e793215 (patch) | |
tree | 8281c01f5639fd78fbcc45d7414e08657e1c6941 /include/svx/svdglue.hxx | |
parent | 953f8f2cfecbe3005eb7de84daf1c9d86379244c (diff) |
loplugin:constantparam in svx
Change-Id: Ib3c1262d5488e3e348ae985f53ff8c63f2175555
Reviewed-on: https://gerrit.libreoffice.org/23724
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svx/svdglue.hxx')
-rw-r--r-- | include/svx/svdglue.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/svdglue.hxx b/include/svx/svdglue.hxx index bb91f9bc8cde..ed82bf55f342 100644 --- a/include/svx/svdglue.hxx +++ b/include/svx/svdglue.hxx @@ -77,7 +77,7 @@ class SVX_DLLPUBLIC SdrGluePoint { bool bUserDefined:1; // #i38892# public: SdrGluePoint(): nEscDir(SdrEscapeDirection::SMART),nId(0),nAlign(SdrAlign::NONE),bNoPercent(false),bReallyAbsolute(false),bUserDefined(true) {} - SdrGluePoint(const Point& rNewPos, bool bNewPercent=true, SdrAlign nNewAlign = SdrAlign::HORZ_CENTER): aPos(rNewPos),nEscDir(SdrEscapeDirection::SMART),nId(0),nAlign(nNewAlign),bNoPercent(!bNewPercent),bReallyAbsolute(false),bUserDefined(true) {} + SdrGluePoint(const Point& rNewPos): aPos(rNewPos),nEscDir(SdrEscapeDirection::SMART),nId(0),nAlign(SdrAlign::NONE),bNoPercent(false),bReallyAbsolute(false),bUserDefined(true) {} const Point& GetPos() const { return aPos; } void SetPos(const Point& rNewPos) { aPos=rNewPos; } SdrEscapeDirection GetEscDir() const { return nEscDir; } |