summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-30 11:24:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-30 11:58:48 +0100
commit6f45913394a931f2053c7b1cba52bdfd79a3093b (patch)
treeee20b3107f4d6dcee01bc8226b5491093d0a9f39 /include
parentc7660cc543903c26c30d22e70e42deab9573c94d (diff)
loplugin:constantparam in svx
Change-Id: Ifaad1083b1561b2bd908e798e06fbff8bbabbe60 Reviewed-on: https://gerrit.libreoffice.org/44048 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svx/gallery.hxx3
-rw-r--r--include/svx/hdft.hxx3
-rw-r--r--include/svx/sdr/primitive2d/sdrdecompositiontools.hxx3
-rw-r--r--include/svx/svddrag.hxx2
-rw-r--r--include/svx/svdmodel.hxx2
5 files changed, 5 insertions, 8 deletions
diff --git a/include/svx/gallery.hxx b/include/svx/gallery.hxx
index 4d5b1e8b2fa6..ab351e1f1e2e 100644
--- a/include/svx/gallery.hxx
+++ b/include/svx/gallery.hxx
@@ -121,8 +121,7 @@ public:
Graphic* pGraphic, BitmapEx* pThumb = nullptr,
bool bProgress = false );
static bool GetGraphicObj( sal_uInt32 nThemeId, sal_uInt32 nPos,
- Graphic* pGraphic, BitmapEx* pThumb = nullptr,
- bool bProgress = false );
+ Graphic* pGraphic );
static sal_uInt32 GetSdrObjCount( const OUString& rThemeName );
static sal_uInt32 GetSdrObjCount( sal_uInt32 nThemeId );
diff --git a/include/svx/hdft.hxx b/include/svx/hdft.hxx
index 335f7aa74abb..3531cafb3046 100644
--- a/include/svx/hdft.hxx
+++ b/include/svx/hdft.hxx
@@ -31,8 +31,7 @@
namespace svx
{
- SVX_DLLPUBLIC bool ShowBorderBackgroundDlg( vcl::Window* pParent, SfxItemSet* pBBSet,
- bool bEnableBackgroundSelector );
+ SVX_DLLPUBLIC bool ShowBorderBackgroundDlg( vcl::Window* pParent, SfxItemSet* pBBSet );
}
// class SvxHFPage ------------------------------------------------------
diff --git a/include/svx/sdr/primitive2d/sdrdecompositiontools.hxx b/include/svx/sdr/primitive2d/sdrdecompositiontools.hxx
index 3811f32234ad..da3c54650746 100644
--- a/include/svx/sdr/primitive2d/sdrdecompositiontools.hxx
+++ b/include/svx/sdr/primitive2d/sdrdecompositiontools.hxx
@@ -67,8 +67,7 @@ namespace drawinglayer
const attribute::SdrTextAttribute& rText,
const attribute::SdrLineAttribute& rStroke,
bool bCellText,
- bool bWordWrap,
- bool bClipOnBounds);
+ bool bWordWrap);
Primitive2DContainer SVX_DLLPUBLIC createEmbeddedShadowPrimitive(
const Primitive2DContainer& rContent,
diff --git a/include/svx/svddrag.hxx b/include/svx/svddrag.hxx
index 278bbc0a621c..fab14eb2230a 100644
--- a/include/svx/svddrag.hxx
+++ b/include/svx/svddrag.hxx
@@ -75,7 +75,7 @@ class SVX_DLLPUBLIC SdrDragStat final
SdrDragMethod* pDragMethod;
std::unique_ptr<SdrDragStatUserData> mpUserData; // Userdata
- void Clear(bool bLeaveOne);
+ void Clear();
Point& Pnt(sal_uIntPtr nNum) { return mvPnts[nNum]; }
public:
diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx
index 79ce5d78085c..4a38209b561d 100644
--- a/include/svx/svdmodel.hxx
+++ b/include/svx/svdmodel.hxx
@@ -354,7 +354,7 @@ public:
static void TakeUnitStr(FieldUnit eUnit, OUString& rStr);
void TakeMetricStr(long nVal, OUString& rStr, bool bNoUnitChars = false, sal_Int32 nNumDigits = -1) const;
- static void TakeAngleStr(long nAngle, OUString& rStr, bool bNoDegChar = false);
+ static void TakeAngleStr(long nAngle, OUString& rStr);
static void TakePercentStr(const Fraction& rVal, OUString& rStr);
// RecalcPageNums is ordinarily only called by the Page.