diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:15:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:25 +0100 |
commit | 3cdda9af2c12a9ae2a1f0bdf8ca898f1f5c69bfb (patch) | |
tree | ba25525cbc9661509d8f01e93164e0febb8a0894 /filter/source/svg/tokenmap.cxx | |
parent | 7702e3128768f1b4b8a1ee9e87e397887e151af4 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I61e494952df8cc40fff3ccad0936adf06035dbeb
Diffstat (limited to 'filter/source/svg/tokenmap.cxx')
-rw-r--r-- | filter/source/svg/tokenmap.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/svg/tokenmap.cxx b/filter/source/svg/tokenmap.cxx index 05fefc0ca301..57084c85e0c9 100644 --- a/filter/source/svg/tokenmap.cxx +++ b/filter/source/svg/tokenmap.cxx @@ -56,7 +56,7 @@ sal_Int32 getTokenId( const OUString& sIdent ) const char* getTokenName( sal_Int32 nTokenId ) { if( nTokenId >= XML_TOKEN_COUNT ) - return NULL; + return nullptr; const xmltoken* pCurr=wordlist; const xmltoken* pEnd=wordlist+sizeof(wordlist)/sizeof(*wordlist); @@ -67,7 +67,7 @@ const char* getTokenName( sal_Int32 nTokenId ) ++pCurr; } - return NULL; + return nullptr; } } // namespace svgi |