diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-14 16:31:33 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-01-15 09:36:41 +0200 |
commit | 52e69bfbba7220fe4181098102876f0e83ffbee1 (patch) | |
tree | 25965e6854cd5b49c0ead66a508fe1a60090b43a /lotuswordpro/source/filter/lwpfoundry.cxx | |
parent | loplugin:unusedmethods unused return value in l10ntools,linguistic (diff) | |
download | core-52e69bfbba7220fe4181098102876f0e83ffbee1.tar.gz core-52e69bfbba7220fe4181098102876f0e83ffbee1.zip |
loplugin:unusedmethods unused return value in lotuswordpro
Change-Id: Ibed85be78e05dc0e6474d688ef0e0dea401758ac
Diffstat (limited to 'lotuswordpro/source/filter/lwpfoundry.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpfoundry.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpfoundry.cxx b/lotuswordpro/source/filter/lwpfoundry.cxx index f59395eb860e..d7dde9fd06bf 100644 --- a/lotuswordpro/source/filter/lwpfoundry.cxx +++ b/lotuswordpro/source/filter/lwpfoundry.cxx @@ -515,14 +515,13 @@ VO_PARASTYLE/VO_CHARACTERSTYLE call this method to add its created style to XFSt Prerequisite: pStyle has been created and all properties has been set to it. Return the XFStyle* added by XFStyleManager */ -IXFStyle* LwpStyleManager::AddStyle(LwpObjectID styleObjID, IXFStyle* pStyle) +void LwpStyleManager::AddStyle(LwpObjectID styleObjID, IXFStyle* pStyle) { assert(pStyle); //pStyle may change if same style is found in XFStyleManager XFStyleManager* pXFStyleManager = LwpGlobalMgr::GetInstance()->GetXFStyleManager(); pStyle = pXFStyleManager->AddStyle(pStyle).m_pStyle; m_StyleList.insert(LwpStyleMap::value_type(styleObjID, pStyle)); - return pStyle; } /* |