From 579426f798580093214fa8a7cc648318642c7e12 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 8 Sep 2016 09:23:17 +0200 Subject: loplugin:constantparam in sw Change-Id: Ic49d1c3c7b57fb213964ddc21b0f774c762aad94 --- sw/source/filter/html/SwAppletImpl.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sw/source/filter/html/SwAppletImpl.cxx') diff --git a/sw/source/filter/html/SwAppletImpl.cxx b/sw/source/filter/html/SwAppletImpl.cxx index 7d6d9c8f6499..bfeb6e888a01 100644 --- a/sw/source/filter/html/SwAppletImpl.cxx +++ b/sw/source/filter/html/SwAppletImpl.cxx @@ -27,6 +27,7 @@ #include #include #include +#include using namespace com::sun::star; @@ -105,8 +106,8 @@ SwHtmlOptType SwApplet_Impl::GetOptionType( const OUString& rName, bool bApplet return nType; } -SwApplet_Impl::SwApplet_Impl( SfxItemPool& rPool, sal_uInt16 nWhich1, sal_uInt16 nWhich2 ) : - aItemSet( rPool, nWhich1, nWhich2 ) +SwApplet_Impl::SwApplet_Impl( SfxItemPool& rPool ) : + aItemSet( rPool, RES_FRMATR_BEGIN, RES_FRMATR_END-1 ) { } -- cgit