summaryrefslogtreecommitdiffstats
path: root/i18npool/source/calendar
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:16:54 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:28 +0100
commit6a33fb16bdd91055c2e13b7b1823093b000ca60d (patch)
tree31652a5f38c54f792699e2502b8574b5f7012a79 /i18npool/source/calendar
parentloplugin:nullptr (automatic rewrite) (diff)
downloadcore-6a33fb16bdd91055c2e13b7b1823093b000ca60d.tar.gz
core-6a33fb16bdd91055c2e13b7b1823093b000ca60d.zip
loplugin:nullptr (automatic rewrite)
Change-Id: I7af8d14bfe7337fea3f18dbbd41eb32e0f7ae331
Diffstat (limited to 'i18npool/source/calendar')
-rw-r--r--i18npool/source/calendar/calendar_gregorian.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/calendar/calendar_gregorian.cxx b/i18npool/source/calendar/calendar_gregorian.cxx
index 0b94421846f8..156e347d489e 100644
--- a/i18npool/source/calendar/calendar_gregorian.cxx
+++ b/i18npool/source/calendar/calendar_gregorian.cxx
@@ -132,7 +132,7 @@ namespace com { namespace sun { namespace star { namespace i18n {
Calendar_gregorian::Calendar_gregorian()
: mxNatNum(new NativeNumberSupplierService)
{
- init(NULL);
+ init(nullptr);
}
Calendar_gregorian::Calendar_gregorian(const Era *_earArray)
: mxNatNum(new NativeNumberSupplierService)
@@ -165,7 +165,7 @@ Calendar_gregorian::init(const Era *_eraArray)
* not all, language and country and variant), otherwise the current
* default locale would be used again and the calendar keyword ignored.
* */
- icu::Locale aIcuLocale( "", NULL, NULL, "calendar=gregorian");
+ icu::Locale aIcuLocale( "", nullptr, nullptr, "calendar=gregorian");
UErrorCode status;
body = icu::Calendar::createInstance( aIcuLocale, status = U_ZERO_ERROR);