summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/clipb
diff options
context:
space:
mode:
authorGeorge Bateman <george.bateman16@gmail.com>2020-09-13 12:14:02 +0000
committerJulien Nabet <serval2412@yahoo.fr>2020-09-13 17:51:26 +0200
commit3dbc14db0aad072844b30e873c2d53978ea8e1c3 (patch)
tree8c7fdc559c11935f35a9ebafda11ec23f462c28e /dtrans/source/win32/clipb
parent91230736fce6d18886cf04902f477b458bf225b4 (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/source/win32/clipb')
-rw-r--r--dtrans/source/win32/clipb/APNDataObject.hxx5
-rw-r--r--dtrans/source/win32/clipb/MtaOleClipb.hxx5
-rw-r--r--dtrans/source/win32/clipb/WinClipbImpl.hxx5
-rw-r--r--dtrans/source/win32/clipb/WinClipboard.hxx5
4 files changed, 4 insertions, 16 deletions
diff --git a/dtrans/source/win32/clipb/APNDataObject.hxx b/dtrans/source/win32/clipb/APNDataObject.hxx
index c48d14117ef7..6937babc0dee 100644
--- a/dtrans/source/win32/clipb/APNDataObject.hxx
+++ b/dtrans/source/win32/clipb/APNDataObject.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DTRANS_SOURCE_WIN32_CLIPB_APNDATAOBJECT_HXX
-#define INCLUDED_DTRANS_SOURCE_WIN32_CLIPB_APNDATAOBJECT_HXX
+#pragma once
/*
an APartment Neutral dataobject wrapper; this wrapper of an IDataObject
@@ -67,6 +66,4 @@ private:
CAPNDataObject& operator=( const CAPNDataObject& theOther );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dtrans/source/win32/clipb/MtaOleClipb.hxx b/dtrans/source/win32/clipb/MtaOleClipb.hxx
index bf71ac26e8f8..c406f81aafd3 100644
--- a/dtrans/source/win32/clipb/MtaOleClipb.hxx
+++ b/dtrans/source/win32/clipb/MtaOleClipb.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DTRANS_SOURCE_WIN32_CLIPB_MTAOLECLIPB_HXX
-#define INCLUDED_DTRANS_SOURCE_WIN32_CLIPB_MTAOLECLIPB_HXX
+#pragma once
#include <sal/types.h>
#include <osl/mutex.hxx>
@@ -112,6 +111,4 @@ private:
friend LRESULT CALLBACK mtaOleReqWndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dtrans/source/win32/clipb/WinClipbImpl.hxx b/dtrans/source/win32/clipb/WinClipbImpl.hxx
index cd5878e6b794..9fd2fb894a8c 100644
--- a/dtrans/source/win32/clipb/WinClipbImpl.hxx
+++ b/dtrans/source/win32/clipb/WinClipbImpl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DTRANS_SOURCE_WIN32_CLIPB_WINCLIPBIMPL_HXX
-#define INCLUDED_DTRANS_SOURCE_WIN32_CLIPB_WINCLIPBIMPL_HXX
+#pragma once
#include <sal/types.h>
#include <rtl/ustring.hxx>
@@ -101,6 +100,4 @@ private:
friend class CXNotifyingDataObject;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dtrans/source/win32/clipb/WinClipboard.hxx b/dtrans/source/win32/clipb/WinClipboard.hxx
index db3f1ab188ed..a00375926456 100644
--- a/dtrans/source/win32/clipb/WinClipboard.hxx
+++ b/dtrans/source/win32/clipb/WinClipboard.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DTRANS_SOURCE_WIN32_CLIPB_WINCLIPBOARD_HXX
-#define INCLUDED_DTRANS_SOURCE_WIN32_CLIPB_WINCLIPBOARD_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <sal/types.h>
@@ -118,6 +117,4 @@ private:
friend class CWinClipbImpl;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */