Fix typos
Change-Id: I693355a38f5bea33346d988015851d3a9cf8d1d4
Reviewed-on: https://gerrit.libreoffice.org/71387
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
diff --git a/sc/source/core/tool/autoform.cxx b/sc/source/core/tool/autoform.cxx
index 00e0a74..496b887 100644
--- a/sc/source/core/tool/autoform.cxx
+++ b/sc/source/core/tool/autoform.cxx
@@ -146,7 +146,7 @@ ScAutoFormatDataField::ScAutoFormatDataField()
aNumFormat()
{
// need to set default instances for base class AutoFormatBase here
// due to ressource defines (e.g. ATTR_FONT) which are not available
// due to resource defines (e.g. ATTR_FONT) which are not available
// in svx and different in the different usages of derivations
m_aFont = std::make_shared<SvxFontItem>(ATTR_FONT);
m_aHeight = std::make_shared<SvxFontHeightItem>(240, 100, ATTR_FONT_HEIGHT);
diff --git a/sw/source/core/doc/tblafmt.cxx b/sw/source/core/doc/tblafmt.cxx
index 102ac46..430b324 100644
--- a/sw/source/core/doc/tblafmt.cxx
+++ b/sw/source/core/doc/tblafmt.cxx
@@ -214,7 +214,7 @@ SwBoxAutoFormat::SwBoxAutoFormat()
m_wXObject()
{
// need to set default instances for base class AutoFormatBase here
// due to ressource defines (e.g. RES_CHRATR_FONT) which are not available
// due to resource defines (e.g. RES_CHRATR_FONT) which are not available
// in svx and different in the different usages of derivations
m_aFont = std::make_shared<SvxFontItem>(*GetDfltAttr( RES_CHRATR_FONT ) );
m_aHeight = std::make_shared<SvxFontHeightItem>(240, 100, RES_CHRATR_FONTSIZE );