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

Arda (via logerrit) logerrit at kemper.freedesktop.org
Sat Nov 21 17:30:11 UTC 2020


 sw/source/uibase/table/tablepg.hxx |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 9eb7962a718fae662a8cb26382031f1c10c64597
Author:     Arda <arda.demirkiran at yandex.com>
AuthorDate: Sat Nov 21 12:22:25 2020 +0000
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sat Nov 21 18:29:24 2020 +0100

    tdf#124176: Use pragma once instead of include guards
    
    Change-Id: I38410a541ba29caef407ac13974e6685d05fc0fc
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106305
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/sw/source/uibase/table/tablepg.hxx b/sw/source/uibase/table/tablepg.hxx
index adfee146e03c..f038c8402541 100644
--- a/sw/source/uibase/table/tablepg.hxx
+++ b/sw/source/uibase/table/tablepg.hxx
@@ -16,8 +16,9 @@
  *   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_TABLE_TABLEPG_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_TABLE_TABLEPG_HXX
+
+#pragma once
+
 #include <sfx2/tabdlg.hxx>
 #include <prcntfld.hxx>
 #include <swtypes.hxx>
@@ -182,6 +183,6 @@ public:
     void                DisablePageBreak();
 };
 
-#endif
+
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list