diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-08-31 16:22:12 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-09-01 10:02:05 +0200 |
commit | 262ab496955582341e1f383c6eff9a0bb37dd9d7 (patch) | |
tree | 4d02d8f9855aed6daddd25b2ed92224276eedce7 /lotuswordpro | |
parent | 765d57f7550a33380d71a09472419611066076b1 (diff) |
Fix typo in code
It passed "make check" on Linux
Change-Id: I4733e6609ee99bef49c2771c83b450ee89d955b5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101804
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/inc/lwpfoundry.hxx | 2 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwpcharacterstyle.cxx | 2 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwpfrib.cxx | 6 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwpparastyle.cxx | 2 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwpsilverbullet.cxx | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/lotuswordpro/inc/lwpfoundry.hxx b/lotuswordpro/inc/lwpfoundry.hxx index 36919dd9da4e..fc9989107639 100644 --- a/lotuswordpro/inc/lwpfoundry.hxx +++ b/lotuswordpro/inc/lwpfoundry.hxx @@ -248,7 +248,7 @@ private: public: LwpContentManager& GetContentManager() { return m_ContentMgr; } LwpObjectID& GetGraphicListHead() { return m_ContentMgr.GetGraphicListHead(); } - LwpFontManager& GetFontManger() { return m_FontMgr;} + LwpFontManager& GetFontManager() { return m_FontMgr;} LwpObjectID& GetTextStyleHead() { return m_TextStyle;} LwpObjectID& GetLayout() {return m_Layout;} LwpObjectID& GetBulletManagerID() { return m_BulMgr.GetHeadID();} diff --git a/lotuswordpro/source/filter/lwpcharacterstyle.cxx b/lotuswordpro/source/filter/lwpcharacterstyle.cxx index 07034de5381b..eb94bb0c1840 100644 --- a/lotuswordpro/source/filter/lwpcharacterstyle.cxx +++ b/lotuswordpro/source/filter/lwpcharacterstyle.cxx @@ -151,7 +151,7 @@ void LwpTextStyle::RegisterStyle() pStyle->SetStyleName(styleName); //Create font - LwpFontManager& rFontMgr = m_pFoundry->GetFontManger(); + LwpFontManager& rFontMgr = m_pFoundry->GetFontManager(); rtl::Reference<XFFont> pFont = rFontMgr.CreateFont(m_nFinalFontID); pStyle->SetFont(pFont); diff --git a/lotuswordpro/source/filter/lwpfrib.cxx b/lotuswordpro/source/filter/lwpfrib.cxx index bc9450fd17bc..95875aaedaa1 100644 --- a/lotuswordpro/source/filter/lwpfrib.cxx +++ b/lotuswordpro/source/filter/lwpfrib.cxx @@ -259,7 +259,7 @@ void LwpFrib::RegisterStyle(LwpFoundry* pFoundry) *pNewStyle = *pNamedStyle; pNewStyle->SetStyleName(""); - pFont = pFoundry->GetFontManger().CreateOverrideFont(pCharStyle->GetFinalFontID(),m_pModifiers->FontID); + pFont = pFoundry->GetFontManager().CreateOverrideFont(pCharStyle->GetFinalFontID(),m_pModifiers->FontID); pNewStyle->SetFont(pFont); IXFStyleRet aNewStyle = pXFStyleManager->AddStyle(std::move(pNewStyle)); m_StyleName = aNewStyle.m_pStyle->GetStyleName(); @@ -275,7 +275,7 @@ void LwpFrib::RegisterStyle(LwpFoundry* pFoundry) if (m_pModifiers->FontID && pFoundry) { std::unique_ptr<XFTextStyle> pNewStyle(new XFTextStyle()); - pFont = pFoundry->GetFontManger().CreateFont(m_pModifiers->FontID); + pFont = pFoundry->GetFontManager().CreateFont(m_pModifiers->FontID); pNewStyle->SetFont(pFont); IXFStyleRet aNewStyle = pXFStyleManager->AddStyle(std::move(pNewStyle)); m_StyleName = aNewStyle.m_pStyle->GetStyleName(); @@ -421,7 +421,7 @@ rtl::Reference<XFFont> LwpFrib::GetFont() { LwpFoundry* pFoundry = m_pPara->GetFoundry(); if (pFoundry) - pFont = pFoundry->GetFontManger().CreateFont(m_pModifiers->FontID); + pFont = pFoundry->GetFontManager().CreateFont(m_pModifiers->FontID); } else { diff --git a/lotuswordpro/source/filter/lwpparastyle.cxx b/lotuswordpro/source/filter/lwpparastyle.cxx index 542f124beefd..fdec20bc31a3 100644 --- a/lotuswordpro/source/filter/lwpparastyle.cxx +++ b/lotuswordpro/source/filter/lwpparastyle.cxx @@ -653,7 +653,7 @@ void LwpParaStyle::RegisterStyle() xStyle->SetStyleName(styleName); //Create font - LwpFontManager& rFontMgr = m_pFoundry->GetFontManger(); + LwpFontManager& rFontMgr = m_pFoundry->GetFontManager(); rtl::Reference<XFFont> pFont = rFontMgr.CreateFont(m_nFinalFontID); xStyle->SetFont(pFont); diff --git a/lotuswordpro/source/filter/lwpsilverbullet.cxx b/lotuswordpro/source/filter/lwpsilverbullet.cxx index d13371158c2c..5c6a5ca45030 100644 --- a/lotuswordpro/source/filter/lwpsilverbullet.cxx +++ b/lotuswordpro/source/filter/lwpsilverbullet.cxx @@ -195,7 +195,7 @@ OUString LwpSilverBullet::GetBulletFontName() return OUString(); } - LwpFontManager& rFontMgr = m_pFoundry->GetFontManger(); + LwpFontManager& rFontMgr = m_pFoundry->GetFontManager(); sal_uInt32 nBulletFontID = m_xBulletPara->GetBulletFontID(); sal_uInt16 nFinalFont = static_cast<sal_uInt16>((nBulletFontID >> 16) & 0xFFFF); |