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

Buse Orak (via logerrit) logerrit at kemper.freedesktop.org
Sun Feb 14 12:22:48 UTC 2021


 sw/source/uibase/sidebar/PageFormatPanel.hxx |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit de355293303ace942c6f18df57400e0f26b9af29
Author:     Buse Orak <buseorak at hotmail.com>
AuthorDate: Sat Feb 13 15:39:32 2021 +0000
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Feb 14 13:22:04 2021 +0100

    tdf#124176: Use pragma once instead of include guards
    
    Change-Id: I59db23da3305d68567e09d6d7f23ca762bc75ff5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110843
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/sw/source/uibase/sidebar/PageFormatPanel.hxx b/sw/source/uibase/sidebar/PageFormatPanel.hxx
index 7c2a505618c8..a68004f8a347 100644
--- a/sw/source/uibase/sidebar/PageFormatPanel.hxx
+++ b/sw/source/uibase/sidebar/PageFormatPanel.hxx
@@ -16,8 +16,8 @@
  *   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_SW_SOURCE_UIBASE_SIDEBAR_PAGEFORMATPANEL_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_PAGEFORMATPANEL_HXX
+
+#pragma once
 
 #include <com/sun/star/frame/XFrame.hpp>
 
@@ -107,6 +107,4 @@ private:
 
 } //end of namespace sw::sidebar
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list