[Libreoffice-commits] core.git: i18npool/source i18nutil/source include/i18nutil

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Dec 20 07:50:17 UTC 2018


 i18npool/source/transliteration/halfwidthToFullwidth.cxx |    2 +-
 i18nutil/source/utility/widthfolding.cxx                 |    2 +-
 include/i18nutil/widthfolding.hxx                        |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 6c9effd0e5a76ce18a211c5f8b41e00187e67ed4
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Wed Dec 19 15:14:57 2018 +0000
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Thu Dec 20 08:49:50 2018 +0100

    Fix typo in code
    
    It passed "make check" on Linux
    
    Change-Id: I577f6ff01e8216ed85556ce4b3365fd924f75608
    Reviewed-on: https://gerrit.libreoffice.org/65468
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/i18npool/source/transliteration/halfwidthToFullwidth.cxx b/i18npool/source/transliteration/halfwidthToFullwidth.cxx
index 4857f2896ecf..e9d6ebd89c61 100644
--- a/i18npool/source/transliteration/halfwidthToFullwidth.cxx
+++ b/i18npool/source/transliteration/halfwidthToFullwidth.cxx
@@ -78,7 +78,7 @@ halfwidthToFullwidthLikeJIS::transliterateImpl( const OUString& inStr, sal_Int32
     const OUString& newStr = transliteration_OneToOne::transliterateImpl( inStr, startPos, nCount, offset, false);
 
     // Composition: KA + voice-mark --> GA
-    return i18nutil::widthfolding::compose_ja_voiced_sound_marks ( newStr, 0, newStr.getLength(), offset, useOffset, WIDTHFOLDNIG_DONT_USE_COMBINED_VU );
+    return i18nutil::widthfolding::compose_ja_voiced_sound_marks ( newStr, 0, newStr.getLength(), offset, useOffset, WIDTHFOLDING_DONT_USE_COMBINED_VU );
 }
 
 
diff --git a/i18nutil/source/utility/widthfolding.cxx b/i18nutil/source/utility/widthfolding.cxx
index 62c4aa14b1e5..5b6b33b1426e 100644
--- a/i18nutil/source/utility/widthfolding.cxx
+++ b/i18nutil/source/utility/widthfolding.cxx
@@ -161,7 +161,7 @@ OUString widthfolding::compose_ja_voiced_sound_marks (const OUString& inStr, sal
         bCompose = true;
 
       // not to use combined KATAKANA LETTER VU
-      if ( previousChar == 0x30a6 && (nFlags & WIDTHFOLDNIG_DONT_USE_COMBINED_VU) )
+      if ( previousChar == 0x30a6 && (nFlags & WIDTHFOLDING_DONT_USE_COMBINED_VU) )
         bCompose = false;
 
       if( bCompose ){
diff --git a/include/i18nutil/widthfolding.hxx b/include/i18nutil/widthfolding.hxx
index 310bf954a304..90048110ce1f 100644
--- a/include/i18nutil/widthfolding.hxx
+++ b/include/i18nutil/widthfolding.hxx
@@ -28,7 +28,7 @@ namespace i18nutil { class oneToOneMapping; }
 
 namespace i18nutil {
 
-#define WIDTHFOLDNIG_DONT_USE_COMBINED_VU 0x01
+#define WIDTHFOLDING_DONT_USE_COMBINED_VU 0x01
 
 class I18NUTIL_DLLPUBLIC widthfolding
 {


More information about the Libreoffice-commits mailing list