summaryrefslogtreecommitdiff
path: root/include/systools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-03-16 14:11:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2021-03-16 14:53:44 +0100
commitf416acdc3a142c7bf54ae5ea5d5fdcd690e0e810 (patch)
tree168df2fbd02dd7d41345b4ed37fb5047a6a52877 /include/systools
parent90f25a4ff279aa4561861c313c7c18b9d42777a8 (diff)
systools is no longer part of the URE interface
...since de030cd7a234fd9191364647deb1a4836ca992cb "gbuild: Remove MSVC 2013 legacy code", so no longer treat it as such in compilerplugins. (Which caused a few loplugin:includeform and loplugin:nullptr warnings.) Change-Id: I99b42e76992e31aff56b417c05738d4d29e3faf9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112575 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/systools')
-rw-r--r--include/systools/win32/uwinapi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/systools/win32/uwinapi.h b/include/systools/win32/uwinapi.h
index 52daae944974..501c9aa38e0f 100644
--- a/include/systools/win32/uwinapi.h
+++ b/include/systools/win32/uwinapi.h
@@ -20,14 +20,14 @@
#ifndef INCLUDED_SYSTOOLS_WIN32_UWINAPI_H
#define INCLUDED_SYSTOOLS_WIN32_UWINAPI_H
-#include "prewin.h"
-#include "postwin.h"
+#include <prewin.h>
+#include <postwin.h>
#ifdef __cplusplus
inline bool IsValidHandle(HANDLE handle)
{
- return handle != INVALID_HANDLE_VALUE && handle != NULL;
+ return handle != INVALID_HANDLE_VALUE && handle != nullptr;
}
#else /* __cplusplus */