[Libreoffice-commits] core.git: svx/source

Shivam Kumar Singh (via logerrit) logerrit at kemper.freedesktop.org
Thu May 14 20:49:45 UTC 2020


 svx/source/sidebar/media/MediaPlaybackPanel.hxx         |    5 +----
 svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx |    5 +----
 svx/source/sidebar/paragraph/ParaPropertyPanel.hxx      |    5 +----
 svx/source/sidebar/paragraph/ParaSpacingWindow.hxx      |    5 +----
 svx/source/sidebar/styles/StylesPropertyPanel.hxx       |    5 +----
 5 files changed, 5 insertions(+), 20 deletions(-)

New commits:
commit 845859017a74978a7ad5c6473b473f38f284edf2
Author:     Shivam Kumar Singh <shivamhere247 at gmail.com>
AuthorDate: Sun May 10 01:18:52 2020 +0530
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Thu May 14 22:49:11 2020 +0200

    tdf#124176: Use pragma once instead of header guard
    
    Change-Id: I6adea171e05fec4a36225cead031214c7d1544e2
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93895
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/svx/source/sidebar/media/MediaPlaybackPanel.hxx b/svx/source/sidebar/media/MediaPlaybackPanel.hxx
index 69c6d08af6ef..a71a18a5e38e 100644
--- a/svx/source/sidebar/media/MediaPlaybackPanel.hxx
+++ b/svx/source/sidebar/media/MediaPlaybackPanel.hxx
@@ -16,8 +16,7 @@
  *   except in compliance with the License. You may obtain a copy of
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
-#ifndef INCLUDED_SD_SOURCE_SIDEBAR_MEDIAPLAYBACKPANEL_HXX
-#define INCLUDED_SD_SOURCE_SIDEBAR_MEDIAPLAYBACKPANEL_HXX
+#pragma once
 
 #include <memory>
 #include <com/sun/star/frame/XFrame.hpp>
@@ -81,6 +80,4 @@ private:
 
 } // end of namespace svx::sidebar
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx b/svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx
index 6904b9fcd696..14b335a375a6 100644
--- a/svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx
+++ b/svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx
@@ -16,8 +16,7 @@
  *   except in compliance with the License. You may obtain a copy of
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
-#ifndef INCLUDED_SVX_SOURCE_SIDEBAR_PARAGRAPH_PARALINESPACINGCONTROL_HXX
-#define INCLUDED_SVX_SOURCE_SIDEBAR_PARAGRAPH_PARALINESPACINGCONTROL_HXX
+#pragma once
 
 #include <svtools/toolbarmenu.hxx>
 
@@ -77,6 +76,4 @@ private:
 };
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx b/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx
index 5ea5cc842242..d59712360055 100644
--- a/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx
+++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx
@@ -16,8 +16,7 @@
  *   except in compliance with the License. You may obtain a copy of
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
-#ifndef INCLUDED_SVX_SOURCE_SIDEBAR_PARAGRAPH_PARAPROPERTYPANEL_HXX
-#define INCLUDED_SVX_SOURCE_SIDEBAR_PARAGRAPH_PARAPROPERTYPANEL_HXX
+#pragma once
 
 #include <sfx2/sidebar/ControllerItem.hxx>
 #include <sfx2/sidebar/IContextChangeReceiver.hxx>
@@ -135,6 +134,4 @@ private:
 
 } // end of namespace svx::sidebar
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/paragraph/ParaSpacingWindow.hxx b/svx/source/sidebar/paragraph/ParaSpacingWindow.hxx
index 77f308697f43..70ffd6d749fa 100644
--- a/svx/source/sidebar/paragraph/ParaSpacingWindow.hxx
+++ b/svx/source/sidebar/paragraph/ParaSpacingWindow.hxx
@@ -16,8 +16,7 @@
  *   except in compliance with the License. You may obtain a copy of
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
-#ifndef INCLUDED_SVX_SOURCE_SIDEBAR_PARAGRAPH_PARASPACINGWINDOW_HXX
-#define INCLUDED_SVX_SOURCE_SIDEBAR_PARAGRAPH_PARASPACINGWINDOW_HXX
+#pragma once
 
 #include <editeng/ulspitem.hxx>
 #include <vcl/EnumContext.hxx>
@@ -113,6 +112,4 @@ public:
 };
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/styles/StylesPropertyPanel.hxx b/svx/source/sidebar/styles/StylesPropertyPanel.hxx
index 058c594249aa..f9dd6b1747e9 100644
--- a/svx/source/sidebar/styles/StylesPropertyPanel.hxx
+++ b/svx/source/sidebar/styles/StylesPropertyPanel.hxx
@@ -1,5 +1,4 @@
-#ifndef INCLUDED_SVX_SOURCE_SIDEBAR_STYLES_STYLESPROPERTYPANEL_HXX
-#define INCLUDED_SVX_SOURCE_SIDEBAR_STYLES_STYLESPROPERTYPANEL_HXX
+#pragma once
 
 #include <sfx2/sidebar/PanelLayout.hxx>
 #include <sfx2/weldutils.hxx>
@@ -33,5 +32,3 @@ public:
 };
 
 } //end of namespace svx::sidebar
-
-#endif


More information about the Libreoffice-commits mailing list