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

Wyatt Turner (via logerrit) logerrit at kemper.freedesktop.org
Wed Jun 24 15:04:33 UTC 2020


 sw/source/core/docnode/threadmanager.hxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit cf94d52c0537d9291309b10fb3021f9d35bf1796
Author:     Wyatt Turner <wyatturner.45 at gmail.com>
AuthorDate: Wed Mar 25 16:52:57 2020 -0700
Commit:     Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Wed Jun 24 17:03:58 2020 +0200

    tdf#124176 Use pragma once instead of include guards
    
    Changes include guards in threadmanager.hxx to #pragma once
    
    Change-Id: I9cdc391f68389b0e23fa52598f5c2f1281d4e7a5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91080
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <m.weghorn at posteo.de>

diff --git a/sw/source/core/docnode/threadmanager.hxx b/sw/source/core/docnode/threadmanager.hxx
index 21078e7abf9a..cdadd4261c7b 100644
--- a/sw/source/core/docnode/threadmanager.hxx
+++ b/sw/source/core/docnode/threadmanager.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_CORE_DOCNODE_THREADMANAGER_HXX
-#define INCLUDED_SW_SOURCE_CORE_DOCNODE_THREADMANAGER_HXX
+
+#pragma once
 
 #include <vcl/idle.hxx>
 #include <osl/mutex.hxx>
@@ -143,6 +143,5 @@ class ThreadManager final
 
         bool StartThread( const tThreadData& aThreadData );
 };
-#endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list