sd/source/core/stlpool.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
New commits: commit 23c9a2a1e022391b62afd3a69a6f7f9deb8fa3f1 Author: Jochen Nitschke <j.nitschke+loger...@ok.de> Date: Sun Mar 5 10:50:21 2017 +0100 cppcheck: knownConditionTrueFalse > Condition 'nLevel==1' is always true Change-Id: If35c47af9bea87dbc93a011f0fb53cf966bf579f Reviewed-on: https://gerrit.libreoffice.org/34901 Reviewed-by: Julien Nabet <serval2...@yahoo.fr> Tested-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/sd/source/core/stlpool.cxx b/sd/source/core/stlpool.cxx index 43f90b3..29afb37 100644 --- a/sd/source/core/stlpool.cxx +++ b/sd/source/core/stlpool.cxx @@ -256,11 +256,8 @@ void SdStyleSheetPool::CreateLayoutStyleSheets(const OUString& rLayoutName, bool // #i16874# enable kerning by default but only for new documents rSet.Put( SvxAutoKernItem( true, EE_CHAR_PAIRKERNING ) ); - if( nLevel == 1 ) - { - vcl::Font f( GetBulletFont() ); - PutNumBulletItem( pSheet, f ); - } + vcl::Font f( GetBulletFont() ); + PutNumBulletItem( pSheet, f ); } sal_uLong nFontSize = 20; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits