[Libreoffice-commits] core.git: lotuswordpro/inc lotuswordpro/source

Noel (via logerrit) logerrit at kemper.freedesktop.org
Tue Nov 24 13:17:43 UTC 2020


 lotuswordpro/inc/lwpfoundry.hxx               |    2 +-
 lotuswordpro/source/filter/lwpfoundry.cxx     |    2 +-
 lotuswordpro/source/filter/lwpfribsection.cxx |    6 +++---
 lotuswordpro/source/filter/lwptoc.cxx         |    4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit a153ece6da428f137d5161f853825239d5fe4582
Author:     Noel <noelgrandin at gmail.com>
AuthorDate: Tue Nov 24 11:07:05 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Tue Nov 24 14:17:03 2020 +0100

    FindActuralStyleName->FindActualStyleName
    
    Change-Id: I25e021caeb1c71529350df95099fb344edfd5b81
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106482
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

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


More information about the Libreoffice-commits mailing list