summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-09-12 12:56:25 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-09-13 06:14:41 +0000
commit6dd4905a7ac93a48dc87358da3ba0a8078bbb6cf (patch)
tree222912540273ca0601f61b682f6fd2b919e7aa4a /include
parenta46076245ca6a85712f51187553f5abd3f0aa79a (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')
-rw-r--r--include/dbaccess/genericcontroller.hxx3
-rw-r--r--include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx1
-rw-r--r--include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx1
-rw-r--r--include/editeng/borderline.hxx3
-rw-r--r--include/editeng/editeng.hxx2
-rw-r--r--include/editeng/unoedhlp.hxx3
6 files changed, 4 insertions, 9 deletions
diff --git a/include/dbaccess/genericcontroller.hxx b/include/dbaccess/genericcontroller.hxx
index 53c32cb34249..7b7fed25b12f 100644
--- a/include/dbaccess/genericcontroller.hxx
+++ b/include/dbaccess/genericcontroller.hxx
@@ -374,8 +374,7 @@ namespace dbaui
// connect to a datasource
css::uno::Reference< css::sdbc::XConnection > connect(
- const css::uno::Reference< css::sdbc::XDataSource>& _xDataSource,
- ::dbtools::SQLExceptionInfo* _pErrorInfo
+ const css::uno::Reference< css::sdbc::XDataSource>& _xDataSource
);
// connect to a datasource
diff --git a/include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx b/include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx
index be0165fef47c..32f662564276 100644
--- a/include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx
@@ -87,7 +87,6 @@ namespace drawinglayer
double fDiagonal,
double fBackScale,
bool bSmoothNormals,
- bool bSmoothHorizontalNormals,
bool bSmoothLids,
bool bCharacterMode,
bool bCloseFront,
diff --git a/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx b/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx
index e9c3fd059ec0..a880c6ff572b 100644
--- a/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx
@@ -91,7 +91,6 @@ namespace drawinglayer
double fBackScale,
double fRotation,
bool bSmoothNormals,
- bool bSmoothHorizontalNormals,
bool bSmoothLids,
bool bCharacterMode,
bool bCloseFront,
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
*/