summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-11-24 11:07:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-24 14:17:03 +0100
commita153ece6da428f137d5161f853825239d5fe4582 (patch)
treead107e33cb21dc18488a58c7db404ae1633799f0 /lotuswordpro
parentbadf34d439403cea5c7efa206f4535c5050de37c (diff)
FindActuralStyleName->FindActualStyleName
Change-Id: I25e021caeb1c71529350df95099fb344edfd5b81 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106482 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/inc/lwpfoundry.hxx2
-rw-r--r--lotuswordpro/source/filter/lwpfoundry.cxx2
-rw-r--r--lotuswordpro/source/filter/lwpfribsection.cxx6
-rw-r--r--lotuswordpro/source/filter/lwptoc.cxx4
4 files changed, 7 insertions, 7 deletions
diff --git a/lotuswordpro/inc/lwpfoundry.hxx b/lotuswordpro/inc/lwpfoundry.hxx
index 6f5776d3c286..73d03a6642f9 100644
--- a/lotuswordpro/inc/lwpfoundry.hxx
+++ b/lotuswordpro/inc/lwpfoundry.hxx
@@ -268,7 +268,7 @@ public:
LwpBulletStyleMgr* GetBulletStyleMgr() { return m_xBulletStyleMgr.get(); }
LwpObjectID* FindParaStyleByName(std::u16string_view name);
- OUString FindActuralStyleName(const OUString& name);
+ OUString FindActualStyleName(const OUString& name);
};
class LwpStyleManager
diff --git a/lotuswordpro/source/filter/lwpfoundry.cxx b/lotuswordpro/source/filter/lwpfoundry.cxx
index 5c3d12524fdb..07a5c872a45d 100644
--- a/lotuswordpro/source/filter/lwpfoundry.cxx
+++ b/lotuswordpro/source/filter/lwpfoundry.cxx
@@ -286,7 +286,7 @@ LwpObjectID * LwpFoundry::FindParaStyleByName(std::u16string_view name)
* @descr: Get style name registered according the original style name
*
*/
-OUString LwpFoundry::FindActuralStyleName(const OUString& name)
+OUString LwpFoundry::FindActualStyleName(const OUString& name)
{
LwpObjectID* pID = FindParaStyleByName(name);
if(pID)
diff --git a/lotuswordpro/source/filter/lwpfribsection.cxx b/lotuswordpro/source/filter/lwpfribsection.cxx
index 0e0e34df16f9..f411a8bbb957 100644
--- a/lotuswordpro/source/filter/lwpfribsection.cxx
+++ b/lotuswordpro/source/filter/lwpfribsection.cxx
@@ -177,7 +177,7 @@ void LwpFribSection::ParseSection()
void LwpFribSection::SetDefaultAlphaIndex(XFIndex* pXFIndex)
{
LwpFoundry* pFoundry = m_pPara->GetFoundry();
- OUString styleName = pFoundry->FindActuralStyleName("Separator");
+ OUString styleName = pFoundry->FindActualStyleName("Separator");
LwpIndexSection* pIndexSection = dynamic_cast<LwpIndexSection*>(m_Section.obj().get());
XFIndexTemplate* pTemplateSep = new XFIndexTemplate();
@@ -189,7 +189,7 @@ void LwpFribSection::SetDefaultAlphaIndex(XFIndex* pXFIndex)
//pXFIndex->AddTemplate("separator","Separator",pTemplateSep);
pXFIndex->AddTemplate("separator", styleName, pTemplateSep);
- styleName = pFoundry->FindActuralStyleName("Primary");
+ styleName = pFoundry->FindActualStyleName("Primary");
XFIndexTemplate* pTemplate1 = new XFIndexTemplate();
pTemplate1->AddEntry(enumXFIndexTemplateText, "");
@@ -218,7 +218,7 @@ void LwpFribSection::SetDefaultAlphaIndex(XFIndex* pXFIndex)
{
//pXFIndex->AddTemplate(OUString::number(2),"Secondary",pTemplate2);
//pXFIndex->AddTemplate(OUString::number(3),"Secondary",pTemplate3);
- styleName = pFoundry->FindActuralStyleName("Secondary");
+ styleName = pFoundry->FindActualStyleName("Secondary");
pXFIndex->AddTemplate(OUString::number(2), styleName, pTemplate2);
pXFIndex->AddTemplate(OUString::number(3), styleName, pTemplate3);
}
diff --git a/lotuswordpro/source/filter/lwptoc.cxx b/lotuswordpro/source/filter/lwptoc.cxx
index 30de25746d6c..9268f8e33106 100644
--- a/lotuswordpro/source/filter/lwptoc.cxx
+++ b/lotuswordpro/source/filter/lwptoc.cxx
@@ -222,7 +222,7 @@ void LwpTocSuperLayout::XFConvert(XFContentContainer* pCont)
pTemplate->AddEntry(enumXFIndexTemplatePage, "TOC Page Number Text Style");
}
- xToc->AddTemplate(OUString::number(static_cast<sal_Int32>(i)), m_pFoundry->FindActuralStyleName(pLevel->GetSearchStyle()), pTemplate);
+ xToc->AddTemplate(OUString::number(static_cast<sal_Int32>(i)), m_pFoundry->FindActualStyleName(pLevel->GetSearchStyle()), pTemplate);
bInserted = true;
}
@@ -320,7 +320,7 @@ void LwpTocSuperLayout::AddSourceStyle(XFIndex* pToc, LwpTocLevelData * pLevel,
LwpDocument * pDoc = pFoundry->GetDocument();
if (pDoc && pDoc->IsChildDoc())
{
- OUString sSodcStyleName = pFoundry->FindActuralStyleName(sLwpStyleName);
+ OUString sSodcStyleName = pFoundry->FindActualStyleName(sLwpStyleName);
pToc->AddTocSource(pLevel->GetLevel(), sSodcStyleName);
}
else