replace "nsnull" with "nullptr"

Signed-off-by: alexander barakin (aka sash-kan) <alex@barak.in>
This commit is contained in:
alexander barakin (aka sash-kan) 2012-11-22 15:45:42 +04:00
parent 30a64600e2
commit 9a2bc05016
2 changed files with 3 additions and 3 deletions

View file

@ -1516,7 +1516,7 @@
+NS_IMETHODIMP
+nsKDEShellService::GetDefaultFeedReader(nsIFile** _retval)
+ {
+ *_retval = nsnull;
+ *_retval = nullptr;
+
+ nsCOMPtr<nsIMutableArray> command = do_CreateInstance( NS_ARRAY_CONTRACTID );
+ if( !command )

View file

@ -2749,7 +2749,7 @@
+ {
+ nsCString mimetype = output[ 0 ];
+ nsRefPtr<nsMIMEInfoUnix> mimeInfo = new nsMIMEInfoUnix( mimetype );
+ NS_ENSURE_TRUE(mimeInfo, nsnull);
+ NS_ENSURE_TRUE(mimeInfo, nullptr);
+ nsCString description = output[ 1 ];
+ mimeInfo->SetDescription(NS_ConvertUTF8toUTF16(description));
+ nsCString handlerAppName = output[ 2 ];
@ -2759,7 +2759,7 @@
+ NS_ADDREF((retval = mimeInfo));
+ return retval;
+ }
+ return nsnull;
+ return nullptr;
+}
--- mozilla-release/uriloader/exthandler/unix/nsKDERegistry.h.kdemoz 2012-11-21 20:48:44.553356851 +0400
+++ mozilla-release/uriloader/exthandler/unix/nsKDERegistry.h 2012-11-21 20:48:44.553356851 +0400