sw/source/core/inc/SwUndoTOXChange.hxx | 5 +---- sw/source/core/inc/SwXMLBlockExport.hxx | 5 +---- sw/source/core/inc/SwXMLBlockImport.hxx | 5 +---- sw/source/core/inc/SwXMLTextBlocks.hxx | 5 +---- sw/source/core/inc/SwXTextDefaults.hxx | 5 ++--- 5 files changed, 6 insertions(+), 19 deletions(-)
New commits: commit 42b0ea1993b7ea223c126f011c78ec4cdfce95ff Author: Bayram Çiçek <m...@bayramcicek.com.tr> AuthorDate: Tue Nov 24 10:50:05 2020 +0000 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Tue Nov 24 18:21:46 2020 +0100 tdf#124176: Use pragma once instead of include guards Change-Id: I8df8d454ff1b65a5df2f1920b4d01f0925cbce33 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106489 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/sw/source/core/inc/SwUndoTOXChange.hxx b/sw/source/core/inc/SwUndoTOXChange.hxx index cc47fd684d7b..b3acd453fc75 100644 --- a/sw/source/core/inc/SwUndoTOXChange.hxx +++ b/sw/source/core/inc/SwUndoTOXChange.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SW_SOURCE_CORE_INC_SWUNDOTOXCHANGE_HXX -#define INCLUDED_SW_SOURCE_CORE_INC_SWUNDOTOXCHANGE_HXX +#pragma once #include <undobj.hxx> #include <tox.hxx> @@ -43,6 +42,4 @@ public: virtual void RepeatImpl(::sw::RepeatContext&) override; }; -#endif // INCLUDED_SW_SOURCE_CORE_INC_SWUNDOTOXCHANGE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/core/inc/SwXMLBlockExport.hxx b/sw/source/core/inc/SwXMLBlockExport.hxx index d858cfecfcc1..e34b2b3cbbbc 100644 --- a/sw/source/core/inc/SwXMLBlockExport.hxx +++ b/sw/source/core/inc/SwXMLBlockExport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SW_SOURCE_CORE_INC_SWXMLBLOCKEXPORT_HXX -#define INCLUDED_SW_SOURCE_CORE_INC_SWXMLBLOCKEXPORT_HXX +#pragma once #include <xmloff/xmlexp.hxx> @@ -61,6 +60,4 @@ public: void ExportContent_() override {} }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/core/inc/SwXMLBlockImport.hxx b/sw/source/core/inc/SwXMLBlockImport.hxx index 07a4dc69695c..baa88d4fcefd 100644 --- a/sw/source/core/inc/SwXMLBlockImport.hxx +++ b/sw/source/core/inc/SwXMLBlockImport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SW_SOURCE_CORE_INC_SWXMLBLOCKIMPORT_HXX -#define INCLUDED_SW_SOURCE_CORE_INC_SWXMLBLOCKIMPORT_HXX +#pragma once #include <xmloff/xmlimp.hxx> #include <xmloff/xmlnamespace.hxx> @@ -125,6 +124,4 @@ public: virtual sal_Int32 getTokenDirect( const char *pTag, sal_Int32 nLength ) const override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/core/inc/SwXMLTextBlocks.hxx b/sw/source/core/inc/SwXMLTextBlocks.hxx index 3d1feb1ec01c..8d30fb588d0d 100644 --- a/sw/source/core/inc/SwXMLTextBlocks.hxx +++ b/sw/source/core/inc/SwXMLTextBlocks.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SW_SOURCE_CORE_INC_SWXMLTEXTBLOCKS_HXX -#define INCLUDED_SW_SOURCE_CORE_INC_SWXMLTEXTBLOCKS_HXX +#pragma once #include <sfx2/objsh.hxx> #include "swblocks.hxx" @@ -91,6 +90,4 @@ public: void MakeBlockText( const OUString& rText ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/core/inc/SwXTextDefaults.hxx b/sw/source/core/inc/SwXTextDefaults.hxx index f989600c54e6..b97698efdfd7 100644 --- a/sw/source/core/inc/SwXTextDefaults.hxx +++ b/sw/source/core/inc/SwXTextDefaults.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_INC_SWXTEXTDEFAULTS_HXX -#define INCLUDED_SW_SOURCE_CORE_INC_SWXTEXTDEFAULTS_HXX + +#pragma once #include <cppuhelper/implbase.hxx> #include <com/sun/star/beans/XPropertySet.hpp> @@ -61,6 +61,5 @@ public: virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override; }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits