sw/source/core/access/accframe.hxx     |    5 +----
 sw/source/core/access/acctextframe.hxx |    5 +----
 2 files changed, 2 insertions(+), 8 deletions(-)

New commits:
commit 4f6d506e79884b5febb50e61f58bfdba4deef323
Author:     buldi <dobrakowskira...@gmail.com>
AuthorDate: Thu Feb 9 22:35:59 2023 +0100
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Mon Feb 13 09:25:42 2023 +0000

    tdf#143148 Use pragma once instead of include guard in sw
    
    Change-Id: I9b4d2ccb608ceaafb3ee71a34831ce9cb69db6f7
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146729
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

diff --git a/sw/source/core/access/accframe.hxx 
b/sw/source/core/access/accframe.hxx
index 6f2dff0ae555..c069292e11f3 100644
--- a/sw/source/core/access/accframe.hxx
+++ b/sw/source/core/access/accframe.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SW_SOURCE_CORE_ACCESS_ACCFRAME_HXX
-#define INCLUDED_SW_SOURCE_CORE_ACCESS_ACCFRAME_HXX
+#pragma once
 
 #include <swrect.hxx>
 
@@ -158,6 +157,4 @@ inline const SwFrame *SwAccessibleFrame::GetParent() const
     return GetParent( aFrameOrObj, IsInPagePreview()  );
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/access/acctextframe.hxx 
b/sw/source/core/access/acctextframe.hxx
index 50a58729f8b0..036e1e85d326 100644
--- a/sw/source/core/access/acctextframe.hxx
+++ b/sw/source/core/access/acctextframe.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SW_SOURCE_CORE_ACCESS_ACCTEXTFRAME_HXX
-#define INCLUDED_SW_SOURCE_CORE_ACCESS_ACCTEXTFRAME_HXX
+#pragma once
 
 #include "accframebase.hxx"
 
@@ -111,6 +110,4 @@ public:
     virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet> 
SAL_CALL getAccessibleRelationSet() override;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to