diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-17 14:27:08 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-03-18 06:02:18 +0000 |
commit | 9391688f616a22cfd4521f2472bdbda4c6609383 (patch) | |
tree | 321262883cbce93fdea8e8ac650ef0a40caa5e1d /editeng/source/items | |
parent | 9704207c386867d1859b06dd25232e06022965d9 (diff) |
loplugin:constantfunction in editeng
Change-Id: I8f8414b4867d3248e6d836ed8037de4da41b97f1
Reviewed-on: https://gerrit.libreoffice.org/23331
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'editeng/source/items')
-rw-r--r-- | editeng/source/items/borderline.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 ) |