diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-19 13:06:07 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-22 08:18:08 +0200 |
commit | f17f977d0ad5b4c51a8f58b43901f72de001a56d (patch) | |
tree | 24e25caa72db9d21b1728f52f17758ab103e9c76 /lotuswordpro/source/filter/lwpobjfactory.cxx | |
parent | sw: remove commented out code from uibase/utlui/content.cxx (diff) | |
download | core-f17f977d0ad5b4c51a8f58b43901f72de001a56d.tar.gz core-f17f977d0ad5b4c51a8f58b43901f72de001a56d.zip |
loplugin:write only fields
Change-Id: I45895e9845a9037da207f001fece427452ed499f
Diffstat (limited to 'lotuswordpro/source/filter/lwpobjfactory.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpobjfactory.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpobjfactory.cxx b/lotuswordpro/source/filter/lwpobjfactory.cxx index b1f94a11e346..d2bbaa353b4d 100644 --- a/lotuswordpro/source/filter/lwpobjfactory.cxx +++ b/lotuswordpro/source/filter/lwpobjfactory.cxx @@ -98,7 +98,7 @@ //LwpObjectFactory* LwpObjectFactory::m_pMgr = NULL; LwpObjectFactory::LwpObjectFactory(LwpSvStream* pSvStream) - : m_nNumObjs(0), m_pSvStream(pSvStream) + : m_pSvStream(pSvStream) { m_IdToObjList.clear(); } @@ -130,7 +130,6 @@ void LwpObjectFactory::ReadIndex(LwpSvStream* pStrm) rtl::Reference<LwpObject> LwpObjectFactory::CreateObject(sal_uInt32 type, LwpObjectHeader &objHdr) { rtl::Reference<LwpObject> newObj; - m_nNumObjs++; SAL_WARN_IF(type>=300, "lwp", "invalid type: " << type); switch(type) { |