summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
authorVenetia Furtado <venetiarosita@gmail.com>2023-06-15 21:38:06 -0600
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2023-06-16 17:38:03 +0200
commit8d52aac82344c0198a42ea104fb4fb9b157d8ea4 (patch)
tree459b5c9219dd66b10430ac0db5a796d7b45e4dc0 /sal/osl
parent97eaf03625d5a0b8d3340b5495143d08a9707275 (diff)
tdf#143148: Use pragma once instead of include guards
Change-Id: I83c7405c61edd2c92ad624064326ba9c9e971313 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153164 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/unx/createfilehandlefromfd.hxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sal/osl/unx/createfilehandlefromfd.hxx b/sal/osl/unx/createfilehandlefromfd.hxx
index bb8a768ef814..11f60ef1294b 100644
--- a/sal/osl/unx/createfilehandlefromfd.hxx
+++ b/sal/osl/unx/createfilehandlefromfd.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SAL_OSL_UNX_CREATEFILEHANDLEFROMFD_HXX
-#define INCLUDED_SAL_OSL_UNX_CREATEFILEHANDLEFROMFD_HXX
+#pragma once
#include <sal/config.h>
@@ -19,6 +18,4 @@ namespace osl::detail
oslFileHandle createFileHandleFromFD(int fd); // defined in file.cxx
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */