From 9391688f616a22cfd4521f2472bdbda4c6609383 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 17 Mar 2016 14:27:08 +0200 Subject: loplugin:constantfunction in editeng Change-Id: I8f8414b4867d3248e6d836ed8037de4da41b97f1 Reviewed-on: https://gerrit.libreoffice.org/23331 Tested-by: Jenkins Reviewed-by: Noel Grandin --- editeng/source/items/borderline.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editeng/source/items') diff --git a/editeng/source/items/borderline.cxx b/editeng/source/items/borderline.cxx index 0c9f0c52b9d7..9abc38f5da29 100644 --- a/editeng/source/items/borderline.cxx +++ b/editeng/source/items/borderline.cxx @@ -90,7 +90,7 @@ Color SvxBorderLine::threeDMediumColor( Color aMain ) } SvxBorderLine::SvxBorderLine( const Color *pCol, long nWidth, - SvxBorderStyle nStyle, bool bUseLeftTop, + SvxBorderStyle nStyle, Color (*pColorOutFn)( Color ), Color (*pColorInFn)( Color ), Color (*pColorGapFn)( Color ) ) : m_nWidth( nWidth ) @@ -99,7 +99,7 @@ SvxBorderLine::SvxBorderLine( const Color *pCol, long nWidth, , m_nMult( 1 ) , m_nDiv( 1 ) , m_nStyle( nStyle ) -, m_bUseLeftTop( bUseLeftTop ) +, m_bUseLeftTop( false ) , m_pColorOutFn( pColorOutFn ) , m_pColorInFn( pColorInFn ) , m_pColorGapFn( pColorGapFn ) -- cgit