diff options
author | George Bateman <george.bateman16@gmail.com> | 2020-09-13 12:14:02 +0000 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-09-13 17:51:26 +0200 |
commit | 3dbc14db0aad072844b30e873c2d53978ea8e1c3 (patch) | |
tree | 8c7fdc559c11935f35a9ebafda11ec23f462c28e /dtrans/test/win32 | |
parent | 91230736fce6d18886cf04902f477b458bf225b4 (diff) |
tdf#124176 Use #pragma once in dtrans
This commit was carried out by a Python script, source of which
is at https://bugs.documentfoundation.org/show_bug.cgi?id=124176#c97.
Change-Id: I8a16d58b4adec5aa0d35a2c50e088039fa6e5148
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102575
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'dtrans/test/win32')
-rw-r--r-- | dtrans/test/win32/dnd/atlwindow.hxx | 5 | ||||
-rw-r--r-- | dtrans/test/win32/dnd/sourcelistener.hxx | 5 | ||||
-rw-r--r-- | dtrans/test/win32/dnd/targetlistener.hxx | 5 | ||||
-rw-r--r-- | dtrans/test/win32/dnd/transferable.hxx | 5 |
4 files changed, 4 insertions, 16 deletions
diff --git a/dtrans/test/win32/dnd/atlwindow.hxx b/dtrans/test/win32/dnd/atlwindow.hxx index 378407274b56..047acf6769b1 100644 --- a/dtrans/test/win32/dnd/atlwindow.hxx +++ b/dtrans/test/win32/dnd/atlwindow.hxx @@ -16,8 +16,7 @@ * 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_DTRANS_TEST_WIN32_DND_ATLWINDOW_HXX -#define INCLUDED_DTRANS_TEST_WIN32_DND_ATLWINDOW_HXX +#pragma once #include <atlbase.h> extern CComModule _Module; #include <atlcom.h> @@ -85,6 +84,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dtrans/test/win32/dnd/sourcelistener.hxx b/dtrans/test/win32/dnd/sourcelistener.hxx index 686d95c11025..0fc051399042 100644 --- a/dtrans/test/win32/dnd/sourcelistener.hxx +++ b/dtrans/test/win32/dnd/sourcelistener.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DTRANS_TEST_WIN32_DND_SOURCELISTENER_HXX -#define INCLUDED_DTRANS_TEST_WIN32_DND_SOURCELISTENER_HXX +#pragma once #include <cppuhelper/implbase.hxx> #include <com/sun/star/datatransfer/dnd/XDragSourceListener.hpp> @@ -54,6 +53,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dtrans/test/win32/dnd/targetlistener.hxx b/dtrans/test/win32/dnd/targetlistener.hxx index 153dc64eead5..f42fac33aec5 100644 --- a/dtrans/test/win32/dnd/targetlistener.hxx +++ b/dtrans/test/win32/dnd/targetlistener.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DTRANS_TEST_WIN32_DND_TARGETLISTENER_HXX -#define INCLUDED_DTRANS_TEST_WIN32_DND_TARGETLISTENER_HXX +#pragma once #if defined _MSC_VER #pragma warning(push,1) @@ -62,6 +61,4 @@ public: throw(RuntimeException); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dtrans/test/win32/dnd/transferable.hxx b/dtrans/test/win32/dnd/transferable.hxx index 1323a2cd5aaa..fef9cda50635 100644 --- a/dtrans/test/win32/dnd/transferable.hxx +++ b/dtrans/test/win32/dnd/transferable.hxx @@ -16,8 +16,7 @@ * 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_DTRANS_TEST_WIN32_DND_TRANSFERABLE_HXX -#define INCLUDED_DTRANS_TEST_WIN32_DND_TRANSFERABLE_HXX +#pragma once #include <cppuhelper/servicefactory.hxx> #include <com/sun/star/datatransfer/XTransferable.hpp> @@ -87,6 +86,4 @@ private: OUString m_Data; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |