sw/source/core/access/acccell.hxx | 5 +---- sw/source/core/access/acccontext.hxx | 5 +---- sw/source/core/access/accdoc.hxx | 5 +---- sw/source/core/access/accembedded.hxx | 5 +---- sw/source/core/access/accfootnote.hxx | 5 +---- 5 files changed, 5 insertions(+), 20 deletions(-)
New commits: commit 6800a6dd9a60603badffb7b5bcbef22eee2134cb Author: Bugra <bugrakur...@gmail.com> AuthorDate: Sat Feb 29 13:52:36 2020 +0300 Commit: Jens Carl <j.car...@gmx.de> CommitDate: Sat Feb 29 20:19:31 2020 +0100 tdf#124176: Use pragma once instead of include guards Change-Id: I7ab74181ba68ad722929b6022736179327ac909f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89754 Tested-by: Jenkins Reviewed-by: Jens Carl <j.car...@gmx.de> diff --git a/sw/source/core/access/acccell.hxx b/sw/source/core/access/acccell.hxx index 64fbd3a86893..4caa25cad5d4 100644 --- a/sw/source/core/access/acccell.hxx +++ b/sw/source/core/access/acccell.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SW_SOURCE_CORE_ACCESS_ACCCELL_HXX -#define INCLUDED_SW_SOURCE_CORE_ACCESS_ACCCELL_HXX +#pragma once #include "acccontext.hxx" #include <com/sun/star/accessibility/XAccessibleValue.hpp> @@ -133,6 +132,4 @@ public: virtual void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/core/access/acccontext.hxx b/sw/source/core/access/acccontext.hxx index a42c0f569fb2..8550430e69bf 100644 --- a/sw/source/core/access/acccontext.hxx +++ b/sw/source/core/access/acccontext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SW_SOURCE_CORE_ACCESS_ACCCONTEXT_HXX -#define INCLUDED_SW_SOURCE_CORE_ACCESS_ACCCONTEXT_HXX +#pragma once #include "accframe.hxx" #include <accmap.hxx> @@ -358,6 +357,4 @@ public: const OUString *pArg2 = nullptr); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/core/access/accdoc.hxx b/sw/source/core/access/accdoc.hxx index 6f117c825b7e..eb4ec56bd499 100644 --- a/sw/source/core/access/accdoc.hxx +++ b/sw/source/core/access/accdoc.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SW_SOURCE_CORE_ACCESS_ACCDOC_HXX -#define INCLUDED_SW_SOURCE_CORE_ACCESS_ACCDOC_HXX +#pragma once #include "acccontext.hxx" #include <com/sun/star/accessibility/XAccessibleSelection.hpp> @@ -176,6 +175,4 @@ public: SAL_CALL getAccFlowTo(const css::uno::Any& rAny, sal_Int32 nType) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/core/access/accembedded.hxx b/sw/source/core/access/accembedded.hxx index 5506838fa64f..86fdcc9cd5e5 100644 --- a/sw/source/core/access/accembedded.hxx +++ b/sw/source/core/access/accembedded.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SW_SOURCE_CORE_ACCESS_ACCEMBEDDED_HXX -#define INCLUDED_SW_SOURCE_CORE_ACCESS_ACCEMBEDDED_HXX +#pragma once #include "accnotextframe.hxx" @@ -70,6 +69,4 @@ public: virtual css::uno::Any SAL_CALL getExtendedAttributes() override ; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/core/access/accfootnote.hxx b/sw/source/core/access/accfootnote.hxx index 30a42d0f2452..ecc852cd5816 100644 --- a/sw/source/core/access/accfootnote.hxx +++ b/sw/source/core/access/accfootnote.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SW_SOURCE_CORE_ACCESS_ACCFOOTNOTE_HXX -#define INCLUDED_SW_SOURCE_CORE_ACCESS_ACCFOOTNOTE_HXX +#pragma once #include <sal/types.h> #include "acccontext.hxx" @@ -63,6 +62,4 @@ public: static bool IsEndnote( const SwFootnoteFrame *pFrame ); }; -#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