summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/SwAppletImpl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-08 09:23:17 +0200
committerNoel Grandin <noel@peralex.com>2016-09-08 09:23:40 +0200
commit579426f798580093214fa8a7cc648318642c7e12 (patch)
tree1e4b543a9010134e384d43d2bbbd1a97e3f3725b /sw/source/filter/html/SwAppletImpl.cxx
parent847e004e65ec3c35acff607588d15cd75a84f121 (diff)
loplugin:constantparam in sw
Change-Id: Ic49d1c3c7b57fb213964ddc21b0f774c762aad94
Diffstat (limited to 'sw/source/filter/html/SwAppletImpl.cxx')
-rw-r--r--sw/source/filter/html/SwAppletImpl.cxx5
1 files changed, 3 insertions, 2 deletions
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 <comphelper/classids.hxx>
#include <com/sun/star/uno/Any.hxx>
#include <svtools/embedhlp.hxx>
+#include <hintids.hxx>
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 )
{
}