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

Mücahid Aydin (via logerrit) logerrit at kemper.freedesktop.org
Sat Nov 21 17:20:40 UTC 2020


 sw/source/core/inc/DocumentStateManager.hxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit dbdb227219bf2b1bb23400aeac706f882ca0cad1
Author:     Mücahid Aydin <mucahidaydin047 at gmail.com>
AuthorDate: Sat Nov 21 12:23:44 2020 +0000
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Sat Nov 21 18:19:57 2020 +0100

    tdf#124176: Use pragma once instead of include guards
    
    Change-Id: I21e85b58702299a90e7b51500af31cb3334ddd7c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106310
    Tested-by: Jenkins
    Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>

diff --git a/sw/source/core/inc/DocumentStateManager.hxx b/sw/source/core/inc/DocumentStateManager.hxx
index e9b7d09bbc56..5030a4783976 100644
--- a/sw/source/core/inc/DocumentStateManager.hxx
+++ b/sw/source/core/inc/DocumentStateManager.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SW_SOURCE_CORE_INC_DOCUMENTSTATEMANAGER_HXX
-#define INCLUDED_SW_SOURCE_CORE_INC_DOCUMENTSTATEMANAGER_HXX
+#pragma once
 
 #include <IDocumentState.hxx>
 
@@ -60,6 +59,4 @@ private:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list