[Libreoffice-commits] core.git: ucb/source
Shobhit (via logerrit)
logerrit at kemper.freedesktop.org
Mon Feb 8 16:33:09 UTC 2021
ucb/source/core/cmdenv.hxx | 5 +----
ucb/source/core/identify.hxx | 5 +----
ucb/source/core/providermap.hxx | 5 +----
ucb/source/core/provprox.hxx | 5 +----
ucb/source/core/ucb.hxx | 5 +----
ucb/source/core/ucbcmds.hxx | 5 +----
ucb/source/core/ucbprops.hxx | 5 +----
ucb/source/core/ucbstore.hxx | 5 +----
8 files changed, 8 insertions(+), 32 deletions(-)
New commits:
commit 741c1b6bb1d10ab217c084278cd8ad5263a1a323
Author: Shobhit <000shobhitchaurasia at gmail.com>
AuthorDate: Sat Jan 30 22:17:13 2021 +0530
Commit: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
CommitDate: Mon Feb 8 17:32:29 2021 +0100
tdf#124176: Use pragma once instead of include guards
Applied clang format
Change-Id: Idb3f4dc8726115f8d53721bea28cbe3e53adef3d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110188
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
diff --git a/ucb/source/core/cmdenv.hxx b/ucb/source/core/cmdenv.hxx
index 7ed048ff304b..f70e71549429 100644
--- a/ucb/source/core/cmdenv.hxx
+++ b/ucb/source/core/cmdenv.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_CORE_CMDENV_HXX
-#define INCLUDED_UCB_SOURCE_CORE_CMDENV_HXX
+#pragma once
#include <cppuhelper/compbase.hxx>
#include <cppuhelper/basemutex.hxx>
@@ -66,6 +65,4 @@ public:
} // namespace ucb_cmdenv
-#endif // INCLUDED_UCB_SOURCE_CORE_CMDENV_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/core/identify.hxx b/ucb/source/core/identify.hxx
index cc22969ab3dd..357fef39a07b 100644
--- a/ucb/source/core/identify.hxx
+++ b/ucb/source/core/identify.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_CORE_IDENTIFY_HXX
-#define INCLUDED_UCB_SOURCE_CORE_IDENTIFY_HXX
+#pragma once
#include <com/sun/star/ucb/XContentIdentifier.hpp>
#include <cppuhelper/implbase.hxx>
@@ -38,6 +37,4 @@ private:
OUString m_aProviderScheme;
};
-#endif // INCLUDED_UCB_SOURCE_CORE_IDENTIFY_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/core/providermap.hxx b/ucb/source/core/providermap.hxx
index f8eabca8a180..1d4c65aa54bf 100644
--- a/ucb/source/core/providermap.hxx
+++ b/ucb/source/core/providermap.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_CORE_PROVIDERMAP_HXX
-#define INCLUDED_UCB_SOURCE_CORE_PROVIDERMAP_HXX
+#pragma once
#include <deque>
#include <com/sun/star/uno/Reference.h>
@@ -61,6 +60,4 @@ typedef std::deque< ProviderListEntry_Impl > ProviderList_Impl;
typedef ucb_impl::RegexpMap< ProviderList_Impl > ProviderMap_Impl;
-#endif // INCLUDED_UCB_SOURCE_CORE_PROVIDERMAP_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/core/provprox.hxx b/ucb/source/core/provprox.hxx
index ef08fefebac5..4a95ada1ac26 100644
--- a/ucb/source/core/provprox.hxx
+++ b/ucb/source/core/provprox.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_CORE_PROVPROX_HXX
-#define INCLUDED_UCB_SOURCE_CORE_PROVPROX_HXX
+#pragma once
#include <osl/mutex.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
@@ -128,6 +127,4 @@ public:
const OUString& Arguments ) override;
};
-#endif // INCLUDED_UCB_SOURCE_CORE_PROVPROX_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/core/ucb.hxx b/ucb/source/core/ucb.hxx
index cfc245ad863e..dfc40fbe9d45 100644
--- a/ucb/source/core/ucb.hxx
+++ b/ucb/source/core/ucb.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_CORE_UCB_HXX
-#define INCLUDED_UCB_SOURCE_CORE_UCB_HXX
+#pragma once
#include <com/sun/star/ucb/CheckinArgument.hpp>
@@ -159,6 +158,4 @@ private:
sal_Int32 m_nCommandId;
};
-#endif // INCLUDED_UCB_SOURCE_CORE_UCB_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/core/ucbcmds.hxx b/ucb/source/core/ucbcmds.hxx
index 782154537818..1196e1340028 100644
--- a/ucb/source/core/ucbcmds.hxx
+++ b/ucb/source/core/ucbcmds.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_CORE_UCBCMDS_HXX
-#define INCLUDED_UCB_SOURCE_CORE_UCBCMDS_HXX
+#pragma once
// Definitions for the commands supported by the UCB.
@@ -33,6 +32,4 @@
#define CHECKIN_NAME "checkin"
#define CHECKIN_HANDLE 1026
-#endif // INCLUDED_UCB_SOURCE_CORE_UCBCMDS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/core/ucbprops.hxx b/ucb/source/core/ucbprops.hxx
index 89e31a389e9f..328b4ef2c3dc 100644
--- a/ucb/source/core/ucbprops.hxx
+++ b/ucb/source/core/ucbprops.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_CORE_UCBPROPS_HXX
-#define INCLUDED_UCB_SOURCE_CORE_UCBPROPS_HXX
+#pragma once
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
@@ -56,6 +55,4 @@ public:
hasPropertyByName( const OUString& Name ) override;
};
-#endif // INCLUDED_UCB_SOURCE_CORE_UCBPROPS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/core/ucbstore.hxx b/ucb/source/core/ucbstore.hxx
index 310f8bc97337..423920b8712d 100644
--- a/ucb/source/core/ucbstore.hxx
+++ b/ucb/source/core/ucbstore.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_CORE_UCBSTORE_HXX
-#define INCLUDED_UCB_SOURCE_CORE_UCBSTORE_HXX
+#pragma once
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
@@ -229,6 +228,4 @@ public:
const OUString& getFullKey();
};
-#endif // INCLUDED_UCB_SOURCE_CORE_UCBSTORE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list