summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-12-19 15:14:57 +0000
committerJulien Nabet <serval2412@yahoo.fr>2018-12-20 08:49:50 +0100
commit6c9effd0e5a76ce18a211c5f8b41e00187e67ed4 (patch)
tree12ff1896d8a844bbd9e8c71618a13f4a982dad96
parentFix typo (diff)
downloadcore-6c9effd0e5a76ce18a211c5f8b41e00187e67ed4.tar.gz
core-6c9effd0e5a76ce18a211c5f8b41e00187e67ed4.zip
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@yahoo.fr>
-rw-r--r--i18npool/source/transliteration/halfwidthToFullwidth.cxx2
-rw-r--r--i18nutil/source/utility/widthfolding.cxx2
-rw-r--r--include/i18nutil/widthfolding.hxx2
3 files changed, 3 insertions, 3 deletions
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
{