summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/dtobj
diff options
context:
space:
mode:
Diffstat (limited to 'dtrans/source/win32/dtobj')
-rw-r--r--dtrans/source/win32/dtobj/APNDataObject.hxx5
-rw-r--r--dtrans/source/win32/dtobj/DOTransferable.hxx5
-rw-r--r--dtrans/source/win32/dtobj/DTransHelper.hxx5
-rw-r--r--dtrans/source/win32/dtobj/DataFmtTransl.hxx5
-rw-r--r--dtrans/source/win32/dtobj/Fetc.hxx5
-rw-r--r--dtrans/source/win32/dtobj/FetcList.hxx5
-rw-r--r--dtrans/source/win32/dtobj/FmtFilter.hxx5
-rw-r--r--dtrans/source/win32/dtobj/MimeAttrib.hxx5
-rw-r--r--dtrans/source/win32/dtobj/TxtCnvtHlp.hxx5
-rw-r--r--dtrans/source/win32/dtobj/XNotifyingDataObject.hxx5
-rw-r--r--dtrans/source/win32/dtobj/XTDataObject.hxx5
11 files changed, 11 insertions, 44 deletions
diff --git a/dtrans/source/win32/dtobj/APNDataObject.hxx b/dtrans/source/win32/dtobj/APNDataObject.hxx
index 2c1d9718ec2f..69f5c9bd313a 100644
--- a/dtrans/source/win32/dtobj/APNDataObject.hxx
+++ b/dtrans/source/win32/dtobj/APNDataObject.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_APNDATAOBJECT_HXX
-#define INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_APNDATAOBJECT_HXX
+#pragma once
#include <systools/win32/comtools.hxx>
@@ -69,6 +68,4 @@ private:
CAPNDataObject& operator=( const CAPNDataObject& theOther );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dtrans/source/win32/dtobj/DOTransferable.hxx b/dtrans/source/win32/dtobj/DOTransferable.hxx
index f45e18c4f85a..af2d2008cf37 100644
--- a/dtrans/source/win32/dtobj/DOTransferable.hxx
+++ b/dtrans/source/win32/dtobj/DOTransferable.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_DOTRANSFERABLE_HXX
-#define INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_DOTRANSFERABLE_HXX
+#pragma once
#include <com/sun/star/datatransfer/XTransferable.hpp>
@@ -91,6 +90,4 @@ private:
CDOTransferable& operator=( const CDOTransferable& );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dtrans/source/win32/dtobj/DTransHelper.hxx b/dtrans/source/win32/dtobj/DTransHelper.hxx
index d677184fb0ee..9ec202c11d07 100644
--- a/dtrans/source/win32/dtobj/DTransHelper.hxx
+++ b/dtrans/source/win32/dtobj/DTransHelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_DTRANSHELPER_HXX
-#define INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_DTRANSHELPER_HXX
+#pragma once
#if !defined WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
@@ -165,6 +164,4 @@ private:
LPVOID m_pGlobMem;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dtrans/source/win32/dtobj/DataFmtTransl.hxx b/dtrans/source/win32/dtobj/DataFmtTransl.hxx
index 3fad9bbdc89a..3d748751b79c 100644
--- a/dtrans/source/win32/dtobj/DataFmtTransl.hxx
+++ b/dtrans/source/win32/dtobj/DataFmtTransl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_DATAFMTTRANSL_HXX
-#define INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_DATAFMTTRANSL_HXX
+#pragma once
#include <com/sun/star/datatransfer/XDataFormatTranslator.hpp>
#include <com/sun/star/datatransfer/XTransferable.hpp>
@@ -62,6 +61,4 @@ private:
css::uno::Reference< css::datatransfer::XDataFormatTranslator > m_XDataFormatTranslator;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dtrans/source/win32/dtobj/Fetc.hxx b/dtrans/source/win32/dtobj/Fetc.hxx
index 5ec3e4b9459e..e0880acd645d 100644
--- a/dtrans/source/win32/dtobj/Fetc.hxx
+++ b/dtrans/source/win32/dtobj/Fetc.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_FETC_HXX
-#define INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_FETC_HXX
+#pragma once
#include <sal/types.h>
@@ -74,6 +73,4 @@ private:
bool operator==( const CFormatEtc& lhs, const CFormatEtc& rhs );
bool operator!=( const CFormatEtc& lhs, const CFormatEtc& rhs );
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dtrans/source/win32/dtobj/FetcList.hxx b/dtrans/source/win32/dtobj/FetcList.hxx
index cf7697e1ba1e..2df28ff5758e 100644
--- a/dtrans/source/win32/dtobj/FetcList.hxx
+++ b/dtrans/source/win32/dtobj/FetcList.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_FETCLIST_HXX
-#define INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_FETCLIST_HXX
+#pragma once
#include <sal/types.h>
#include <com/sun/star/datatransfer/XTransferable.hpp>
@@ -137,6 +136,4 @@ private:
CFormatRegistrar& operator=( const CFormatRegistrar& );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dtrans/source/win32/dtobj/FmtFilter.hxx b/dtrans/source/win32/dtobj/FmtFilter.hxx
index 1c2325851208..3c05c953c95d 100644
--- a/dtrans/source/win32/dtobj/FmtFilter.hxx
+++ b/dtrans/source/win32/dtobj/FmtFilter.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_FMTFILTER_HXX
-#define INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_FMTFILTER_HXX
+#pragma once
#include <sal/types.h>
@@ -82,6 +81,4 @@ css::uno::Sequence< sal_Int8 > TextHtmlToHTMLFormat( css::uno::Sequence< sal_Int
*/
css::uno::Sequence< sal_Int8 > CF_HDROPToFileList(HGLOBAL hGlobal);
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dtrans/source/win32/dtobj/MimeAttrib.hxx b/dtrans/source/win32/dtobj/MimeAttrib.hxx
index eb57ba750ea1..dc8c3ef86fbb 100644
--- a/dtrans/source/win32/dtobj/MimeAttrib.hxx
+++ b/dtrans/source/win32/dtobj/MimeAttrib.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_MIMEATTRIB_HXX
-#define INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_MIMEATTRIB_HXX
+#pragma once
#include <rtl/ustring.hxx>
@@ -29,6 +28,4 @@ const OUString PRE_OEM_CODEPAGE ("cp");
const OUString CHARSET_UTF16 ("utf-16");
const OUString CHARSET_UNICODE ("unicode");
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dtrans/source/win32/dtobj/TxtCnvtHlp.hxx b/dtrans/source/win32/dtobj/TxtCnvtHlp.hxx
index 9f8d47209d9c..70bd4e32ab67 100644
--- a/dtrans/source/win32/dtobj/TxtCnvtHlp.hxx
+++ b/dtrans/source/win32/dtobj/TxtCnvtHlp.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_TXTCNVTHLP_HXX
-#define INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_TXTCNVTHLP_HXX
+#pragma once
#include <com/sun/star/datatransfer/DataFlavor.hpp>
@@ -39,6 +38,4 @@ int WideCharToMultiByteEx( UINT cp_dest,
CStgTransferHelper& refDTransHelper,
BOOL bEnsureTrailingZero = TRUE );
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dtrans/source/win32/dtobj/XNotifyingDataObject.hxx b/dtrans/source/win32/dtobj/XNotifyingDataObject.hxx
index 0d72c760f4c2..2fb3025a03fa 100644
--- a/dtrans/source/win32/dtobj/XNotifyingDataObject.hxx
+++ b/dtrans/source/win32/dtobj/XNotifyingDataObject.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_XNOTIFYINGDATAOBJECT_HXX
-#define INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_XNOTIFYINGDATAOBJECT_HXX
+#pragma once
#include <com/sun/star/datatransfer/XTransferable.hpp>
#include <com/sun/star/datatransfer/clipboard/XClipboardOwner.hpp>
@@ -83,6 +82,4 @@ private:
friend class CWinClipbImpl;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dtrans/source/win32/dtobj/XTDataObject.hxx b/dtrans/source/win32/dtobj/XTDataObject.hxx
index ca30bbea2434..77f8c53f2925 100644
--- a/dtrans/source/win32/dtobj/XTDataObject.hxx
+++ b/dtrans/source/win32/dtobj/XTDataObject.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_XTDATAOBJECT_HXX
-#define INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_XTDATAOBJECT_HXX
+#pragma once
#include <com/sun/star/datatransfer/XTransferable.hpp>
#include <com/sun/star/datatransfer/clipboard/XClipboardOwner.hpp>
@@ -132,6 +131,4 @@ private:
typedef CEnumFormatEtc *PCEnumFormatEtc;
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */