diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-12 12:56:25 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-09-13 06:14:41 +0000 |
commit | 6dd4905a7ac93a48dc87358da3ba0a8078bbb6cf (patch) | |
tree | 222912540273ca0601f61b682f6fd2b919e7aa4a /include/editeng | |
parent | a46076245ca6a85712f51187553f5abd3f0aa79a (diff) |
loplugin:constantparam in dbaccess..editeng
Change-Id: I1d0dc3d89933d86cd229e503b350fccc1523dedc
Reviewed-on: https://gerrit.libreoffice.org/28833
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/borderline.hxx | 3 | ||||
-rw-r--r-- | include/editeng/editeng.hxx | 2 | ||||
-rw-r--r-- | include/editeng/unoedhlp.hxx | 3 |
3 files changed, 3 insertions, 5 deletions
diff --git a/include/editeng/borderline.hxx b/include/editeng/borderline.hxx index cc0a33f556a5..98e2245b0729 100644 --- a/include/editeng/borderline.hxx +++ b/include/editeng/borderline.hxx @@ -72,8 +72,7 @@ namespace editeng { long nWidth = 0, SvxBorderStyle nStyle = css::table::BorderLineStyle::SOLID, Color (*pColorOutFn)( Color ) = &darkColor, - Color (*pColorInFn)( Color ) = &darkColor, - Color (*pColorGapFn)( Color ) = nullptr ); + Color (*pColorInFn)( Color ) = &darkColor ); SvxBorderLine( const SvxBorderLine& r ); SvxBorderLine& operator=( const SvxBorderLine& r ); diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx index d30b3b00dca1..4825865e5412 100644 --- a/include/editeng/editeng.hxx +++ b/include/editeng/editeng.hxx @@ -590,7 +590,7 @@ public: void InsertFeature(const EditSelection& rEditSelection, const SfxPoolItem& rItem); - EditSelection MoveParagraphs(const Range& rParagraphs, sal_Int32 nNewPos, EditView* pCurView); + EditSelection MoveParagraphs(const Range& rParagraphs, sal_Int32 nNewPos); void RemoveCharAttribs(sal_Int32 nPara, sal_uInt16 nWhich = 0, bool bRemoveFeatures = false); void RemoveCharAttribs(const EditSelection& rSel, bool bRemoveParaAttribs, sal_uInt16 nWhich); diff --git a/include/editeng/unoedhlp.hxx b/include/editeng/unoedhlp.hxx index c58393f6b806..836bb51180c8 100644 --- a/include/editeng/unoedhlp.hxx +++ b/include/editeng/unoedhlp.hxx @@ -55,8 +55,7 @@ public: class SvxEditSourceHintEndPara :public SvxEditSourceHint { public: - SvxEditSourceHintEndPara( sal_uInt32 nId ) - :SvxEditSourceHint(nId) {} + SvxEditSourceHintEndPara() : SvxEditSourceHint(EDITSOURCE_HINT_SELECTIONCHANGED) {} }; /** Helper class for common functionality in edit sources */ |