summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorVincent LE GARREC <libreoffice@le-garrec.fr>2021-03-06 08:28:23 +0100
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2021-03-23 10:54:09 +0100
commit1c0c2bb7920f5da7562a053019514d1e4cbdf1f6 (patch)
treed4dd124d4dbc0b12703b12d4eb945d11c063c297 /unotools
parent039e90ec011157c9e851221a53ec62d33acb71d1 (diff)
tdf#124176 Use pragma once in u*
ucb, uno*, uui Change-Id: Ic4b6d541eb0df8bf7bceddf178ebb5177ad2b87b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112046 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/itemholder1.hxx5
-rw-r--r--unotools/source/misc/ServiceDocumenter.hxx4
-rw-r--r--unotools/source/ucbhelper/XTempFile.hxx4
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.hxx5
4 files changed, 4 insertions, 14 deletions
diff --git a/unotools/source/config/itemholder1.hxx b/unotools/source/config/itemholder1.hxx
index c632eedc72e7..8762938e968d 100644
--- a/unotools/source/config/itemholder1.hxx
+++ b/unotools/source/config/itemholder1.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOTOOLS_SOURCE_CONFIG_ITEMHOLDER1_HXX
-#define INCLUDED_UNOTOOLS_SOURCE_CONFIG_ITEMHOLDER1_HXX
+#pragma once
#include <unotools/itemholderbase.hxx>
#include <cppuhelper/implbase.hxx>
@@ -57,6 +56,4 @@ class ItemHolder1 : private ItemHolderMutexBase
#undef css
-#endif // INCLUDED_UNOTOOLS_SOURCE_CONFIG_ITEMHOLDER1_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unotools/source/misc/ServiceDocumenter.hxx b/unotools/source/misc/ServiceDocumenter.hxx
index 3d5e4d75f7c4..9cef2bf01172 100644
--- a/unotools/source/misc/ServiceDocumenter.hxx
+++ b/unotools/source/misc/ServiceDocumenter.hxx
@@ -6,8 +6,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_UNOTOOLS_INC_SERVICEDOCUMENTER_HXX
-#define INCLUDED_UNOTOOLS_INC_SERVICEDOCUMENTER_HXX
+#pragma once
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/script/XServiceDocumenter.hpp>
@@ -54,5 +53,4 @@ class ServiceDocumenter : public ::cppu::WeakImplHelper<
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unotools/source/ucbhelper/XTempFile.hxx b/unotools/source/ucbhelper/XTempFile.hxx
index 50251312daa5..f390f37ba958 100644
--- a/unotools/source/ucbhelper/XTempFile.hxx
+++ b/unotools/source/ucbhelper/XTempFile.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_UNOTOOLS_SOURCE_UCBHELPER_XTEMPFILE_HXX
-#define INCLUDED_UNOTOOLS_SOURCE_UCBHELPER_XTEMPFILE_HXX
+#pragma once
#include <memory>
#include <com/sun/star/io/XInputStream.hpp>
@@ -118,6 +117,5 @@ public:
virtual ~OTempFileService () override;
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unotools/source/ucbhelper/ucblockbytes.hxx b/unotools/source/ucbhelper/ucblockbytes.hxx
index df1e237e9415..6345ead51ba7 100644
--- a/unotools/source/ucbhelper/ucblockbytes.hxx
+++ b/unotools/source/ucbhelper/ucblockbytes.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_UNOTOOLS_UCBLOCKBYTES_HXX
-#define INCLUDED_UNOTOOLS_UCBLOCKBYTES_HXX
+#pragma once
#include <com/sun/star/uno/Reference.hxx>
@@ -137,6 +136,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */