summaryrefslogtreecommitdiff
path: root/sal/inc/rtl
diff options
context:
space:
mode:
Diffstat (limited to 'sal/inc/rtl')
-rw-r--r--sal/inc/rtl/allocator.hxx7
-rw-r--r--sal/inc/rtl/instance.hxx2
-rw-r--r--sal/inc/rtl/math.h2
-rw-r--r--sal/inc/rtl/math.hxx2
4 files changed, 4 insertions, 9 deletions
diff --git a/sal/inc/rtl/allocator.hxx b/sal/inc/rtl/allocator.hxx
index 36bbd0036685..2aa9e2a68c5d 100644
--- a/sal/inc/rtl/allocator.hxx
+++ b/sal/inc/rtl/allocator.hxx
@@ -25,16 +25,11 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#if !defined INCLUDED_RTL_ALLOCATOR_HXX
+#ifndef INCLUDED_RTL_ALLOCATOR_HXX
#define INCLUDED_RTL_ALLOCATOR_HXX
-#if ! defined(_SAL_TYPES_H_)
#include "sal/types.h"
-#endif
-#if ! defined(_RTL_ALLOC_H_)
#include "rtl/alloc.h"
-#endif
-
#include <cstddef>
/// @cond INTERNAL
diff --git a/sal/inc/rtl/instance.hxx b/sal/inc/rtl/instance.hxx
index 9520dacfd16a..85d7306ac80d 100644
--- a/sal/inc/rtl/instance.hxx
+++ b/sal/inc/rtl/instance.hxx
@@ -26,7 +26,7 @@
*
************************************************************************/
-#if !defined INCLUDED_RTL_INSTANCE_HXX
+#ifndef INCLUDED_RTL_INSTANCE_HXX
#define INCLUDED_RTL_INSTANCE_HXX
#include "osl/doublecheckedlocking.h"
diff --git a/sal/inc/rtl/math.h b/sal/inc/rtl/math.h
index 77f29b129b23..4b34b13ac5f3 100644
--- a/sal/inc/rtl/math.h
+++ b/sal/inc/rtl/math.h
@@ -26,7 +26,7 @@
*
************************************************************************/
-#if !defined INCLUDED_RTL_MATH_H
+#ifndef INCLUDED_RTL_MATH_H
#define INCLUDED_RTL_MATH_H
#include "rtl/ustring.h"
diff --git a/sal/inc/rtl/math.hxx b/sal/inc/rtl/math.hxx
index 40eba502ef9a..47814bfdfea6 100644
--- a/sal/inc/rtl/math.hxx
+++ b/sal/inc/rtl/math.hxx
@@ -26,7 +26,7 @@
*
************************************************************************/
-#if !defined INCLUDED_RTL_MATH_HXX
+#ifndef INCLUDED_RTL_MATH_HXX
#define INCLUDED_RTL_MATH_HXX
#include "rtl/math.h"