summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-12-10 08:06:06 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-12-10 08:06:06 +0100
commitfb8a3fac5d448451794804a7470be45fa14da453 (patch)
tree110395d7cf3b7ad304e34a007ea597263adcfad8 /ucb
parentb8ecfd83bac98ea58a435c59856da8fd94f5c6d9 (diff)
loplugin:nullptr: More NULL -> nullptr automatic rewrite
Change-Id: Ie83819e2bcdc5fa160b39296b005ca9a5ff74b1d
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav-neon/NeonSession.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx
index f696e5513251..56a28374ce10 100644
--- a/ucb/source/ucp/webdav-neon/NeonSession.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx
@@ -510,7 +510,7 @@ extern "C" void NeonSession_PreSendRequest( ne_request * req,
{
// If there is a proxy server in between, it shall never use
// cached data. We always want 'up-to-date' data.
- ne_buffer_concat( headers, "Pragma: no-cache", EOL, NULL );
+ ne_buffer_concat( headers, "Pragma: no-cache", EOL, nullptr );
// alternative, but understoud by HTTP 1.1 servers only:
// ne_buffer_concat( headers, "Cache-Control: max-age=0", EOL, NULL );
@@ -530,7 +530,7 @@ extern "C" void NeonSession_PreSendRequest( ne_request * req,
= OUStringToOString( (*it).second.aContentType,
RTL_TEXTENCODING_UTF8 );
ne_buffer_concat( headers, "Content-Type: ",
- aType.getStr(), EOL, NULL );
+ aType.getStr(), EOL, nullptr );
}
}
@@ -543,7 +543,7 @@ extern "C" void NeonSession_PreSendRequest( ne_request * req,
= OUStringToOString( (*it).second.aReferer,
RTL_TEXTENCODING_UTF8 );
ne_buffer_concat( headers, "Referer: ",
- aReferer.getStr(), EOL, NULL );
+ aReferer.getStr(), EOL, nullptr );
}
}
}
@@ -563,7 +563,7 @@ extern "C" void NeonSession_PreSendRequest( ne_request * req,
= OUStringToOString( (*it1).second,
RTL_TEXTENCODING_UTF8 );
ne_buffer_concat( headers, aHeader.getStr(), ": ",
- aValue.getStr(), EOL, NULL );
+ aValue.getStr(), EOL, nullptr );
++it1;
}