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

Ahmet Hakan Çelik (via logerrit) logerrit at kemper.freedesktop.org
Sun Mar 7 13:43:18 UTC 2021


 sw/source/uibase/sidebar/PageOrientationControl.hxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 57c8f13d176cccf913573dafaf10a870619822fc
Author:     Ahmet Hakan Çelik <ahmethcelik at gmail.com>
AuthorDate: Sun Mar 7 15:46:21 2021 +0300
Commit:     Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
CommitDate: Sun Mar 7 14:42:41 2021 +0100

    tdf#124176 Use pragma once in sw/source/uibase/sidebar
    
    Change-Id: I0f4f5b1d612d2fa92582fc8a26dc35d01fbfe4bd
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112129
    Tested-by: Jenkins
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>

diff --git a/sw/source/uibase/sidebar/PageOrientationControl.hxx b/sw/source/uibase/sidebar/PageOrientationControl.hxx
index 5f71ca925894..da82474b08cc 100644
--- a/sw/source/uibase/sidebar/PageOrientationControl.hxx
+++ b/sw/source/uibase/sidebar/PageOrientationControl.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_SW_SOURCE_UIBASE_SIDEBAR_PAGEORIENTATIONCONTROL_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_PAGEORIENTATIONCONTROL_HXX
+#pragma once
 
 #include <memory>
 #include <svtools/toolbarmenu.hxx>
@@ -55,6 +54,4 @@ private:
 
 } // end of namespace sw::sidebar
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list