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 | |
parent | acd1c51791bdf522d7ffd8dd225fb59cd2eb17ff (diff) |
loplugin:write only fields
Change-Id: I45895e9845a9037da207f001fece427452ed499f
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpobjfactory.cxx | 3 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwpobjfactory.hxx | 1 | ||||
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfstyle.cxx | 1 | ||||
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfstyle.hxx | 1 |
4 files changed, 1 insertions, 5 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) { diff --git a/lotuswordpro/source/filter/lwpobjfactory.hxx b/lotuswordpro/source/filter/lwpobjfactory.hxx index 6d84f5c0d31f..ca7258c35dee 100644 --- a/lotuswordpro/source/filter/lwpobjfactory.hxx +++ b/lotuswordpro/source/filter/lwpobjfactory.hxx @@ -86,7 +86,6 @@ public: //For object Factory and object manager private: - sal_uInt32 m_nNumObjs; LwpSvStream* m_pSvStream; std::vector<LwpObjectID> m_aObjsIDInCreation; struct hashFunc diff --git a/lotuswordpro/source/filter/xfilter/xfstyle.cxx b/lotuswordpro/source/filter/xfilter/xfstyle.cxx index 7619ad8e08df..eb25502ab7ad 100644 --- a/lotuswordpro/source/filter/xfilter/xfstyle.cxx +++ b/lotuswordpro/source/filter/xfilter/xfstyle.cxx @@ -60,7 +60,6 @@ #include "xfstyle.hxx" XFStyle::XFStyle() - : m_enumFamily(enumXFStyleUnknown) { } diff --git a/lotuswordpro/source/filter/xfilter/xfstyle.hxx b/lotuswordpro/source/filter/xfilter/xfstyle.hxx index d84001d71067..8c3f843b20b7 100644 --- a/lotuswordpro/source/filter/xfilter/xfstyle.hxx +++ b/lotuswordpro/source/filter/xfilter/xfstyle.hxx @@ -107,7 +107,6 @@ public: protected: OUString m_strStyleName; OUString m_strParentStyleName; - enumXFStyle m_enumFamily; }; #endif |