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

Umut Emre Bayramoglu (via logerrit) logerrit at kemper.freedesktop.org
Sat Nov 21 21:39:38 UTC 2020


 sw/source/uibase/inc/wrap.hxx |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit ddc9c95745183e2e6d7791bcd3248db976c89f4e
Author:     Umut Emre Bayramoglu <umut265 at gmail.com>
AuthorDate: Sat Nov 21 15:54:18 2020 +0000
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sat Nov 21 22:38:54 2020 +0100

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

diff --git a/sw/source/uibase/inc/wrap.hxx b/sw/source/uibase/inc/wrap.hxx
index 60313ffd4da6..3a69e43ff210 100644
--- a/sw/source/uibase/inc/wrap.hxx
+++ b/sw/source/uibase/inc/wrap.hxx
@@ -16,8 +16,8 @@
  *   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_INC_WRAP_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_INC_WRAP_HXX
+
+#pragma once
 
 #include <sfx2/tabdlg.hxx>
 #include <sfx2/basedlgs.hxx>
@@ -92,6 +92,4 @@ public:
     void     SetShell(SwWrtShell* pSh) { m_pWrtSh = pSh; }
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list