include/sfx2/chalign.hxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 626dee3a7227a976b9768f7323aac2ec6fbf3b90
Author:     Daniel <[email protected]>
AuthorDate: Thu Nov 20 17:40:58 2025 -0800
Commit:     Ilmari Lauhakangas <[email protected]>
CommitDate: Fri Nov 21 07:07:21 2025 +0100

    tdf#143148 Use pragma once instead of include guards
    
    Replaced include guard with #pragma once
    
    Change-Id: I7d41ec8ce16ae0d8e8daca22832ed8ec705f8407
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194296
    Tested-by: Jenkins
    Reviewed-by: Ilmari Lauhakangas <[email protected]>

diff --git a/include/sfx2/chalign.hxx b/include/sfx2/chalign.hxx
index d63646ea1c3b..067cb0f83a5a 100644
--- a/include/sfx2/chalign.hxx
+++ b/include/sfx2/chalign.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_SFX2_CHALIGN_HXX
-#define INCLUDED_SFX2_CHALIGN_HXX
+#pragma once
 
 // New order: first, navigation bar, then vertically docked child windows
 // (Explorer!), then horizontally docked child windows (Browser!),
@@ -50,6 +49,4 @@ inline bool SfxChildAlignValid( SfxChildAlignment eAlign )
     return ( eAlign >= SfxChildAlignment::HIGHESTTOP && eAlign <= 
SfxChildAlignment::NOALIGNMENT );
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to