summaryrefslogtreecommitdiff
path: root/i18nutil/source/utility/widthfolding.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:17:08 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:28 +0100
commit6f66890d143e1c5f8d7b183f8fa2d06b2a0087c8 (patch)
tree1b0f0a64ba9c7593a0fecf834275d31c5fd14537 /i18nutil/source/utility/widthfolding.cxx
parent6a33fb16bdd91055c2e13b7b1823093b000ca60d (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I55089fde808e9f564f424adc30717dfd8d141c37
Diffstat (limited to 'i18nutil/source/utility/widthfolding.cxx')
-rw-r--r--i18nutil/source/utility/widthfolding.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/i18nutil/source/utility/widthfolding.cxx b/i18nutil/source/utility/widthfolding.cxx
index e9b46c71c8de..8b3e1cb816ef 100644
--- a/i18nutil/source/utility/widthfolding.cxx
+++ b/i18nutil/source/utility/widthfolding.cxx
@@ -48,7 +48,7 @@ OUString widthfolding::decompose_ja_voiced_sound_marks (const OUString& inStr, s
// The reference count is 1 now.
rtl_uString * newStr = rtl_uString_alloc(nCount * 2);
- sal_Int32 *p = NULL;
+ sal_Int32 *p = nullptr;
sal_Int32 position = 0;
if (useOffset) {
// Allocate double of nCount length to offset argument.
@@ -126,7 +126,7 @@ OUString widthfolding::compose_ja_voiced_sound_marks (const OUString& inStr, sal
// will be converted to
// .. .. GA .. ..
- sal_Int32 *p = NULL;
+ sal_Int32 *p = nullptr;
sal_Int32 position = 0;
if (useOffset) {
// Allocate nCount length to offset argument.
@@ -234,7 +234,7 @@ oneToOneMapping& widthfolding::getfull2halfTableForASC()
table.mpIndex[high] = new UnicodePairWithFlag*[256];
for( j = 0; j < 256; j++ )
- table.mpIndex[high][j] = NULL;
+ table.mpIndex[high][j] = nullptr;
}
table.mpIndex[high][low] = &full2halfASCException[i];
}
@@ -268,7 +268,7 @@ oneToOneMapping& widthfolding::gethalf2fullTableForJIS()
table.mpIndex[high] = new UnicodePairWithFlag*[256];
for( j = 0; j < 256; j++ )
- table.mpIndex[high][j] = NULL;
+ table.mpIndex[high][j] = nullptr;
}
table.mpIndex[high][low] = &half2fullJISException[i];
}