sw/source/uibase/app/appenv.hxx    |    5 +----
 sw/source/uibase/app/swdllimpl.hxx |    5 +----
 2 files changed, 2 insertions(+), 8 deletions(-)

New commits:
commit 005f1547b8e5b37da243320b2eb7a84a47f4c821
Author:     Adam Seskunas <adamsesku...@gmail.com>
AuthorDate: Tue Aug 29 10:40:43 2023 -0700
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Wed Aug 30 07:25:31 2023 +0200

    tdf#143148 Use pragma once in uibase-app
    
    Change-Id: I95cf120f9aaf47bb4c588471a8cbdb4c0ceb6c99
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156262
    Tested-by: Jenkins
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

diff --git a/sw/source/uibase/app/appenv.hxx b/sw/source/uibase/app/appenv.hxx
index 862e5b08f090..f077702bb93f 100644
--- a/sw/source/uibase/app/appenv.hxx
+++ b/sw/source/uibase/app/appenv.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_SW_SOURCE_UIBASE_APP_APPENV_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_APP_APPENV_HXX
+#pragma once
 
 #include <rtl/ustring.hxx>
 
@@ -17,6 +16,4 @@ class SwFieldMgr;
 
 OUString InsertLabEnvText(SwWrtShell&, SwFieldMgr&, const OUString&);
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/uibase/app/swdllimpl.hxx 
b/sw/source/uibase/app/swdllimpl.hxx
index 0aea89bfa75b..7dab66d6ce6b 100644
--- a/sw/source/uibase/app/swdllimpl.hxx
+++ b/sw/source/uibase/app/swdllimpl.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_SW_SOURCE_UIBASE_APP_SWDLLIMPL_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_APP_SWDLLIMPL_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -43,6 +42,4 @@ private:
     SvxAutoCorrCfg* m_pAutoCorrCfg;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to