[Libreoffice-commits] core.git: sd/source sw/inc
Sarper Akdemir (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jan 27 09:03:54 UTC 2020
sd/source/ui/inc/AnimationChildWindow.hxx | 5 +----
sd/source/ui/inc/NavigatorChildWindow.hxx | 5 +----
sd/source/ui/inc/bulmaper.hxx | 5 +----
sd/source/ui/inc/createtableobjectbar.hxx | 5 +----
sw/inc/SidebarWindowsTypes.hxx | 5 +----
5 files changed, 5 insertions(+), 20 deletions(-)
New commits:
commit 8d4cb2870f34ec1f30ed51bc6071334c80cbe178
Author: Sarper Akdemir <q.sarperakdemir at gmail.com>
AuthorDate: Mon Jan 27 02:35:53 2020 +0300
Commit: Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Mon Jan 27 10:03:23 2020 +0100
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 at collabora.com>
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: */
More information about the Libreoffice-commits
mailing list