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

Radhey Parekh (via logerrit) logerrit at kemper.freedesktop.org
Tue Jun 29 13:22:08 UTC 2021


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

New commits:
commit 872c54f99c7cd35697ea811b59bbcdc4b31f38d0
Author:     Radhey Parekh <radhey.parekh at gmail.com>
AuthorDate: Fri Jun 25 20:52:54 2021 +0530
Commit:     Samuel Mehrbrodt <samuel.mehrbrodt at allotropia.de>
CommitDate: Tue Jun 29 15:21:34 2021 +0200

    tdf#124176 Use pragma once instead of include guards
    
    Change-Id: I442b8aeac321ff2f34fc83037aff2b48197f44de
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117905
    Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt at allotropia.de>
    Tested-by: Jenkins

diff --git a/sw/source/core/inc/DocumentContentOperationsManager.hxx b/sw/source/core/inc/DocumentContentOperationsManager.hxx
index 3b2d82d75b6b..37b34a432bf1 100644
--- a/sw/source/core/inc/DocumentContentOperationsManager.hxx
+++ b/sw/source/core/inc/DocumentContentOperationsManager.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SW_SOURCE_CORE_INC_DOCUMENTCONTENTOPERATIONSMANAGER_HXX
-#define INCLUDED_SW_SOURCE_CORE_INC_DOCUMENTCONTENTOPERATIONSMANAGER_HXX
+#pragma once
 
 #include <IDocumentContentOperations.hxx>
 #include <ndarr.hxx> //Only for lcl_RstTxtAttr
@@ -186,6 +185,4 @@ void CalcBreaks(std::vector<std::pair<sal_uLong, sal_Int32>> & rBreaks,
 
 }
 
-#endif // INCLUDED_SW_SOURCE_CORE_INC_DOCUMENTCONTENTOPERATIONSMANAGER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list