summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2020-06-12 16:30:40 +0200
committerDavid Tardon <dtardon@redhat.com>2020-06-12 19:05:08 +0200
commitd65d11343d975cc4e278deca54d166aeff0aa850 (patch)
treebe9ff33ce602d24dd76f34ed57241363df764ccf /lotuswordpro
parent12cb753350f429e39064365b05926a30a008a516 (diff)
rename variable
Change-Id: I24e0902998420685656a350cb849a19d8c7a8a35
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpdoc.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/lotuswordpro/source/filter/lwpdoc.cxx b/lotuswordpro/source/filter/lwpdoc.cxx
index 8aab1b5fb68e..7dc59e13e75a 100644
--- a/lotuswordpro/source/filter/lwpdoc.cxx
+++ b/lotuswordpro/source/filter/lwpdoc.cxx
@@ -231,19 +231,19 @@ void LwpDocument::RegisterStyle()
void LwpDocument::RegisterTextStyles()
{
//Register all text styles: para styles, character styles
- LwpDLVListHeadHolder* pParaStyleHolder = m_xOwnedFoundry
+ LwpDLVListHeadHolder* pTextStyleHolder = m_xOwnedFoundry
? dynamic_cast<LwpDLVListHeadHolder*>(m_xOwnedFoundry->GetTextStyleHead().obj().get())
: nullptr;
- if(pParaStyleHolder)
+ if(pTextStyleHolder)
{
- LwpTextStyle* pParaStyle = dynamic_cast<LwpTextStyle*> (pParaStyleHolder->GetHeadID().obj().get());
- while(pParaStyle)
+ LwpTextStyle* pTextStyle = dynamic_cast<LwpTextStyle*> (pTextStyleHolder->GetHeadID().obj().get());
+ while(pTextStyle)
{
- if (pParaStyle->GetFoundry())
+ if (pTextStyle->GetFoundry())
throw std::runtime_error("loop in register text style");
- pParaStyle->SetFoundry(m_xOwnedFoundry.get());
- pParaStyle->RegisterStyle();
- pParaStyle = dynamic_cast<LwpTextStyle*>(pParaStyle->GetNext().obj().get());
+ pTextStyle->SetFoundry(m_xOwnedFoundry.get());
+ pTextStyle->RegisterStyle();
+ pTextStyle = dynamic_cast<LwpTextStyle*>(pTextStyle->GetNext().obj().get());
}
}
ChangeStyleName();//for click here block