From a153ece6da428f137d5161f853825239d5fe4582 Mon Sep 17 00:00:00 2001 From: Noel Date: Tue, 24 Nov 2020 11:07:05 +0200 Subject: FindActuralStyleName->FindActualStyleName Change-Id: I25e021caeb1c71529350df95099fb344edfd5b81 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106482 Tested-by: Jenkins Reviewed-by: Noel Grandin --- lotuswordpro/source/filter/lwpfoundry.cxx | 2 +- lotuswordpro/source/filter/lwpfribsection.cxx | 6 +++--- lotuswordpro/source/filter/lwptoc.cxx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'lotuswordpro/source') 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(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(i)), m_pFoundry->FindActuralStyleName(pLevel->GetSearchStyle()), pTemplate); + xToc->AddTemplate(OUString::number(static_cast(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 -- cgit