summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-28 12:56:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-08-29 11:23:17 +0200
commitec28e590d537b58255a1417ce639a412e3a06498 (patch)
tree07bf3e957f5c6060fad09cd8ada56472c7a63cb7 /writerfilter
parent3cadb5afc3fa7164eaac22390a415bd9c1b6d5e2 (diff)
Fix typo in code
It passed "make check" on Linux Change-Id: I22682416e5a842406afd5bfbfa62d8b8797af01c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101602 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/dmapper/DomainMapper.cxx4
-rw-r--r--writerfilter/source/dmapper/SettingsTable.cxx2
-rw-r--r--writerfilter/source/dmapper/SettingsTable.hxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx
index b3cae27dd228..38f8a493db09 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -234,8 +234,8 @@ DomainMapper::~DomainMapper()
// Add the saved DocumentProtection settings
aProperties["DocumentProtection"] <<= m_pImpl->GetSettingsTable()->GetDocumentProtectionSettings();
- // Add the saved w:hypenationZone setting
- aProperties["HyphenationZone"] <<= m_pImpl->GetSettingsTable()->GetHypenationZone();
+ // Add the saved w:hyphenationZone setting
+ aProperties["HyphenationZone"] <<= m_pImpl->GetSettingsTable()->GetHyphenationZone();
// Add the saved w:doNotHyphenateCaps setting
aProperties["NoHyphenateCaps"] <<= m_pImpl->GetSettingsTable()->GetNoHyphenateCaps();
diff --git a/writerfilter/source/dmapper/SettingsTable.cxx b/writerfilter/source/dmapper/SettingsTable.cxx
index 2042ade7dc66..d9dc20d962c8 100644
--- a/writerfilter/source/dmapper/SettingsTable.cxx
+++ b/writerfilter/source/dmapper/SettingsTable.cxx
@@ -688,7 +688,7 @@ bool SettingsTable::GetNoHyphenateCaps() const
return m_pImpl->m_bNoHyphenateCaps;
}
-sal_Int16 SettingsTable::GetHypenationZone() const
+sal_Int16 SettingsTable::GetHyphenationZone() const
{
return m_pImpl->m_nHyphenationZone;
}
diff --git a/writerfilter/source/dmapper/SettingsTable.hxx b/writerfilter/source/dmapper/SettingsTable.hxx
index 2ff62576a980..f7e8eff9df02 100644
--- a/writerfilter/source/dmapper/SettingsTable.hxx
+++ b/writerfilter/source/dmapper/SettingsTable.hxx
@@ -76,7 +76,7 @@ class SettingsTable : public LoggedProperties, public LoggedTable
bool GetLongerSpaceSequence() const;
bool GetNoLeading() const;
bool GetNoHyphenateCaps() const;
- sal_Int16 GetHypenationZone() const;
+ sal_Int16 GetHyphenationZone() const;
OUString GetDecimalSymbol() const;
OUString GetListSeparator() const;