summaryrefslogtreecommitdiffstats
path: root/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-28 11:15:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-29 09:00:52 +0200
commit6dbae37b8d2d2d1ecad85c772fd684803b5a52cb (patch)
treecb6637327913a5f9641c2c0065de4c6a00983947 /editeng
parent-Werror=redundant-move (GCC 9), take two (diff)
downloadcore-6dbae37b8d2d2d1ecad85c772fd684803b5a52cb.tar.gz
core-6dbae37b8d2d2d1ecad85c772fd684803b5a52cb.zip
loplugin:constantparam (1)
Change-Id: I25077e391ecca1b678062d261a83d88daadf0a58 Reviewed-on: https://gerrit.libreoffice.org/59701 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/textitem.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx
index de0d985c96bc..9f6a0f22ba74 100644
--- a/editeng/source/items/textitem.cxx
+++ b/editeng/source/items/textitem.cxx
@@ -2160,8 +2160,8 @@ bool SvxLanguageItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
// class SvxNoHyphenItem -------------------------------------------------
-SvxNoHyphenItem::SvxNoHyphenItem( const bool bHyphen, const sal_uInt16 nId ) :
- SfxBoolItem( nId , bHyphen )
+SvxNoHyphenItem::SvxNoHyphenItem( const sal_uInt16 nId ) :
+ SfxBoolItem( nId , true )
{
}