summaryrefslogtreecommitdiff
path: root/vcl/inc/win/saldata.hxx
diff options
context:
space:
mode:
authorU-LAPTOP-06BFT6KB\Client <andreamassimo03@gmail.com>2022-09-15 13:46:55 +0200
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2022-09-17 09:16:42 +0200
commitc1e65e8010348b39ba9ffadd3ebfd2587a969c82 (patch)
tree941dec9c232e714ca7f58e079d4a9c5bb7c54900 /vcl/inc/win/saldata.hxx
parent0d5752be6f2168ad8b1a81458955bf8d3d5bdffb (diff)
tdf#143148 use pragma once instead of include guards
Change-Id: I413382bfe1edc9c9827af338cfbbd17262e839ef Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140083 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'vcl/inc/win/saldata.hxx')
-rw-r--r--vcl/inc/win/saldata.hxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/inc/win/saldata.hxx b/vcl/inc/win/saldata.hxx
index dce54d03fb85..17e9411a3c8e 100644
--- a/vcl/inc/win/saldata.hxx
+++ b/vcl/inc/win/saldata.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_VCL_INC_WIN_SALDATA_HXX
-#define INCLUDED_VCL_INC_WIN_SALDATA_HXX
+#pragma once
#include <config_features.h>
@@ -296,6 +295,4 @@ inline WinSalObject* GetSalObjWindowPtr( HWND hWnd )
return reinterpret_cast<WinSalObject*>(GetWindowLongPtrW( hWnd, SAL_OBJECT_THIS ));
}
-#endif // INCLUDED_VCL_INC_WIN_SALDATA_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */