diff options
author | Peter Foley <pefoley2@pefoley.com> | 2016-01-17 14:28:29 -0500 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-01-18 18:43:51 +0000 |
commit | 8633e6b3f5882508f23ed4dba2b3651ef7a4e524 (patch) | |
tree | eb90f5d0ba47de932bbf57afb5553cc334a2d4e3 /xmloff | |
parent | 79b46d5fad29b8618fed539d04611bfb4f225c5f (diff) |
Convert NULL/0 to nullptr
Change-Id: Iee6bb0867afd8aebe36e62b507f1332e3a581838
Reviewed-on: https://gerrit.libreoffice.org/21549
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/core/xmltoken.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx index 157030123106..d3af42ff251b 100644 --- a/xmloff/source/core/xmltoken.cxx +++ b/xmloff/source/core/xmltoken.cxx @@ -45,7 +45,7 @@ namespace xmloff { namespace token { #if OSL_DEBUG_LEVEL > 0 #define TOKEN( s, e ) { sizeof(s)-1, s, nullptr, e } #else - #define TOKEN( s, e ) { sizeof(s)-1, s, NULL } + #define TOKEN( s, e ) { sizeof(s)-1, s, nullptr } #endif struct XMLTokenEntry aTokenList[] = @@ -53,7 +53,7 @@ namespace xmloff { namespace token { #if OSL_DEBUG_LEVEL > 0 { 0, nullptr, nullptr, XML_TOKEN_START }, #else - { 0, NULL, NULL }, // XML_TOKEN_START + { 0, nullptr, nullptr }, // XML_TOKEN_START #endif // common XML @@ -3260,7 +3260,7 @@ namespace xmloff { namespace token { #if OSL_DEBUG_LEVEL > 0 { 0, nullptr, nullptr, XML_TOKEN_END } #else - { 0, NULL, NULL /* XML_TOKEN_END */ } + { 0, nullptr, nullptr /* XML_TOKEN_END */ } #endif }; |