diff options
author | Sarper Akdemir <q.sarperakdemir@gmail.com> | 2020-01-27 02:35:53 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2020-01-27 10:03:23 +0100 |
commit | 8d4cb2870f34ec1f30ed51bc6071334c80cbe178 (patch) | |
tree | dce39402e0f6c9f7a76f60939a92e24ba023bdcd | |
parent | 04df6666613be69e4eb4dd8a2b195686bb48e5b3 (diff) |
tdf#124176: Use pragma once instead of include guards
Change-Id: Ib83c5cf44537bc1c4552f97c9114357c410a6ddb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87473
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
-rw-r--r-- | sd/source/ui/inc/AnimationChildWindow.hxx | 5 | ||||
-rw-r--r-- | sd/source/ui/inc/NavigatorChildWindow.hxx | 5 | ||||
-rw-r--r-- | sd/source/ui/inc/bulmaper.hxx | 5 | ||||
-rw-r--r-- | sd/source/ui/inc/createtableobjectbar.hxx | 5 | ||||
-rw-r--r-- | sw/inc/SidebarWindowsTypes.hxx | 5 |
5 files changed, 5 insertions, 20 deletions
diff --git a/sd/source/ui/inc/AnimationChildWindow.hxx b/sd/source/ui/inc/AnimationChildWindow.hxx index 1c114b82e378..1223dfdbd5b8 100644 --- a/sd/source/ui/inc/AnimationChildWindow.hxx +++ b/sd/source/ui/inc/AnimationChildWindow.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SD_SOURCE_UI_INC_ANIMATIONCHILDWINDOW_HXX -#define INCLUDED_SD_SOURCE_UI_INC_ANIMATIONCHILDWINDOW_HXX +#pragma once #include <sfx2/childwin.hxx> #include <sal/types.h> @@ -43,6 +42,4 @@ public: } // end of namespace sd -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/inc/NavigatorChildWindow.hxx b/sd/source/ui/inc/NavigatorChildWindow.hxx index 648f8ae60834..4654c23a0ef6 100644 --- a/sd/source/ui/inc/NavigatorChildWindow.hxx +++ b/sd/source/ui/inc/NavigatorChildWindow.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SD_SOURCE_UI_INC_NAVIGATORCHILDWINDOW_HXX -#define INCLUDED_SD_SOURCE_UI_INC_NAVIGATORCHILDWINDOW_HXX +#pragma once #include <sfx2/childwin.hxx> @@ -45,6 +44,4 @@ public: } // end of namespace sd -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/inc/bulmaper.hxx b/sd/source/ui/inc/bulmaper.hxx index 0d5448f9dd73..d2f8d6524f9f 100644 --- a/sd/source/ui/inc/bulmaper.hxx +++ b/sd/source/ui/inc/bulmaper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SD_SOURCE_UI_INC_BULMAPER_HXX -#define INCLUDED_SD_SOURCE_UI_INC_BULMAPER_HXX +#pragma once #include <sddllapi.h> @@ -36,6 +35,4 @@ public: }; -#endif // INCLUDED_SD_SOURCE_UI_INC_BULMAPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/inc/createtableobjectbar.hxx b/sd/source/ui/inc/createtableobjectbar.hxx index 881ac8e07e61..583efcc6aab1 100644 --- a/sd/source/ui/inc/createtableobjectbar.hxx +++ b/sd/source/ui/inc/createtableobjectbar.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SD_SOURCE_UI_INC_CREATETABLEOBJECTBAR_HXX -#define INCLUDED_SD_SOURCE_UI_INC_CREATETABLEOBJECTBAR_HXX +#pragma once #include <sal/config.h> @@ -35,6 +34,4 @@ SfxShell* CreateTableObjectBar( ViewShell& rShell, ::sd::View* pView ); } } } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/SidebarWindowsTypes.hxx b/sw/inc/SidebarWindowsTypes.hxx index b041c3f32a2f..186b5d2796bc 100644 --- a/sw/inc/SidebarWindowsTypes.hxx +++ b/sw/inc/SidebarWindowsTypes.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SW_INC_SIDEBARWINDOWSTYPES_HXX -#define INCLUDED_SW_INC_SIDEBARWINDOWSTYPES_HXX +#pragma once namespace sw { namespace sidebarwindows { @@ -38,6 +37,4 @@ enum class SidebarPosition } } // end of namespace sw::sidebarwindows -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |