summaryrefslogtreecommitdiff
path: root/cppuhelper/source/paths.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/source/paths.cxx')
-rw-r--r--cppuhelper/source/paths.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppuhelper/source/paths.cxx b/cppuhelper/source/paths.cxx
index a17be2a9bc00..778a26de8f3f 100644
--- a/cppuhelper/source/paths.cxx
+++ b/cppuhelper/source/paths.cxx
@@ -89,7 +89,7 @@ rtl::OUString cppu::getUnoIniUri() {
}
bool cppu::nextDirectoryItem(osl::Directory & directory, rtl::OUString * url) {
- assert(url != 0);
+ assert(url != nullptr);
for (;;) {
osl::DirectoryItem i;
switch (directory.getNextItem(i, SAL_MAX_UINT32)) {
@@ -121,7 +121,7 @@ bool cppu::nextDirectoryItem(osl::Directory & directory, rtl::OUString * url) {
void cppu::decodeRdbUri(rtl::OUString * uri, bool * optional, bool * directory)
{
- assert(uri != 0 && optional != 0 && directory != 0);
+ assert(uri != nullptr && optional != nullptr && directory != nullptr);
if(!(uri->isEmpty()))
{
*optional = (*uri)[0] == '?';