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

Huilin (via logerrit) logerrit at kemper.freedesktop.org
Sat Jul 24 15:14:27 UTC 2021


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

New commits:
commit c5dcf48789d705d1b842e45d7c22cb38e477307c
Author:     Huilin <lynntang12138 at gmail.com>
AuthorDate: Fri Jul 23 16:09:15 2021 -0700
Commit:     Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
CommitDate: Sat Jul 24 17:13:54 2021 +0200

    tdf#143148: Use pragma once instead of include guards
    
    Change-Id: I5ac5ac09474b9e05b17a9c5b191ab2808eca2660
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119431
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>

diff --git a/sw/source/uibase/uno/unodefaults.hxx b/sw/source/uibase/uno/unodefaults.hxx
old mode 100644
new mode 100755
index 91d7c8f2faa9..5c14c1726008
--- a/sw/source/uibase/uno/unodefaults.hxx
+++ b/sw/source/uibase/uno/unodefaults.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_UNO_UNODEFAULTS_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_UNO_UNODEFAULTS_HXX
+#pragma once
 
 #include <svx/unopool.hxx>
 
@@ -34,6 +33,4 @@ public:
     virtual SfxItemPool* getModelPool(bool bReadOnly) noexcept override;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list