[Libreoffice-commits] core.git: writerfilter/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sat Aug 29 09:24:03 UTC 2020


 writerfilter/source/dmapper/DomainMapper.cxx  |    4 ++--
 writerfilter/source/dmapper/SettingsTable.cxx |    2 +-
 writerfilter/source/dmapper/SettingsTable.hxx |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit ec28e590d537b58255a1417ce639a412e3a06498
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Aug 28 12:56:18 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat Aug 29 11:23:17 2020 +0200

    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 at collabora.co.uk>

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;


More information about the Libreoffice-commits mailing list