summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/cacher/cachedcontentresultset.hxx5
-rw-r--r--ucb/source/cacher/cachedcontentresultsetstub.hxx5
-rw-r--r--ucb/source/cacher/cacheddynamicresultset.hxx5
-rw-r--r--ucb/source/cacher/cacheddynamicresultsetstub.hxx5
-rw-r--r--ucb/source/cacher/contentresultsetwrapper.hxx5
-rw-r--r--ucb/source/cacher/dynamicresultsetwrapper.hxx5
-rw-r--r--ucb/source/inc/regexp.hxx5
-rw-r--r--ucb/source/inc/regexpmap.hxx5
-rw-r--r--ucb/source/sorter/sortdynres.hxx5
-rw-r--r--ucb/source/sorter/sortresult.hxx5
-rw-r--r--ucb/source/ucp/cmis/auth_provider.hxx5
-rw-r--r--ucb/source/ucp/cmis/certvalidation_handler.hxx5
-rw-r--r--ucb/source/ucp/cmis/children_provider.hxx5
-rw-r--r--ucb/source/ucp/cmis/cmis_content.hxx5
-rw-r--r--ucb/source/ucp/cmis/cmis_datasupplier.hxx5
-rw-r--r--ucb/source/ucp/cmis/cmis_provider.hxx5
-rw-r--r--ucb/source/ucp/cmis/cmis_repo_content.hxx5
-rw-r--r--ucb/source/ucp/cmis/cmis_resultset.hxx5
-rw-r--r--ucb/source/ucp/cmis/cmis_strings.hxx4
-rw-r--r--ucb/source/ucp/cmis/cmis_url.hxx5
-rw-r--r--ucb/source/ucp/cmis/std_inputstream.hxx5
-rw-r--r--ucb/source/ucp/cmis/std_outputstream.hxx5
-rw-r--r--ucb/source/ucp/ext/ucpext_content.hxx5
-rw-r--r--ucb/source/ucp/ext/ucpext_datasupplier.hxx5
-rw-r--r--ucb/source/ucp/ext/ucpext_provider.hxx5
-rw-r--r--ucb/source/ucp/ext/ucpext_resultset.hxx5
-rw-r--r--ucb/source/ucp/file/bc.hxx5
-rw-r--r--ucb/source/ucp/file/filcmd.hxx5
-rw-r--r--ucb/source/ucp/file/filerror.hxx5
-rw-r--r--ucb/source/ucp/file/filglob.hxx5
-rw-r--r--ucb/source/ucp/file/filid.hxx5
-rw-r--r--ucb/source/ucp/file/filinl.hxx5
-rw-r--r--ucb/source/ucp/file/filinpstr.hxx5
-rw-r--r--ucb/source/ucp/file/filinsreq.hxx5
-rw-r--r--ucb/source/ucp/file/filnot.hxx5
-rw-r--r--ucb/source/ucp/file/filprp.hxx5
-rw-r--r--ucb/source/ucp/file/filrec.hxx4
-rw-r--r--ucb/source/ucp/file/filrow.hxx5
-rw-r--r--ucb/source/ucp/file/filrset.hxx5
-rw-r--r--ucb/source/ucp/file/filstr.hxx5
-rw-r--r--ucb/source/ucp/file/filtask.hxx5
-rw-r--r--ucb/source/ucp/file/prov.hxx5
-rw-r--r--ucb/source/ucp/ftp/curl.hxx5
-rw-r--r--ucb/source/ucp/ftp/ftpcfunc.hxx5
-rw-r--r--ucb/source/ucp/ftp/ftpcontainer.hxx5
-rw-r--r--ucb/source/ucp/ftp/ftpcontent.hxx5
-rw-r--r--ucb/source/ucp/ftp/ftpcontentidentifier.hxx5
-rw-r--r--ucb/source/ucp/ftp/ftpcontentprovider.hxx5
-rw-r--r--ucb/source/ucp/ftp/ftpdirp.hxx5
-rw-r--r--ucb/source/ucp/ftp/ftpdynresultset.hxx5
-rw-r--r--ucb/source/ucp/ftp/ftpintreq.hxx5
-rw-r--r--ucb/source/ucp/ftp/ftploaderthread.hxx5
-rw-r--r--ucb/source/ucp/ftp/ftpresultsetI.hxx5
-rw-r--r--ucb/source/ucp/ftp/ftpresultsetbase.hxx5
-rw-r--r--ucb/source/ucp/ftp/ftpresultsetfactory.hxx5
-rw-r--r--ucb/source/ucp/ftp/ftpurl.hxx5
-rw-r--r--ucb/source/ucp/gio/gio_content.hxx5
-rw-r--r--ucb/source/ucp/gio/gio_datasupplier.hxx5
-rw-r--r--ucb/source/ucp/gio/gio_inputstream.hxx4
-rw-r--r--ucb/source/ucp/gio/gio_mount.hxx4
-rw-r--r--ucb/source/ucp/gio/gio_outputstream.hxx4
-rw-r--r--ucb/source/ucp/gio/gio_provider.hxx5
-rw-r--r--ucb/source/ucp/gio/gio_resultset.hxx5
-rw-r--r--ucb/source/ucp/gio/gio_seekable.hxx4
-rw-r--r--ucb/source/ucp/hierarchy/dynamicresultset.hxx5
-rw-r--r--ucb/source/ucp/hierarchy/hierarchycontent.hxx5
-rw-r--r--ucb/source/ucp/hierarchy/hierarchydata.hxx5
-rw-r--r--ucb/source/ucp/hierarchy/hierarchydatasource.hxx5
-rw-r--r--ucb/source/ucp/hierarchy/hierarchydatasupplier.hxx5
-rw-r--r--ucb/source/ucp/hierarchy/hierarchyprovider.hxx5
-rw-r--r--ucb/source/ucp/hierarchy/hierarchyuri.hxx5
-rw-r--r--ucb/source/ucp/inc/urihelper.hxx5
-rw-r--r--ucb/source/ucp/package/pkgcontent.hxx5
-rw-r--r--ucb/source/ucp/package/pkgdatasupplier.hxx5
-rw-r--r--ucb/source/ucp/package/pkgprovider.hxx5
-rw-r--r--ucb/source/ucp/package/pkgresultset.hxx5
-rw-r--r--ucb/source/ucp/package/pkguri.hxx5
-rw-r--r--ucb/source/ucp/tdoc/tdoc_content.hxx5
-rw-r--r--ucb/source/ucp/tdoc/tdoc_datasupplier.hxx5
-rw-r--r--ucb/source/ucp/tdoc/tdoc_docmgr.hxx5
-rw-r--r--ucb/source/ucp/tdoc/tdoc_documentcontentfactory.hxx5
-rw-r--r--ucb/source/ucp/tdoc/tdoc_passwordrequest.hxx5
-rw-r--r--ucb/source/ucp/tdoc/tdoc_provider.hxx5
-rw-r--r--ucb/source/ucp/tdoc/tdoc_resultset.hxx5
-rw-r--r--ucb/source/ucp/tdoc/tdoc_stgelems.hxx5
-rw-r--r--ucb/source/ucp/tdoc/tdoc_storage.hxx5
-rw-r--r--ucb/source/ucp/tdoc/tdoc_uri.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/DAVAuthListener.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/DAVAuthListenerImpl.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/DAVException.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/DAVProperties.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/DAVRequestEnvironment.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/DAVResource.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/DAVSession.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/DAVSessionFactory.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/DAVTypes.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/DateTimeHelper.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/LinkSequence.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/LockEntrySequence.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/LockSequence.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/NeonHeadRequest.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/NeonInputStream.hxx4
-rw-r--r--ucb/source/ucp/webdav-neon/NeonLockStore.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/NeonPropFindRequest.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/NeonSession.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/NeonTypes.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/NeonUri.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/PropertyMap.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/PropfindCache.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/UCBDeadPropertyValue.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/webdavcontent.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/webdavdatasupplier.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/webdavprovider.hxx5
-rw-r--r--ucb/source/ucp/webdav-neon/webdavresultset.hxx5
-rw-r--r--ucb/source/ucp/webdav/AprEnv.hxx5
-rw-r--r--ucb/source/ucp/webdav/ContentProperties.hxx5
-rw-r--r--ucb/source/ucp/webdav/DAVAuthListener.hxx5
-rw-r--r--ucb/source/ucp/webdav/DAVAuthListenerImpl.hxx5
-rw-r--r--ucb/source/ucp/webdav/DAVException.hxx5
-rw-r--r--ucb/source/ucp/webdav/DAVProperties.hxx5
-rw-r--r--ucb/source/ucp/webdav/DAVRequestEnvironment.hxx5
-rw-r--r--ucb/source/ucp/webdav/DAVResource.hxx5
-rw-r--r--ucb/source/ucp/webdav/DAVResourceAccess.hxx5
-rw-r--r--ucb/source/ucp/webdav/DAVSession.hxx5
-rw-r--r--ucb/source/ucp/webdav/DAVSessionFactory.hxx5
-rw-r--r--ucb/source/ucp/webdav/DAVTypes.hxx5
-rw-r--r--ucb/source/ucp/webdav/DateTimeHelper.hxx5
-rw-r--r--ucb/source/ucp/webdav/PropertyMap.hxx5
-rw-r--r--ucb/source/ucp/webdav/SerfCallbacks.hxx5
-rw-r--r--ucb/source/ucp/webdav/SerfCopyReqProcImpl.hxx5
-rw-r--r--ucb/source/ucp/webdav/SerfDeleteReqProcImpl.hxx5
-rw-r--r--ucb/source/ucp/webdav/SerfGetReqProcImpl.hxx5
-rw-r--r--ucb/source/ucp/webdav/SerfHeadReqProcImpl.hxx5
-rw-r--r--ucb/source/ucp/webdav/SerfInputStream.hxx5
-rw-r--r--ucb/source/ucp/webdav/SerfLockReqProcImpl.hxx5
-rw-r--r--ucb/source/ucp/webdav/SerfLockStore.hxx5
-rw-r--r--ucb/source/ucp/webdav/SerfMkColReqProcImpl.hxx5
-rw-r--r--ucb/source/ucp/webdav/SerfMoveReqProcImpl.hxx5
-rw-r--r--ucb/source/ucp/webdav/SerfPostReqProcImpl.hxx5
-rw-r--r--ucb/source/ucp/webdav/SerfPropFindReqProcImpl.hxx5
-rw-r--r--ucb/source/ucp/webdav/SerfPropPatchReqProcImpl.hxx5
-rw-r--r--ucb/source/ucp/webdav/SerfPutReqProcImpl.hxx5
-rw-r--r--ucb/source/ucp/webdav/SerfRequestProcessor.hxx5
-rw-r--r--ucb/source/ucp/webdav/SerfRequestProcessorImpl.hxx5
-rw-r--r--ucb/source/ucp/webdav/SerfSession.hxx5
-rw-r--r--ucb/source/ucp/webdav/SerfUnlockReqProcImpl.hxx5
-rw-r--r--ucb/source/ucp/webdav/SerfUri.hxx5
-rw-r--r--ucb/source/ucp/webdav/UCBDeadPropertyValue.hxx5
-rw-r--r--ucb/source/ucp/webdav/webdavcontent.hxx5
-rw-r--r--ucb/source/ucp/webdav/webdavdatasupplier.hxx5
-rw-r--r--ucb/source/ucp/webdav/webdavprovider.hxx5
-rw-r--r--ucb/source/ucp/webdav/webdavresponseparser.hxx5
-rw-r--r--ucb/source/ucp/webdav/webdavresultset.hxx5
154 files changed, 154 insertions, 609 deletions
diff --git a/ucb/source/cacher/cachedcontentresultset.hxx b/ucb/source/cacher/cachedcontentresultset.hxx
index 31ff8aac4faa..ebe18ec2d10a 100644
--- a/ucb/source/cacher/cachedcontentresultset.hxx
+++ b/ucb/source/cacher/cachedcontentresultset.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_CACHER_CACHEDCONTENTRESULTSET_HXX
-#define INCLUDED_UCB_SOURCE_CACHER_CACHEDCONTENTRESULTSET_HXX
+#pragma once
#include "contentresultsetwrapper.hxx"
#include <com/sun/star/uno/XComponentContext.hpp>
@@ -386,6 +385,4 @@ public:
const css::uno::Reference< css::ucb::XContentIdentifierMapping > & xMapping ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/cacher/cachedcontentresultsetstub.hxx b/ucb/source/cacher/cachedcontentresultsetstub.hxx
index 90faa6e0862f..16a89d284896 100644
--- a/ucb/source/cacher/cachedcontentresultsetstub.hxx
+++ b/ucb/source/cacher/cachedcontentresultsetstub.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_CACHER_CACHEDCONTENTRESULTSETSTUB_HXX
-#define INCLUDED_UCB_SOURCE_CACHER_CACHEDCONTENTRESULTSETSTUB_HXX
+#pragma once
#include "contentresultsetwrapper.hxx"
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
@@ -162,6 +161,4 @@ public:
const css::uno::Reference< css::sdbc::XResultSet > & xSource ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/cacher/cacheddynamicresultset.hxx b/ucb/source/cacher/cacheddynamicresultset.hxx
index 0aed42510542..a30aca238830 100644
--- a/ucb/source/cacher/cacheddynamicresultset.hxx
+++ b/ucb/source/cacher/cacheddynamicresultset.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_CACHER_CACHEDDYNAMICRESULTSET_HXX
-#define INCLUDED_UCB_SOURCE_CACHER_CACHEDDYNAMICRESULTSET_HXX
+#pragma once
#include "dynamicresultsetwrapper.hxx"
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
@@ -104,6 +103,4 @@ public:
) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/cacher/cacheddynamicresultsetstub.hxx b/ucb/source/cacher/cacheddynamicresultsetstub.hxx
index 50bb06c93d95..1d4f18da5417 100644
--- a/ucb/source/cacher/cacheddynamicresultsetstub.hxx
+++ b/ucb/source/cacher/cacheddynamicresultsetstub.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_CACHER_CACHEDDYNAMICRESULTSETSTUB_HXX
-#define INCLUDED_UCB_SOURCE_CACHER_CACHEDDYNAMICRESULTSETSTUB_HXX
+#pragma once
#include "dynamicresultsetwrapper.hxx"
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
@@ -101,6 +100,4 @@ public:
) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/cacher/contentresultsetwrapper.hxx b/ucb/source/cacher/contentresultsetwrapper.hxx
index 98452273c510..63e3602cbd75 100644
--- a/ucb/source/cacher/contentresultsetwrapper.hxx
+++ b/ucb/source/cacher/contentresultsetwrapper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_CACHER_CONTENTRESULTSETWRAPPER_HXX
-#define INCLUDED_UCB_SOURCE_CACHER_CONTENTRESULTSETWRAPPER_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <rtl/ref.hxx>
@@ -379,6 +378,4 @@ public:
void impl_OwnerDies();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/cacher/dynamicresultsetwrapper.hxx b/ucb/source/cacher/dynamicresultsetwrapper.hxx
index ba6b637b15e7..cde25dafc60d 100644
--- a/ucb/source/cacher/dynamicresultsetwrapper.hxx
+++ b/ucb/source/cacher/dynamicresultsetwrapper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_CACHER_DYNAMICRESULTSETWRAPPER_HXX
-#define INCLUDED_UCB_SOURCE_CACHER_DYNAMICRESULTSETWRAPPER_HXX
+#pragma once
#include <osl/mutex.hxx>
#include <osl/conditn.hxx>
@@ -182,6 +181,4 @@ public:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/inc/regexp.hxx b/ucb/source/inc/regexp.hxx
index 69b4306cbbec..a300f156bdc3 100644
--- a/ucb/source/inc/regexp.hxx
+++ b/ucb/source/inc/regexp.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_INC_REGEXP_HXX
-#define INCLUDED_UCB_SOURCE_INC_REGEXP_HXX
+#pragma once
#include <rtl/ustring.hxx>
@@ -71,6 +70,4 @@ inline bool Regexp::operator ==(Regexp const & rOther) const
}
-#endif // INCLUDED_UCB_SOURCE_INC_REGEXP_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/inc/regexpmap.hxx b/ucb/source/inc/regexpmap.hxx
index f28c2e58ce06..a0477857ee9f 100644
--- a/ucb/source/inc/regexpmap.hxx
+++ b/ucb/source/inc/regexpmap.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_INC_REGEXPMAP_HXX
-#define INCLUDED_UCB_SOURCE_INC_REGEXPMAP_HXX
+#pragma once
#include <sal/config.h>
@@ -432,6 +431,4 @@ inline bool operator !=(ucb_impl::RegexpMapConstIter< Val > const & rIter1,
return !rIter1.equals(rIter2);
}
-#endif // INCLUDED_UCB_SOURCE_INC_REGEXPMAP_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/sorter/sortdynres.hxx b/ucb/source/sorter/sortdynres.hxx
index 00e7720c0cc2..72a18077ff0a 100644
--- a/ucb/source/sorter/sortdynres.hxx
+++ b/ucb/source/sorter/sortdynres.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_SORTER_SORTDYNRES_HXX
-#define INCLUDED_UCB_SOURCE_SORTER_SORTDYNRES_HXX
+#pragma once
#include <com/sun/star/ucb/NumberedSortingInfo.hpp>
#include <com/sun/star/sdbc/XResultSet.hpp>
@@ -165,6 +164,4 @@ public:
const css::uno::Reference< css::ucb::XAnyCompareFactory > & CompareFactory ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/sorter/sortresult.hxx b/ucb/source/sorter/sortresult.hxx
index 1f3d01fa4603..12ea3b78bdf1 100644
--- a/ucb/source/sorter/sortresult.hxx
+++ b/ucb/source/sorter/sortresult.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_SORTER_SORTRESULT_HXX
-#define INCLUDED_UCB_SOURCE_SORTER_SORTRESULT_HXX
+#pragma once
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/lang/XComponent.hpp>
@@ -330,6 +329,4 @@ public:
css::beans::XVetoableChangeListener >& aListener ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/cmis/auth_provider.hxx b/ucb/source/ucp/cmis/auth_provider.hxx
index 24430401d278..d9864c45b230 100644
--- a/ucb/source/ucp/cmis/auth_provider.hxx
+++ b/ucb/source/ucp/cmis/auth_provider.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_UCB_SOURCE_UCP_CMIS_AUTH_PROVIDER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_CMIS_AUTH_PROVIDER_HXX
+#pragma once
#if defined __GNUC__ && !defined __clang__
#pragma GCC diagnostic push
@@ -53,6 +52,4 @@ namespace cmis
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/cmis/certvalidation_handler.hxx b/ucb/source/ucp/cmis/certvalidation_handler.hxx
index 7aa7f42be62e..110bf78ca5a2 100644
--- a/ucb/source/ucp/cmis/certvalidation_handler.hxx
+++ b/ucb/source/ucp/cmis/certvalidation_handler.hxx
@@ -9,8 +9,7 @@
* This file incorporates work covered by the following license notice:
*
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_CMIS_CERTVALIDATION_HANDLER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_CMIS_CERTVALIDATION_HANDLER_HXX
+#pragma once
#if defined __GNUC__ && !defined __clang__
#pragma GCC diagnostic push
@@ -43,6 +42,4 @@ namespace cmis
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/cmis/children_provider.hxx b/ucb/source/ucp/cmis/children_provider.hxx
index 210522a5f916..5a7348fb5fb3 100644
--- a/ucb/source/ucp/cmis/children_provider.hxx
+++ b/ucb/source/ucp/cmis/children_provider.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_UCB_SOURCE_UCP_CMIS_CHILDREN_PROVIDER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_CMIS_CHILDREN_PROVIDER_HXX
+#pragma once
#include <vector>
@@ -24,6 +23,4 @@ namespace cmis
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/cmis/cmis_content.hxx b/ucb/source/ucp/cmis/cmis_content.hxx
index a0a301305473..cadfd3ea3112 100644
--- a/ucb/source/ucp/cmis/cmis_content.hxx
+++ b/ucb/source/ucp/cmis/cmis_content.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_CMIS_CMIS_CONTENT_HXX
-#define INCLUDED_UCB_SOURCE_UCP_CMIS_CMIS_CONTENT_HXX
+#pragma once
#include <sal/config.h>
@@ -208,6 +207,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/cmis/cmis_datasupplier.hxx b/ucb/source/ucp/cmis/cmis_datasupplier.hxx
index f7cad8774dc4..f11a9139707e 100644
--- a/ucb/source/ucp/cmis/cmis_datasupplier.hxx
+++ b/ucb/source/ucp/cmis/cmis_datasupplier.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_CMIS_CMIS_DATASUPPLIER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_CMIS_CMIS_DATASUPPLIER_HXX
+#pragma once
#include <vector>
@@ -68,6 +67,4 @@ namespace cmis
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/cmis/cmis_provider.hxx b/ucb/source/ucp/cmis/cmis_provider.hxx
index 0cc3233fb4a7..f6b627840da2 100644
--- a/ucb/source/ucp/cmis/cmis_provider.hxx
+++ b/ucb/source/ucp/cmis/cmis_provider.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_CMIS_CMIS_PROVIDER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_CMIS_CMIS_PROVIDER_HXX
+#pragma once
#include <com/sun/star/beans/Property.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
@@ -54,6 +53,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/cmis/cmis_repo_content.hxx b/ucb/source/ucp/cmis/cmis_repo_content.hxx
index 67548a542570..00fc4e244960 100644
--- a/ucb/source/ucp/cmis/cmis_repo_content.hxx
+++ b/ucb/source/ucp/cmis/cmis_repo_content.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_CMIS_CMIS_REPO_CONTENT_HXX
-#define INCLUDED_UCB_SOURCE_UCP_CMIS_CMIS_REPO_CONTENT_HXX
+#pragma once
#include "cmis_url.hxx"
#include "children_provider.hxx"
@@ -114,6 +113,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/cmis/cmis_resultset.hxx b/ucb/source/ucp/cmis/cmis_resultset.hxx
index 1393ac926e8d..bb113b6b260d 100644
--- a/ucb/source/ucp/cmis/cmis_resultset.hxx
+++ b/ucb/source/ucp/cmis/cmis_resultset.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_CMIS_CMIS_RESULTSET_HXX
-#define INCLUDED_UCB_SOURCE_UCP_CMIS_CMIS_RESULTSET_HXX
+#pragma once
#include <ucbhelper/resultsethelper.hxx>
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
@@ -38,6 +37,4 @@ namespace cmis
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/cmis/cmis_strings.hxx b/ucb/source/ucp/cmis/cmis_strings.hxx
index b2af8f877d7d..76a9d469022d 100644
--- a/ucb/source/ucp/cmis/cmis_strings.hxx
+++ b/ucb/source/ucp/cmis/cmis_strings.hxx
@@ -10,8 +10,7 @@
*
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_CMIS_CMIS_STRINGS_HXX
-#define INCLUDED_UCB_SOURCE_UCP_CMIS_CMIS_STRINGS_HXX
+#pragma once
#define CMIS_TYPE_STRING "String"
#define CMIS_TYPE_INTEGER "Integer"
@@ -19,5 +18,4 @@
#define CMIS_TYPE_DATETIME "Datetime"
#define CMIS_TYPE_BOOL "Bool"
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/cmis/cmis_url.hxx b/ucb/source/ucp/cmis/cmis_url.hxx
index 4df9c283180c..4d7ac99f77d0 100644
--- a/ucb/source/ucp/cmis/cmis_url.hxx
+++ b/ucb/source/ucp/cmis/cmis_url.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_UCB_SOURCE_UCP_CMIS_CMIS_URL_HXX
-#define INCLUDED_UCB_SOURCE_UCP_CMIS_CMIS_URL_HXX
+#pragma once
#include <rtl/ustring.hxx>
@@ -40,6 +39,4 @@ namespace cmis
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/cmis/std_inputstream.hxx b/ucb/source/ucp/cmis/std_inputstream.hxx
index 8d23de87f16a..37bb4fb57339 100644
--- a/ucb/source/ucp/cmis/std_inputstream.hxx
+++ b/ucb/source/ucp/cmis/std_inputstream.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_CMIS_STD_INPUTSTREAM_HXX
-#define INCLUDED_UCB_SOURCE_UCP_CMIS_STD_INPUTSTREAM_HXX
+#pragma once
#include <boost/shared_ptr.hpp>
#include <istream>
@@ -81,6 +80,4 @@ namespace cmis
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/cmis/std_outputstream.hxx b/ucb/source/ucp/cmis/std_outputstream.hxx
index 3108a8cb9c5b..87afd47c8ee8 100644
--- a/ucb/source/ucp/cmis/std_outputstream.hxx
+++ b/ucb/source/ucp/cmis/std_outputstream.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_CMIS_STD_OUTPUTSTREAM_HXX
-#define INCLUDED_UCB_SOURCE_UCP_CMIS_STD_OUTPUTSTREAM_HXX
+#pragma once
#include <boost/shared_ptr.hpp>
#include <ostream>
@@ -51,6 +50,4 @@ namespace cmis
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/ext/ucpext_content.hxx b/ucb/source/ucp/ext/ucpext_content.hxx
index a8f9956ead17..3e7136f07476 100644
--- a/ucb/source/ucp/ext/ucpext_content.hxx
+++ b/ucb/source/ucp/ext/ucpext_content.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_EXT_UCPEXT_CONTENT_HXX
-#define INCLUDED_UCB_SOURCE_UCP_EXT_UCPEXT_CONTENT_HXX
+#pragma once
#include <com/sun/star/sdbc/XRow.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
@@ -132,6 +131,4 @@ namespace ucb::ucp::ext
} // namespace ucb::ucp::ext
-#endif // INCLUDED_UCB_SOURCE_UCP_EXT_UCPEXT_CONTENT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/ext/ucpext_datasupplier.hxx b/ucb/source/ucp/ext/ucpext_datasupplier.hxx
index 28c6691d5f3f..d2ed90d3f9f5 100644
--- a/ucb/source/ucp/ext/ucpext_datasupplier.hxx
+++ b/ucb/source/ucp/ext/ucpext_datasupplier.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_EXT_UCPEXT_DATASUPPLIER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_EXT_UCPEXT_DATASUPPLIER_HXX
+#pragma once
#include <rtl/ref.hxx>
#include <ucbhelper/resultset.hxx>
@@ -74,6 +73,4 @@ namespace ucb::ucp::ext
} // namespace ucp::ext
-#endif // INCLUDED_UCB_SOURCE_UCP_EXT_UCPEXT_DATASUPPLIER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/ext/ucpext_provider.hxx b/ucb/source/ucp/ext/ucpext_provider.hxx
index 8424b970a97c..e1dae344720f 100644
--- a/ucb/source/ucp/ext/ucpext_provider.hxx
+++ b/ucb/source/ucp/ext/ucpext_provider.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_EXT_UCPEXT_PROVIDER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_EXT_UCPEXT_PROVIDER_HXX
+#pragma once
#include <ucbhelper/providerhelper.hxx>
@@ -52,6 +51,4 @@ namespace ucb::ucp::ext
} // namespace ucb::ucp::ext
-#endif // INCLUDED_UCB_SOURCE_UCP_EXT_UCPEXT_PROVIDER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/ext/ucpext_resultset.hxx b/ucb/source/ucp/ext/ucpext_resultset.hxx
index 73817183642f..ef8c19886134 100644
--- a/ucb/source/ucp/ext/ucpext_resultset.hxx
+++ b/ucb/source/ucp/ext/ucpext_resultset.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_EXT_UCPEXT_RESULTSET_HXX
-#define INCLUDED_UCB_SOURCE_UCP_EXT_UCPEXT_RESULTSET_HXX
+#pragma once
#include <rtl/ref.hxx>
#include <ucbhelper/resultsethelper.hxx>
@@ -57,6 +56,4 @@ namespace ucb::ucp::ext
} // namespace ucp::ext
-#endif // INCLUDED_UCB_SOURCE_UCP_EXT_UCPEXT_RESULTSET_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/file/bc.hxx b/ucb/source/ucp/file/bc.hxx
index b04a1c90309c..2810b0a4d2ad 100644
--- a/ucb/source/ucp/file/bc.hxx
+++ b/ucb/source/ucp/file/bc.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_FILE_BC_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FILE_BC_HXX
+#pragma once
#include <osl/mutex.hxx>
#include <rtl/ustring.hxx>
@@ -257,6 +256,4 @@ namespace fileaccess {
} // end namespace fileaccess
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/file/filcmd.hxx b/ucb/source/ucp/file/filcmd.hxx
index 2c3d2448e4d1..b3f74641ba3c 100644
--- a/ucb/source/ucp/file/filcmd.hxx
+++ b/ucb/source/ucp/file/filcmd.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_UCB_SOURCE_UCP_FILE_FILCMD_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FILE_FILCMD_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <cppuhelper/weak.hxx>
@@ -78,6 +77,4 @@ namespace fileaccess {
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/file/filerror.hxx b/ucb/source/ucp/file/filerror.hxx
index a31de1b790bf..c75d11ea1956 100644
--- a/ucb/source/ucp/file/filerror.hxx
+++ b/ucb/source/ucp/file/filerror.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_FILE_FILERROR_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FILE_FILERROR_HXX
+#pragma once
namespace fileaccess {
@@ -103,6 +102,4 @@ namespace fileaccess {
}
-#endif // INCLUDED_UCB_SOURCE_UCP_FILE_FILERROR_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/file/filglob.hxx b/ucb/source/ucp/file/filglob.hxx
index 9c7db03debf7..8d3412cdeb7b 100644
--- a/ucb/source/ucp/file/filglob.hxx
+++ b/ucb/source/ucp/file/filglob.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_UCB_SOURCE_UCP_FILE_FILGLOB_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FILE_FILGLOB_HXX
+#pragma once
#include <sal/config.h>
@@ -93,6 +92,4 @@ namespace fileaccess {
} // end namespace fileaccess
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/file/filid.hxx b/ucb/source/ucp/file/filid.hxx
index 5eaaf62f86cb..dcb5449b0e50 100644
--- a/ucb/source/ucp/file/filid.hxx
+++ b/ucb/source/ucp/file/filid.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_UCB_SOURCE_UCP_FILE_FILID_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FILE_FILID_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <cppuhelper/implbase.hxx>
@@ -53,6 +52,4 @@ namespace fileaccess {
} // end namespace fileaccess
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/file/filinl.hxx b/ucb/source/ucp/file/filinl.hxx
index ffa5ed19ac70..c2d584f194cd 100644
--- a/ucb/source/ucp/file/filinl.hxx
+++ b/ucb/source/ucp/file/filinl.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_UCB_SOURCE_UCP_FILE_FILINL_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FILE_FILINL_HXX
+#pragma once
inline const bool& TaskManager::MyProperty::IsNative() const
{
@@ -52,6 +51,4 @@ inline void TaskManager::MyProperty::setState( const css::beans::PropertyState&
const_cast<MyProperty*>(this)->State = theState;
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/file/filinpstr.hxx b/ucb/source/ucp/file/filinpstr.hxx
index 06e8ae6d66dd..98ec32b755d0 100644
--- a/ucb/source/ucp/file/filinpstr.hxx
+++ b/ucb/source/ucp/file/filinpstr.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_UCB_SOURCE_UCP_FILE_FILINPSTR_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FILE_FILINPSTR_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <cppuhelper/implbase.hxx>
@@ -85,6 +84,4 @@ namespace fileaccess {
};
} // end namespace XInputStream_impl
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/file/filinsreq.hxx b/ucb/source/ucp/file/filinsreq.hxx
index 661852681ecd..7f2e59a4c98a 100644
--- a/ucb/source/ucp/file/filinsreq.hxx
+++ b/ucb/source/ucp/file/filinsreq.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_FILE_FILINSREQ_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FILE_FILINSREQ_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <com/sun/star/uno/XInterface.hpp>
@@ -140,6 +139,4 @@ class XInteractionSupplyNameImpl : public cppu::WeakImplHelper<
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/file/filnot.hxx b/ucb/source/ucp/file/filnot.hxx
index 02b27e1d7cb9..95bcc8328a48 100644
--- a/ucb/source/ucp/file/filnot.hxx
+++ b/ucb/source/ucp/file/filnot.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_UCB_SOURCE_UCP_FILE_FILNOT_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FILE_FILNOT_HXX
+#pragma once
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/XInterface.hpp>
@@ -115,6 +114,4 @@ namespace fileaccess {
} // end namespace fileaccess
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/file/filprp.hxx b/ucb/source/ucp/file/filprp.hxx
index 85a0e234d88c..4fef247d29d2 100644
--- a/ucb/source/ucp/file/filprp.hxx
+++ b/ucb/source/ucp/file/filprp.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_UCB_SOURCE_UCP_FILE_FILPRP_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FILE_FILPRP_HXX
+#pragma once
#include <com/sun/star/beans/XPropertySetInfo.hpp>
#include <cppuhelper/implbase.hxx>
@@ -51,6 +50,4 @@ class XPropertySetInfo_impl : public cppu::WeakImplHelper<
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/file/filrec.hxx b/ucb/source/ucp/file/filrec.hxx
index ae2cf89f7a53..552aedc7db38 100644
--- a/ucb/source/ucp/file/filrec.hxx
+++ b/ucb/source/ucp/file/filrec.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_FILE_FILREC_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FILE_FILREC_HXX
+#pragma once
#include <osl/file.hxx>
@@ -73,6 +72,5 @@ public:
};
} // namespace fileaccess
-#endif // INCLUDED_UCB_SOURCE_UCP_FILE_FILREC_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/file/filrow.hxx b/ucb/source/ucp/file/filrow.hxx
index 47ba891cab58..1210bdf142e5 100644
--- a/ucb/source/ucp/file/filrow.hxx
+++ b/ucb/source/ucp/file/filrow.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_UCB_SOURCE_UCP_FILE_FILROW_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FILE_FILROW_HXX
+#pragma once
#include <com/sun/star/sdbc/XRow.hpp>
#include <com/sun/star/script/XTypeConverter.hpp>
@@ -111,6 +110,4 @@ namespace fileaccess {
} // end namespace fileaccess
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/file/filrset.hxx b/ucb/source/ucp/file/filrset.hxx
index 1979abeab54c..4961ce7250bf 100644
--- a/ucb/source/ucp/file/filrset.hxx
+++ b/ucb/source/ucp/file/filrset.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_UCB_SOURCE_UCP_FILE_FILRSET_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FILE_FILRSET_HXX
+#pragma once
#include <vector>
#include <osl/file.hxx>
@@ -432,6 +431,4 @@ class XResultSet_impl :
} // end namespace fileaccess
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/file/filstr.hxx b/ucb/source/ucp/file/filstr.hxx
index 38d786dffcef..13f963a9b751 100644
--- a/ucb/source/ucp/file/filstr.hxx
+++ b/ucb/source/ucp/file/filstr.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_UCB_SOURCE_UCP_FILE_FILSTR_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FILE_FILSTR_HXX
+#pragma once
#include <osl/mutex.hxx>
#include <rtl/ustring.hxx>
@@ -144,6 +143,4 @@ class XStream_impl : public cppu::WeakImplHelper<
} // end namespace XStream_impl
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/file/filtask.hxx b/ucb/source/ucp/file/filtask.hxx
index f964470b9d19..3440ec0d5947 100644
--- a/ucb/source/ucp/file/filtask.hxx
+++ b/ucb/source/ucp/file/filtask.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_UCB_SOURCE_UCP_FILE_FILTASK_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FILE_FILTASK_HXX
+#pragma once
#include <osl/file.hxx>
#include <rtl/ustring.hxx>
@@ -648,6 +647,4 @@ namespace fileaccess
} // end namespace TaskHandling
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/file/prov.hxx b/ucb/source/ucp/file/prov.hxx
index 640bf1e9c1d7..84aeb43505ee 100644
--- a/ucb/source/ucp/file/prov.hxx
+++ b/ucb/source/ucp/file/prov.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_FILE_PROV_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FILE_PROV_HXX
+#pragma once
#include <osl/mutex.hxx>
#include <com/sun/star/uno/XInterface.hpp>
@@ -158,6 +157,4 @@ namespace fileaccess {
} // end namespace fileaccess
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/ftp/curl.hxx b/ucb/source/ucp/ftp/curl.hxx
index f89548d9d1af..3dac8a057ffa 100644
--- a/ucb/source/ucp/ftp/curl.hxx
+++ b/ucb/source/ucp/ftp/curl.hxx
@@ -17,11 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_FTP_CURL_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FTP_CURL_HXX
+#pragma once
#include <curl/curl.h>
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/ftp/ftpcfunc.hxx b/ucb/source/ucp/ftp/ftpcfunc.hxx
index 24ba1438ca92..f5a29a3fbf46 100644
--- a/ucb/source/ucp/ftp/ftpcfunc.hxx
+++ b/ucb/source/ucp/ftp/ftpcfunc.hxx
@@ -22,8 +22,7 @@
**************************************************************************
*************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_FTP_FTPCFUNC_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FTP_FTPCFUNC_HXX
+#pragma once
#include <stddef.h>
@@ -37,6 +36,4 @@ extern "C" {
int file_write(void* buffer, size_t size, size_t nmemb, void* stream);
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/ftp/ftpcontainer.hxx b/ucb/source/ucp/ftp/ftpcontainer.hxx
index b39c5b96bb27..22da7d90a221 100644
--- a/ucb/source/ucp/ftp/ftpcontainer.hxx
+++ b/ucb/source/ucp/ftp/ftpcontainer.hxx
@@ -22,8 +22,7 @@
*************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_FTP_FTPCONTAINER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FTP_FTPCONTAINER_HXX
+#pragma once
#include <sal/types.h>
@@ -54,6 +53,4 @@ public:
extern "C" int memory_write(
void *buffer,size_t size,size_t nmemb,void *stream);
-#endif // INCLUDED_UCB_SOURCE_UCP_FTP_FTPCONTAINER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/ftp/ftpcontent.hxx b/ucb/source/ucp/ftp/ftpcontent.hxx
index 90642fd7f88b..b733bc45530c 100644
--- a/ucb/source/ucp/ftp/ftpcontent.hxx
+++ b/ucb/source/ucp/ftp/ftpcontent.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_FTP_FTPCONTENT_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FTP_FTPCONTENT_HXX
+#pragma once
#include <ucbhelper/contenthelper.hxx>
#include <com/sun/star/ucb/InsertCommandArgument.hpp>
@@ -144,6 +143,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/ftp/ftpcontentidentifier.hxx b/ucb/source/ucp/ftp/ftpcontentidentifier.hxx
index fd7c2a4a4c82..c91ad704f8cf 100644
--- a/ucb/source/ucp/ftp/ftpcontentidentifier.hxx
+++ b/ucb/source/ucp/ftp/ftpcontentidentifier.hxx
@@ -22,8 +22,7 @@
**************************************************************************
*************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_FTP_FTPCONTENTIDENTIFIER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FTP_FTPCONTENTIDENTIFIER_HXX
+#pragma once
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/ucb/XContentIdentifier.hpp>
@@ -57,6 +56,4 @@ namespace ftp {
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/ftp/ftpcontentprovider.hxx b/ucb/source/ucp/ftp/ftpcontentprovider.hxx
index 00a4fa1acc89..9de57e87ec38 100644
--- a/ucb/source/ucp/ftp/ftpcontentprovider.hxx
+++ b/ucb/source/ucp/ftp/ftpcontentprovider.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_FTP_FTPCONTENTPROVIDER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FTP_FTPCONTENTPROVIDER_HXX
+#pragma once
#include <vector>
#include <ucbhelper/proxydecider.hxx>
@@ -105,6 +104,4 @@ namespace ftp
} // end namespace ftp
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/ftp/ftpdirp.hxx b/ucb/source/ucp/ftp/ftpdirp.hxx
index fa81e1e33e36..ae9f36a47303 100644
--- a/ucb/source/ucp/ftp/ftpdirp.hxx
+++ b/ucb/source/ucp/ftp/ftpdirp.hxx
@@ -22,8 +22,7 @@
**************************************************************************
*************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_FTP_FTPDIRP_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FTP_FTPDIRP_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <com/sun/star/util/DateTime.hpp>
@@ -156,6 +155,4 @@ namespace ftp {
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/ftp/ftpdynresultset.hxx b/ucb/source/ucp/ftp/ftpdynresultset.hxx
index d9919961c07e..76a070a6da04 100644
--- a/ucb/source/ucp/ftp/ftpdynresultset.hxx
+++ b/ucb/source/ucp/ftp/ftpdynresultset.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_FTP_FTPDYNRESULTSET_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FTP_FTPDYNRESULTSET_HXX
+#pragma once
#include <memory>
#include <ucbhelper/resultsethelper.hxx>
@@ -46,6 +45,4 @@ namespace ftp {
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/ftp/ftpintreq.hxx b/ucb/source/ucp/ftp/ftpintreq.hxx
index b7e0ed0cf265..79bf74ed75ca 100644
--- a/ucb/source/ucp/ftp/ftpintreq.hxx
+++ b/ucb/source/ucp/ftp/ftpintreq.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_FTP_FTPINTREQ_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FTP_FTPINTREQ_HXX
+#pragma once
#include <com/sun/star/task/XInteractionDisapprove.hpp>
#include <com/sun/star/task/XInteractionApprove.hpp>
@@ -82,6 +81,4 @@ namespace ftp {
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/ftp/ftploaderthread.hxx b/ucb/source/ucp/ftp/ftploaderthread.hxx
index 0919c9b23b06..79ba60d1d972 100644
--- a/ucb/source/ucp/ftp/ftploaderthread.hxx
+++ b/ucb/source/ucp/ftp/ftploaderthread.hxx
@@ -23,8 +23,7 @@
*************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_FTP_FTPLOADERTHREAD_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FTP_FTPLOADERTHREAD_HXX
+#pragma once
#include <osl/thread.h>
#include "curl.hxx"
@@ -57,6 +56,4 @@ namespace ftp {
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/ftp/ftpresultsetI.hxx b/ucb/source/ucp/ftp/ftpresultsetI.hxx
index 9c5b54404b02..259469dd1788 100644
--- a/ucb/source/ucp/ftp/ftpresultsetI.hxx
+++ b/ucb/source/ucp/ftp/ftpresultsetI.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_UCB_SOURCE_UCP_FTP_FTPRESULTSETI_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FTP_FTPRESULTSETI_HXX
+#pragma once
#include <com/sun/star/ucb/XContentProvider.hpp>
#include <com/sun/star/beans/Property.hpp>
@@ -44,6 +43,4 @@ namespace ftp {
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/ftp/ftpresultsetbase.hxx b/ucb/source/ucp/ftp/ftpresultsetbase.hxx
index dddf514aa374..66e1f11186ba 100644
--- a/ucb/source/ucp/ftp/ftpresultsetbase.hxx
+++ b/ucb/source/ucp/ftp/ftpresultsetbase.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_UCB_SOURCE_UCP_FTP_FTPRESULTSETBASE_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FTP_FTPRESULTSETBASE_HXX
+#pragma once
#include <vector>
#include <cppuhelper/weak.hxx>
@@ -408,6 +407,4 @@ namespace ftp {
} // end namespace fileaccess
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/ftp/ftpresultsetfactory.hxx b/ucb/source/ucp/ftp/ftpresultsetfactory.hxx
index e230a04d316b..85f9f164732c 100644
--- a/ucb/source/ucp/ftp/ftpresultsetfactory.hxx
+++ b/ucb/source/ucp/ftp/ftpresultsetfactory.hxx
@@ -22,8 +22,7 @@
**************************************************************************
*************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_FTP_FTPRESULTSETFACTORY_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FTP_FTPRESULTSETFACTORY_HXX
+#pragma once
#include "ftpresultsetbase.hxx"
#include "ftpdirp.hxx"
@@ -55,6 +54,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/ftp/ftpurl.hxx b/ucb/source/ucp/ftp/ftpurl.hxx
index d35f86948c25..b64eb6ecf454 100644
--- a/ucb/source/ucp/ftp/ftpurl.hxx
+++ b/ucb/source/ucp/ftp/ftpurl.hxx
@@ -23,8 +23,7 @@
*************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_FTP_FTPURL_HXX
-#define INCLUDED_UCB_SOURCE_UCP_FTP_FTPURL_HXX
+#pragma once
#include "curl.hxx"
@@ -159,6 +158,4 @@ namespace ftp {
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/gio/gio_content.hxx b/ucb/source/ucp/gio/gio_content.hxx
index d912ddac242d..18eb3cd56858 100644
--- a/ucb/source/ucp/gio/gio_content.hxx
+++ b/ucb/source/ucp/gio/gio_content.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_GIO_GIO_CONTENT_HXX
-#define INCLUDED_UCB_SOURCE_UCP_GIO_GIO_CONTENT_HXX
+#pragma once
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
@@ -185,6 +184,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/gio/gio_datasupplier.hxx b/ucb/source/ucp/gio/gio_datasupplier.hxx
index a740af1a5cc5..4a0e0b36e909 100644
--- a/ucb/source/ucp/gio/gio_datasupplier.hxx
+++ b/ucb/source/ucp/gio/gio_datasupplier.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_GIO_GIO_DATASUPPLIER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_GIO_GIO_DATASUPPLIER_HXX
+#pragma once
#include <ucbhelper/resultset.hxx>
#include "gio_content.hxx"
@@ -86,6 +85,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/gio/gio_inputstream.hxx b/ucb/source/ucp/gio/gio_inputstream.hxx
index 687041add641..9608bc5b3598 100644
--- a/ucb/source/ucp/gio/gio_inputstream.hxx
+++ b/ucb/source/ucp/gio/gio_inputstream.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_GIO_GIO_INPUTSTREAM_HXX
-#define INCLUDED_UCB_SOURCE_UCP_GIO_GIO_INPUTSTREAM_HXX
+#pragma once
#include <sal/types.h>
#include <rtl/ustring.hxx>
@@ -55,6 +54,5 @@ public:
};
} // namespace gio
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/gio/gio_mount.hxx b/ucb/source/ucp/gio/gio_mount.hxx
index 421f7b7d3fd5..2ddcaebf5795 100644
--- a/ucb/source/ucp/gio/gio_mount.hxx
+++ b/ucb/source/ucp/gio/gio_mount.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_GIO_GIO_MOUNT_HXX
-#define INCLUDED_UCB_SOURCE_UCP_GIO_GIO_MOUNT_HXX
+#pragma once
#include <sal/config.h>
@@ -85,6 +84,5 @@ GType ooo_mount_operation_get_type();
GMountOperation *ooo_mount_operation_new(ucb::ucp::gio::glib::MainContextRef && context, const css::uno::Reference< css::ucb::XCommandEnvironment >& rEnv);
G_END_DECLS
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/gio/gio_outputstream.hxx b/ucb/source/ucp/gio/gio_outputstream.hxx
index 6bf03ce96cb4..c76a1af3433f 100644
--- a/ucb/source/ucp/gio/gio_outputstream.hxx
+++ b/ucb/source/ucp/gio/gio_outputstream.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_GIO_GIO_OUTPUTSTREAM_HXX
-#define INCLUDED_UCB_SOURCE_UCP_GIO_GIO_OUTPUTSTREAM_HXX
+#pragma once
#include <sal/types.h>
#include <rtl/ustring.hxx>
@@ -59,6 +58,5 @@ public:
};
} // namespace gio
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/gio/gio_provider.hxx b/ucb/source/ucp/gio/gio_provider.hxx
index 3a8b5c017c69..526c73b34729 100644
--- a/ucb/source/ucp/gio/gio_provider.hxx
+++ b/ucb/source/ucp/gio/gio_provider.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_GIO_GIO_PROVIDER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_GIO_GIO_PROVIDER_HXX
+#pragma once
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
@@ -52,6 +51,4 @@ public:
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/gio/gio_resultset.hxx b/ucb/source/ucp/gio/gio_resultset.hxx
index 99dc6c6c6666..f5ea95e14a9c 100644
--- a/ucb/source/ucp/gio/gio_resultset.hxx
+++ b/ucb/source/ucp/gio/gio_resultset.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_GIO_GIO_RESULTSET_HXX
-#define INCLUDED_UCB_SOURCE_UCP_GIO_GIO_RESULTSET_HXX
+#pragma once
#include <ucbhelper/resultsethelper.hxx>
#include "gio_content.hxx"
@@ -44,6 +43,4 @@ namespace gio
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/gio/gio_seekable.hxx b/ucb/source/ucp/gio/gio_seekable.hxx
index ff7ca2995116..a17b81f1c6c5 100644
--- a/ucb/source/ucp/gio/gio_seekable.hxx
+++ b/ucb/source/ucp/gio/gio_seekable.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_GIO_GIO_SEEKABLE_HXX
-#define INCLUDED_UCB_SOURCE_UCP_GIO_GIO_SEEKABLE_HXX
+#pragma once
#include <sal/types.h>
#include <rtl/ustring.hxx>
@@ -57,6 +56,5 @@ public:
};
} // namespace gio
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/hierarchy/dynamicresultset.hxx b/ucb/source/ucp/hierarchy/dynamicresultset.hxx
index 9dd4780f6096..6452c26eae47 100644
--- a/ucb/source/ucp/hierarchy/dynamicresultset.hxx
+++ b/ucb/source/ucp/hierarchy/dynamicresultset.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_HIERARCHY_DYNAMICRESULTSET_HXX
-#define INCLUDED_UCB_SOURCE_UCP_HIERARCHY_DYNAMICRESULTSET_HXX
+#pragma once
#include <rtl/ref.hxx>
#include <ucbhelper/resultsethelper.hxx>
@@ -43,6 +42,4 @@ public:
}
-#endif // INCLUDED_UCB_SOURCE_UCP_HIERARCHY_DYNAMICRESULTSET_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/hierarchy/hierarchycontent.hxx b/ucb/source/ucp/hierarchy/hierarchycontent.hxx
index c830c5772b77..566ead8486f3 100644
--- a/ucb/source/ucp/hierarchy/hierarchycontent.hxx
+++ b/ucb/source/ucp/hierarchy/hierarchycontent.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_HIERARCHY_HIERARCHYCONTENT_HXX
-#define INCLUDED_UCB_SOURCE_UCP_HIERARCHY_HIERARCHYCONTENT_HXX
+#pragma once
#include <vector>
#include <rtl/ref.hxx>
@@ -253,6 +252,4 @@ public:
} // namespace hierarchy_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_HIERARCHY_HIERARCHYCONTENT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/hierarchy/hierarchydata.hxx b/ucb/source/ucp/hierarchy/hierarchydata.hxx
index 8810964b39c0..cd521b2ed892 100644
--- a/ucb/source/ucp/hierarchy/hierarchydata.hxx
+++ b/ucb/source/ucp/hierarchy/hierarchydata.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_HIERARCHY_HIERARCHYDATA_HXX
-#define INCLUDED_UCB_SOURCE_UCP_HIERARCHY_HIERARCHYDATA_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <osl/mutex.hxx>
@@ -132,6 +131,4 @@ public:
} // namespace hierarchy_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_HIERARCHY_HIERARCHYDATA_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/hierarchy/hierarchydatasource.hxx b/ucb/source/ucp/hierarchy/hierarchydatasource.hxx
index d924fbc9b1d4..9806f98f8036 100644
--- a/ucb/source/ucp/hierarchy/hierarchydatasource.hxx
+++ b/ucb/source/ucp/hierarchy/hierarchydatasource.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_HIERARCHY_HIERARCHYDATASOURCE_HXX
-#define INCLUDED_UCB_SOURCE_UCP_HIERARCHY_HIERARCHYDATASOURCE_HXX
+#pragma once
#include <osl/mutex.hxx>
#include <com/sun/star/lang/XComponent.hpp>
@@ -81,6 +80,4 @@ private:
} // namespace hierarchy_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_HIERARCHY_HIERARCHYDATASOURCE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/hierarchy/hierarchydatasupplier.hxx b/ucb/source/ucp/hierarchy/hierarchydatasupplier.hxx
index fe3aa7a61682..6c04e75a0b93 100644
--- a/ucb/source/ucp/hierarchy/hierarchydatasupplier.hxx
+++ b/ucb/source/ucp/hierarchy/hierarchydatasupplier.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_HIERARCHY_HIERARCHYDATASUPPLIER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_HIERARCHY_HIERARCHYDATASUPPLIER_HXX
+#pragma once
#include <rtl/ref.hxx>
#include <ucbhelper/resultset.hxx>
@@ -68,6 +67,4 @@ public:
} // namespace hierarchy_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_HIERARCHY_HIERARCHYDATASUPPLIER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/hierarchy/hierarchyprovider.hxx b/ucb/source/ucp/hierarchy/hierarchyprovider.hxx
index 4c82a262dfe4..2625b5753048 100644
--- a/ucb/source/ucp/hierarchy/hierarchyprovider.hxx
+++ b/ucb/source/ucp/hierarchy/hierarchyprovider.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_HIERARCHY_HIERARCHYPROVIDER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_HIERARCHY_HIERARCHYPROVIDER_HXX
+#pragma once
#include <ucbhelper/providerhelper.hxx>
#include <com/sun/star/lang/XInitialization.hpp>
@@ -111,6 +110,4 @@ public:
} // namespace hierarchy_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_HIERARCHY_HIERARCHYPROVIDER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/hierarchy/hierarchyuri.hxx b/ucb/source/ucp/hierarchy/hierarchyuri.hxx
index bf282d508f4f..c3089ef708d5 100644
--- a/ucb/source/ucp/hierarchy/hierarchyuri.hxx
+++ b/ucb/source/ucp/hierarchy/hierarchyuri.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_HIERARCHY_HIERARCHYURI_HXX
-#define INCLUDED_UCB_SOURCE_UCP_HIERARCHY_HIERARCHYURI_HXX
+#pragma once
#include <rtl/ustring.hxx>
@@ -65,6 +64,4 @@ inline bool HierarchyUri::isRootFolder() const
}
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/inc/urihelper.hxx b/ucb/source/ucp/inc/urihelper.hxx
index 62a3a39635e6..5e89aba5ca5b 100644
--- a/ucb/source/ucp/inc/urihelper.hxx
+++ b/ucb/source/ucp/inc/urihelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_INC_URIHELPER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_INC_URIHELPER_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <rtl/ustrbuf.hxx>
@@ -111,6 +110,4 @@ namespace ucb_impl::urihelper {
} // namespace
-#endif // INCLUDED_UCB_SOURCE_UCP_INC_URIHELPER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/package/pkgcontent.hxx b/ucb/source/ucp/package/pkgcontent.hxx
index fe5f67f535b8..ffa603765e7a 100644
--- a/ucb/source/ucp/package/pkgcontent.hxx
+++ b/ucb/source/ucp/package/pkgcontent.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_PACKAGE_PKGCONTENT_HXX
-#define INCLUDED_UCB_SOURCE_UCP_PACKAGE_PKGCONTENT_HXX
+#pragma once
#include <sal/config.h>
@@ -274,6 +273,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/package/pkgdatasupplier.hxx b/ucb/source/ucp/package/pkgdatasupplier.hxx
index 678fd2940218..69a1416d787c 100644
--- a/ucb/source/ucp/package/pkgdatasupplier.hxx
+++ b/ucb/source/ucp/package/pkgdatasupplier.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_PACKAGE_PKGDATASUPPLIER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_PACKAGE_PKGDATASUPPLIER_HXX
+#pragma once
#include <rtl/ref.hxx>
#include <ucbhelper/resultset.hxx>
@@ -63,6 +62,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/package/pkgprovider.hxx b/ucb/source/ucp/package/pkgprovider.hxx
index 8fac2917367e..ebec7524d32f 100644
--- a/ucb/source/ucp/package/pkgprovider.hxx
+++ b/ucb/source/ucp/package/pkgprovider.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_PACKAGE_PKGPROVIDER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_PACKAGE_PKGPROVIDER_HXX
+#pragma once
#include <memory>
#include <ucbhelper/providerhelper.hxx>
@@ -86,6 +85,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/package/pkgresultset.hxx b/ucb/source/ucp/package/pkgresultset.hxx
index 60a443ff9ea6..72cbda056c8d 100644
--- a/ucb/source/ucp/package/pkgresultset.hxx
+++ b/ucb/source/ucp/package/pkgresultset.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_PACKAGE_PKGRESULTSET_HXX
-#define INCLUDED_UCB_SOURCE_UCP_PACKAGE_PKGRESULTSET_HXX
+#pragma once
#include <rtl/ref.hxx>
#include <ucbhelper/resultsethelper.hxx>
@@ -45,6 +44,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/package/pkguri.hxx b/ucb/source/ucp/package/pkguri.hxx
index 90101fdb8f0a..df76875f6fac 100644
--- a/ucb/source/ucp/package/pkguri.hxx
+++ b/ucb/source/ucp/package/pkguri.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_PACKAGE_PKGURI_HXX
-#define INCLUDED_UCB_SOURCE_UCP_PACKAGE_PKGURI_HXX
+#pragma once
#include <rtl/ustring.hxx>
@@ -86,6 +85,4 @@ inline bool PackageUri::isRootFolder() const
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/tdoc/tdoc_content.hxx b/ucb/source/ucp/tdoc/tdoc_content.hxx
index 08bedba75cff..1a9ffe0c8795 100644
--- a/ucb/source/ucp/tdoc/tdoc_content.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_content.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_CONTENT_HXX
-#define INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_CONTENT_HXX
+#pragma once
#include <ucbhelper/contenthelper.hxx>
#include <com/sun/star/ucb/XContentCreator.hpp>
@@ -276,6 +275,4 @@ public:
} // namespace tdoc_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_CONTENT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/tdoc/tdoc_datasupplier.hxx b/ucb/source/ucp/tdoc/tdoc_datasupplier.hxx
index 0f7cbffeb1c3..3ef6697a8d3a 100644
--- a/ucb/source/ucp/tdoc/tdoc_datasupplier.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_datasupplier.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_DATASUPPLIER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_DATASUPPLIER_HXX
+#pragma once
#include <rtl/ref.hxx>
#include <ucbhelper/resultset.hxx>
@@ -67,6 +66,4 @@ public:
} // namespace tdoc_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_DATASUPPLIER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/tdoc/tdoc_docmgr.hxx b/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
index 1e03247feff5..2304a9bef853 100644
--- a/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_DOCMGR_HXX
-#define INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_DOCMGR_HXX
+#pragma once
#include <map>
@@ -149,6 +148,4 @@ namespace tdoc_ucp {
} // namespace tdoc_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_DOCMGR_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/tdoc/tdoc_documentcontentfactory.hxx b/ucb/source/ucp/tdoc/tdoc_documentcontentfactory.hxx
index 6a5218ac4889..bcbeee7d8b01 100644
--- a/ucb/source/ucp/tdoc/tdoc_documentcontentfactory.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_documentcontentfactory.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_DOCUMENTCONTENTFACTORY_HXX
-#define INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_DOCUMENTCONTENTFACTORY_HXX
+#pragma once
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
@@ -56,6 +55,4 @@ private:
} // namespace tdoc_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_DOCUMENTCONTENTFACTORY_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/tdoc/tdoc_passwordrequest.hxx b/ucb/source/ucp/tdoc/tdoc_passwordrequest.hxx
index 9065e263b90d..d246a5ea4d14 100644
--- a/ucb/source/ucp/tdoc/tdoc_passwordrequest.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_passwordrequest.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_PASSWORDREQUEST_HXX
-#define INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_PASSWORDREQUEST_HXX
+#pragma once
#include <com/sun/star/task/PasswordRequestMode.hpp>
@@ -85,6 +84,4 @@ public:
} // namespace tdoc_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_PASSWORDREQUEST_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/tdoc/tdoc_provider.hxx b/ucb/source/ucp/tdoc/tdoc_provider.hxx
index d9e4814bc9c3..08fff75d8891 100644
--- a/ucb/source/ucp/tdoc/tdoc_provider.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_provider.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_PROVIDER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_PROVIDER_HXX
+#pragma once
#include <rtl/ref.hxx>
#include <com/sun/star/frame/XTransientDocumentsDocumentContentFactory.hpp>
@@ -140,6 +139,4 @@ private:
} // namespace tdoc_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_PROVIDER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/tdoc/tdoc_resultset.hxx b/ucb/source/ucp/tdoc/tdoc_resultset.hxx
index 37274daa1639..d0fbe418b031 100644
--- a/ucb/source/ucp/tdoc/tdoc_resultset.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_resultset.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_RESULTSET_HXX
-#define INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_RESULTSET_HXX
+#pragma once
#include <rtl/ref.hxx>
#include <ucbhelper/resultsethelper.hxx>
@@ -45,6 +44,4 @@ public:
}
-#endif // INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_RESULTSET_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/tdoc/tdoc_stgelems.hxx b/ucb/source/ucp/tdoc/tdoc_stgelems.hxx
index 4002e30663ee..29bec5573377 100644
--- a/ucb/source/ucp/tdoc/tdoc_stgelems.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_stgelems.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_STGELEMS_HXX
-#define INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_STGELEMS_HXX
+#pragma once
#include <memory>
@@ -337,6 +336,4 @@ private:
} // namespace tdoc_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_STGELEMS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/tdoc/tdoc_storage.hxx b/ucb/source/ucp/tdoc/tdoc_storage.hxx
index 45434735938c..c7067aca700b 100644
--- a/ucb/source/ucp/tdoc/tdoc_storage.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_storage.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_STORAGE_HXX
-#define INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_STORAGE_HXX
+#pragma once
#include <map>
@@ -160,6 +159,4 @@ namespace tdoc_ucp {
} // namespace tdoc_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_STORAGE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/tdoc/tdoc_uri.hxx b/ucb/source/ucp/tdoc/tdoc_uri.hxx
index 15e51e6e8d36..d54bac37c267 100644
--- a/ucb/source/ucp/tdoc/tdoc_uri.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_uri.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_URI_HXX
-#define INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_URI_HXX
+#pragma once
#include <rtl/ustring.hxx>
@@ -105,6 +104,4 @@ inline bool Uri::isDocument() const
} // namespace tdoc_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_TDOC_TDOC_URI_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/DAVAuthListener.hxx b/ucb/source/ucp/webdav-neon/DAVAuthListener.hxx
index 39ca8f938c46..540ac788ca16 100644
--- a/ucb/source/ucp/webdav-neon/DAVAuthListener.hxx
+++ b/ucb/source/ucp/webdav-neon/DAVAuthListener.hxx
@@ -25,8 +25,7 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVAUTHLISTENER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVAUTHLISTENER_HXX
+#pragma once
#include <config_lgpl.h>
#include <salhelper/simplereferenceobject.hxx>
@@ -48,6 +47,4 @@ class DAVAuthListener : public salhelper::SimpleReferenceObject
} // namespace webdav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVAUTHLISTENER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/DAVAuthListenerImpl.hxx b/ucb/source/ucp/webdav-neon/DAVAuthListenerImpl.hxx
index a92720b50b74..b3d2a8ad601f 100644
--- a/ucb/source/ucp/webdav-neon/DAVAuthListenerImpl.hxx
+++ b/ucb/source/ucp/webdav-neon/DAVAuthListenerImpl.hxx
@@ -26,8 +26,7 @@
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVAUTHLISTENERIMPL_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVAUTHLISTENERIMPL_HXX
+#pragma once
#include <config_lgpl.h>
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
@@ -67,6 +66,4 @@ namespace webdav_ucp
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/DAVException.hxx b/ucb/source/ucp/webdav-neon/DAVException.hxx
index 3e1046ce2b5c..4fdcac3f4f8e 100644
--- a/ucb/source/ucp/webdav-neon/DAVException.hxx
+++ b/ucb/source/ucp/webdav-neon/DAVException.hxx
@@ -26,8 +26,7 @@
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVEXCEPTION_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVEXCEPTION_HXX
+#pragma once
#include <config_lgpl.h>
#include <rtl/ustring.hxx>
@@ -172,6 +171,4 @@ class DAVException : public std::exception
} // namespace webdav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVEXCEPTION_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/DAVProperties.hxx b/ucb/source/ucp/webdav-neon/DAVProperties.hxx
index d889b2c24f00..633359b5f78f 100644
--- a/ucb/source/ucp/webdav-neon/DAVProperties.hxx
+++ b/ucb/source/ucp/webdav-neon/DAVProperties.hxx
@@ -25,8 +25,7 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVPROPERTIES_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVPROPERTIES_HXX
+#pragma once
#include <config_lgpl.h>
#include <rtl/ustring.hxx>
@@ -63,6 +62,4 @@ struct DAVProperties
} // namespace webdav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVPROPERTIES_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/DAVRequestEnvironment.hxx b/ucb/source/ucp/webdav-neon/DAVRequestEnvironment.hxx
index 98e974d61335..22c149d559a8 100644
--- a/ucb/source/ucp/webdav-neon/DAVRequestEnvironment.hxx
+++ b/ucb/source/ucp/webdav-neon/DAVRequestEnvironment.hxx
@@ -25,8 +25,7 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVREQUESTENVIRONMENT_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVREQUESTENVIRONMENT_HXX
+#pragma once
#include <config_lgpl.h>
#include <vector>
@@ -62,6 +61,4 @@ DAVRequestEnvironment( const OUString & rRequestURI,
} // namespace webdav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVREQUESTENVIRONMENT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/DAVResource.hxx b/ucb/source/ucp/webdav-neon/DAVResource.hxx
index 219b06444f52..d26206de71e0 100644
--- a/ucb/source/ucp/webdav-neon/DAVResource.hxx
+++ b/ucb/source/ucp/webdav-neon/DAVResource.hxx
@@ -26,8 +26,7 @@
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVRESOURCE_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVRESOURCE_HXX
+#pragma once
#include <config_lgpl.h>
#include <vector>
@@ -68,6 +67,4 @@ struct DAVResourceInfo
} // namespace webdav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVRESOURCE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx b/ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx
index 30ec5256f965..03eeb879696b 100644
--- a/ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx
+++ b/ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx
@@ -26,8 +26,7 @@
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVRESOURCEACCESS_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVRESOURCEACCESS_HXX
+#pragma once
#include <config_lgpl.h>
#include <vector>
@@ -229,6 +228,4 @@ private:
} // namespace webdav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVRESOURCEACCESS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/DAVSession.hxx b/ucb/source/ucp/webdav-neon/DAVSession.hxx
index 72eaf39bdbf0..f61bbdb6ad90 100644
--- a/ucb/source/ucp/webdav-neon/DAVSession.hxx
+++ b/ucb/source/ucp/webdav-neon/DAVSession.hxx
@@ -26,8 +26,7 @@
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVSESSION_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVSESSION_HXX
+#pragma once
#include <config_lgpl.h>
#include <memory>
@@ -211,6 +210,4 @@ private:
} // namespace webdav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVSESSION_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/DAVSessionFactory.hxx b/ucb/source/ucp/webdav-neon/DAVSessionFactory.hxx
index d74e05aebbc1..eac25471e826 100644
--- a/ucb/source/ucp/webdav-neon/DAVSessionFactory.hxx
+++ b/ucb/source/ucp/webdav-neon/DAVSessionFactory.hxx
@@ -25,8 +25,7 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVSESSIONFACTORY_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVSESSIONFACTORY_HXX
+#pragma once
#ifdef min
#undef min // GNU libstdc++ <memory> includes <limit> which defines methods called min...
@@ -83,6 +82,4 @@ private:
} // namespace webdav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVSESSIONFACTORY_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/DAVTypes.hxx b/ucb/source/ucp/webdav-neon/DAVTypes.hxx
index 0f6a34a3d0d8..ceee3dbee0b6 100644
--- a/ucb/source/ucp/webdav-neon/DAVTypes.hxx
+++ b/ucb/source/ucp/webdav-neon/DAVTypes.hxx
@@ -26,8 +26,7 @@
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVTYPES_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVTYPES_HXX
+#pragma once
#include <config_lgpl.h>
#include <map>
@@ -206,6 +205,4 @@ namespace webdav_ucp
};
} // namespace webdav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DAVTYPES_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/DateTimeHelper.hxx b/ucb/source/ucp/webdav-neon/DateTimeHelper.hxx
index 618814614bfb..6794aa2510a8 100644
--- a/ucb/source/ucp/webdav-neon/DateTimeHelper.hxx
+++ b/ucb/source/ucp/webdav-neon/DateTimeHelper.hxx
@@ -26,8 +26,7 @@
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DATETIMEHELPER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_DATETIMEHELPER_HXX
+#pragma once
#include <config_lgpl.h>
#include <sal/types.h>
@@ -59,6 +58,4 @@ public:
} // namespace webdav_ucp
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/LinkSequence.hxx b/ucb/source/ucp/webdav-neon/LinkSequence.hxx
index 8c88610dd8dc..d081fc4e65d9 100644
--- a/ucb/source/ucp/webdav-neon/LinkSequence.hxx
+++ b/ucb/source/ucp/webdav-neon/LinkSequence.hxx
@@ -26,8 +26,7 @@
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_LINKSEQUENCE_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_LINKSEQUENCE_HXX
+#pragma once
#include <rtl/string.hxx>
#include <com/sun/star/uno/Sequence.hxx>
@@ -47,6 +46,4 @@ public:
}
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_LINKSEQUENCE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/LockEntrySequence.hxx b/ucb/source/ucp/webdav-neon/LockEntrySequence.hxx
index 6e5550700f7e..7674c2de1cb7 100644
--- a/ucb/source/ucp/webdav-neon/LockEntrySequence.hxx
+++ b/ucb/source/ucp/webdav-neon/LockEntrySequence.hxx
@@ -26,8 +26,7 @@
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_LOCKENTRYSEQUENCE_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_LOCKENTRYSEQUENCE_HXX
+#pragma once
#include <rtl/string.hxx>
#include <com/sun/star/uno/Sequence.hxx>
@@ -43,6 +42,4 @@ public:
};
}
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_LOCKENTRYSEQUENCE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/LockSequence.hxx b/ucb/source/ucp/webdav-neon/LockSequence.hxx
index a35ddee996f6..dc14064410f3 100644
--- a/ucb/source/ucp/webdav-neon/LockSequence.hxx
+++ b/ucb/source/ucp/webdav-neon/LockSequence.hxx
@@ -26,8 +26,7 @@
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_LOCKSEQUENCE_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_LOCKSEQUENCE_HXX
+#pragma once
#include <config_lgpl.h>
#include <rtl/string.hxx>
@@ -46,6 +45,4 @@ public:
}
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_LOCKSEQUENCE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/NeonHeadRequest.hxx b/ucb/source/ucp/webdav-neon/NeonHeadRequest.hxx
index 06a28af03326..943d4138a41d 100644
--- a/ucb/source/ucp/webdav-neon/NeonHeadRequest.hxx
+++ b/ucb/source/ucp/webdav-neon/NeonHeadRequest.hxx
@@ -26,8 +26,7 @@
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_NEONHEADREQUEST_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_NEONHEADREQUEST_HXX
+#pragma once
#include <config_lgpl.h>
#include <vector>
@@ -51,6 +50,4 @@ public:
} // namespace webdav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_NEONHEADREQUEST_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/NeonInputStream.hxx b/ucb/source/ucp/webdav-neon/NeonInputStream.hxx
index e496d72bd577..d00760b92758 100644
--- a/ucb/source/ucp/webdav-neon/NeonInputStream.hxx
+++ b/ucb/source/ucp/webdav-neon/NeonInputStream.hxx
@@ -25,8 +25,7 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_NEONINPUTSTREAM_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_NEONINPUTSTREAM_HXX
+#pragma once
#include <config_lgpl.h>
#include <sal/types.h>
@@ -92,6 +91,5 @@ class NeonInputStream : public css::io::XInputStream,
};
} // namespace webdav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_NEONINPUTSTREAM_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/NeonLockStore.hxx b/ucb/source/ucp/webdav-neon/NeonLockStore.hxx
index 323a71ab1e6f..d6e37f4e8d84 100644
--- a/ucb/source/ucp/webdav-neon/NeonLockStore.hxx
+++ b/ucb/source/ucp/webdav-neon/NeonLockStore.hxx
@@ -25,8 +25,7 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_NEONLOCKSTORE_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_NEONLOCKSTORE_HXX
+#pragma once
#include <config_lgpl.h>
#include <map>
@@ -95,6 +94,4 @@ private:
} // namespace webdav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_NEONLOCKSTORE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/NeonPropFindRequest.hxx b/ucb/source/ucp/webdav-neon/NeonPropFindRequest.hxx
index b435a80baf56..b1a2d2b69b16 100644
--- a/ucb/source/ucp/webdav-neon/NeonPropFindRequest.hxx
+++ b/ucb/source/ucp/webdav-neon/NeonPropFindRequest.hxx
@@ -26,8 +26,7 @@
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_NEONPROPFINDREQUEST_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_NEONPROPFINDREQUEST_HXX
+#pragma once
#include <config_lgpl.h>
#include <vector>
@@ -61,6 +60,4 @@ public:
} // namespace webdav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_NEONPROPFINDREQUEST_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/NeonSession.hxx b/ucb/source/ucp/webdav-neon/NeonSession.hxx
index 51b477373571..816bae09b8e0 100644
--- a/ucb/source/ucp/webdav-neon/NeonSession.hxx
+++ b/ucb/source/ucp/webdav-neon/NeonSession.hxx
@@ -26,8 +26,7 @@
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_NEONSESSION_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_NEONSESSION_HXX
+#pragma once
#include <config_lgpl.h>
#include <vector>
@@ -283,6 +282,4 @@ osl::Mutex& getGlobalNeonMutex();
} // namespace webdav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_NEONSESSION_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/NeonTypes.hxx b/ucb/source/ucp/webdav-neon/NeonTypes.hxx
index 3e2a7c575933..eb40c03a6f4a 100644
--- a/ucb/source/ucp/webdav-neon/NeonTypes.hxx
+++ b/ucb/source/ucp/webdav-neon/NeonTypes.hxx
@@ -26,8 +26,7 @@
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_NEONTYPES_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_NEONTYPES_HXX
+#pragma once
#include <config_lgpl.h>
#include <ne_session.h>
@@ -52,6 +51,4 @@ typedef ne_prop_result_set NeonPropFindResultSet;
typedef struct ne_lock NeonLock;
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_NEONTYPES_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/NeonUri.hxx b/ucb/source/ucp/webdav-neon/NeonUri.hxx
index 3149ab9fb53f..319026250047 100644
--- a/ucb/source/ucp/webdav-neon/NeonUri.hxx
+++ b/ucb/source/ucp/webdav-neon/NeonUri.hxx
@@ -25,8 +25,7 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_NEONURI_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_NEONURI_HXX
+#pragma once
#include <sal/config.h>
@@ -101,6 +100,4 @@ class NeonUri
} // namespace webdav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_NEONURI_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/PropertyMap.hxx b/ucb/source/ucp/webdav-neon/PropertyMap.hxx
index 159651085773..508823a8d199 100644
--- a/ucb/source/ucp/webdav-neon/PropertyMap.hxx
+++ b/ucb/source/ucp/webdav-neon/PropertyMap.hxx
@@ -26,8 +26,7 @@
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_PROPERTYMAP_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_PROPERTYMAP_HXX
+#pragma once
#include <config_lgpl.h>
#include <com/sun/star/beans/Property.hpp>
@@ -63,6 +62,4 @@ PropertyMap;
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/PropfindCache.hxx b/ucb/source/ucp/webdav-neon/PropfindCache.hxx
index bcbdff93e407..368c28193baf 100644
--- a/ucb/source/ucp/webdav-neon/PropfindCache.hxx
+++ b/ucb/source/ucp/webdav-neon/PropfindCache.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_PROPFINDCACHE_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_PROPFINDCACHE_HXX
+#pragma once
#include <sal/types.h>
#include <rtl/ustring.hxx>
@@ -75,6 +74,4 @@ namespace webdav_ucp
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/ucb/source/ucp/webdav-neon/UCBDeadPropertyValue.hxx b/ucb/source/ucp/webdav-neon/UCBDeadPropertyValue.hxx
index b93c142d5d25..5f2b38ed1f9e 100644
--- a/ucb/source/ucp/webdav-neon/UCBDeadPropertyValue.hxx
+++ b/ucb/source/ucp/webdav-neon/UCBDeadPropertyValue.hxx
@@ -26,8 +26,7 @@
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_UCBDEADPROPERTYVALUE_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_UCBDEADPROPERTYVALUE_HXX
+#pragma once
#include <rtl/string.hxx>
#include <com/sun/star/uno/Any.hxx>
@@ -48,6 +47,4 @@ public:
}
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_UCBDEADPROPERTYVALUE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.hxx b/ucb/source/ucp/webdav-neon/webdavcontent.hxx
index 4a976a26b94c..ccdac291272a 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.hxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.hxx
@@ -26,8 +26,7 @@
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_WEBDAVCONTENT_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_WEBDAVCONTENT_HXX
+#pragma once
#include <config_lgpl.h>
#include <memory>
@@ -315,6 +314,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/webdavdatasupplier.hxx b/ucb/source/ucp/webdav-neon/webdavdatasupplier.hxx
index bd5b733408aa..5c820364028c 100644
--- a/ucb/source/ucp/webdav-neon/webdavdatasupplier.hxx
+++ b/ucb/source/ucp/webdav-neon/webdavdatasupplier.hxx
@@ -26,8 +26,7 @@
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_WEBDAVDATASUPPLIER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_WEBDAVDATASUPPLIER_HXX
+#pragma once
#include <config_lgpl.h>
#include <memory>
@@ -76,6 +75,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/webdavprovider.hxx b/ucb/source/ucp/webdav-neon/webdavprovider.hxx
index 2e30d3f0a35d..d03c310a3639 100644
--- a/ucb/source/ucp/webdav-neon/webdavprovider.hxx
+++ b/ucb/source/ucp/webdav-neon/webdavprovider.hxx
@@ -26,8 +26,7 @@
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_WEBDAVPROVIDER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_WEBDAVPROVIDER_HXX
+#pragma once
#include <memory>
#include <config_lgpl.h>
@@ -103,6 +102,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav-neon/webdavresultset.hxx b/ucb/source/ucp/webdav-neon/webdavresultset.hxx
index 470b16f2558d..c2f8e727ec04 100644
--- a/ucb/source/ucp/webdav-neon/webdavresultset.hxx
+++ b/ucb/source/ucp/webdav-neon/webdavresultset.hxx
@@ -26,8 +26,7 @@
*
************************************************************************/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_WEBDAVRESULTSET_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_WEBDAVRESULTSET_HXX
+#pragma once
#include <config_lgpl.h>
#include <rtl/ref.hxx>
@@ -55,6 +54,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/AprEnv.hxx b/ucb/source/ucp/webdav/AprEnv.hxx
index 4590c64aab55..34eb94d1fc5d 100644
--- a/ucb/source/ucp/webdav/AprEnv.hxx
+++ b/ucb/source/ucp/webdav/AprEnv.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_APRENV_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_APRENV_HXX
+#pragma once
#include <apr_pools.h>
#include "SerfLockStore.hxx"
@@ -53,6 +52,4 @@ class AprEnv
} // namespace apr_environment
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_APRENV_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/ContentProperties.hxx b/ucb/source/ucp/webdav/ContentProperties.hxx
index a48383f8e945..0f1bc0a52c7e 100644
--- a/ucb/source/ucp/webdav/ContentProperties.hxx
+++ b/ucb/source/ucp/webdav/ContentProperties.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_CONTENTPROPERTIES_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_CONTENTPROPERTIES_HXX
+#pragma once
#include <memory>
#include <unordered_map>
@@ -179,6 +178,4 @@ public:
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_CONTENTPROPERTIES_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/DAVAuthListener.hxx b/ucb/source/ucp/webdav/DAVAuthListener.hxx
index 95f61c0a0b26..c3d643bc7d82 100644
--- a/ucb/source/ucp/webdav/DAVAuthListener.hxx
+++ b/ucb/source/ucp/webdav/DAVAuthListener.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVAUTHLISTENER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVAUTHLISTENER_HXX
+#pragma once
#include <salhelper/simplereferenceobject.hxx>
#include <rtl/ustring.hxx>
@@ -41,6 +40,4 @@ class DAVAuthListener : public salhelper::SimpleReferenceObject
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVAUTHLISTENER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/DAVAuthListenerImpl.hxx b/ucb/source/ucp/webdav/DAVAuthListenerImpl.hxx
index fc3f9a845928..219a6490689b 100644
--- a/ucb/source/ucp/webdav/DAVAuthListenerImpl.hxx
+++ b/ucb/source/ucp/webdav/DAVAuthListenerImpl.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVAUTHLISTENERIMPL_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVAUTHLISTENERIMPL_HXX
+#pragma once
#include "DAVAuthListener.hxx"
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
@@ -59,6 +58,4 @@ namespace http_dav_ucp
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/DAVException.hxx b/ucb/source/ucp/webdav/DAVException.hxx
index 3b21067e5301..ba121efa21c9 100644
--- a/ucb/source/ucp/webdav/DAVException.hxx
+++ b/ucb/source/ucp/webdav/DAVException.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVEXCEPTION_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVEXCEPTION_HXX
+#pragma once
#include <rtl/ustring.hxx>
@@ -163,6 +162,4 @@ class DAVException : public std::exception
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVEXCEPTION_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/DAVProperties.hxx b/ucb/source/ucp/webdav/DAVProperties.hxx
index 926afd6a765f..5bc9a1b0c8f4 100644
--- a/ucb/source/ucp/webdav/DAVProperties.hxx
+++ b/ucb/source/ucp/webdav/DAVProperties.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVPROPERTIES_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVPROPERTIES_HXX
+#pragma once
#include <rtl/ustring.hxx>
@@ -55,6 +54,4 @@ struct DAVProperties
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVPROPERTIES_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/DAVRequestEnvironment.hxx b/ucb/source/ucp/webdav/DAVRequestEnvironment.hxx
index 1b1faff89431..a489b43092c8 100644
--- a/ucb/source/ucp/webdav/DAVRequestEnvironment.hxx
+++ b/ucb/source/ucp/webdav/DAVRequestEnvironment.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVREQUESTENVIRONMENT_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVREQUESTENVIRONMENT_HXX
+#pragma once
#include <vector>
#include <rtl/ref.hxx>
@@ -52,6 +51,4 @@ DAVRequestEnvironment( const OUString & rRequestURI,
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVREQUESTENVIRONMENT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/DAVResource.hxx b/ucb/source/ucp/webdav/DAVResource.hxx
index aca9f38465dd..15359719d880 100644
--- a/ucb/source/ucp/webdav/DAVResource.hxx
+++ b/ucb/source/ucp/webdav/DAVResource.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVRESOURCE_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVRESOURCE_HXX
+#pragma once
#include <vector>
@@ -57,6 +56,4 @@ struct DAVResourceInfo
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVRESOURCE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/DAVResourceAccess.hxx b/ucb/source/ucp/webdav/DAVResourceAccess.hxx
index 37d76d83f42e..b5c521fb414e 100644
--- a/ucb/source/ucp/webdav/DAVResourceAccess.hxx
+++ b/ucb/source/ucp/webdav/DAVResourceAccess.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVRESOURCEACCESS_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVRESOURCEACCESS_HXX
+#pragma once
#include <vector>
#include <rtl/ustring.hxx>
@@ -205,6 +204,4 @@ private:
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVRESOURCEACCESS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/DAVSession.hxx b/ucb/source/ucp/webdav/DAVSession.hxx
index aa47b1504b22..8289d052dc90 100644
--- a/ucb/source/ucp/webdav/DAVSession.hxx
+++ b/ucb/source/ucp/webdav/DAVSession.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVSESSION_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVSESSION_HXX
+#pragma once
#include <memory>
#include <rtl/ustring.hxx>
@@ -200,6 +199,4 @@ private:
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVSESSION_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/DAVSessionFactory.hxx b/ucb/source/ucp/webdav/DAVSessionFactory.hxx
index 623ec9995ad4..4b932ea6d2f4 100644
--- a/ucb/source/ucp/webdav/DAVSessionFactory.hxx
+++ b/ucb/source/ucp/webdav/DAVSessionFactory.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVSESSIONFACTORY_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVSESSIONFACTORY_HXX
+#pragma once
#ifdef min
#undef min // GNU libstdc++ <memory> includes <limit> which defines methods called min...
@@ -66,6 +65,4 @@ private:
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVSESSIONFACTORY_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/DAVTypes.hxx b/ucb/source/ucp/webdav/DAVTypes.hxx
index 3cce18abb724..063abf03199e 100644
--- a/ucb/source/ucp/webdav/DAVTypes.hxx
+++ b/ucb/source/ucp/webdav/DAVTypes.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVTYPES_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVTYPES_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <com/sun/star/uno/Any.hxx>
@@ -75,6 +74,4 @@ struct ProppatchValue
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_DAVTYPES_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/DateTimeHelper.hxx b/ucb/source/ucp/webdav/DateTimeHelper.hxx
index b639215335a8..0ff880fa8525 100644
--- a/ucb/source/ucp/webdav/DateTimeHelper.hxx
+++ b/ucb/source/ucp/webdav/DateTimeHelper.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_DATETIMEHELPER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_DATETIMEHELPER_HXX
+#pragma once
#include <sal/types.h>
#include <rtl/ustring.hxx>
@@ -53,6 +52,4 @@ public:
} // namespace http_dav_ucp
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/PropertyMap.hxx b/ucb/source/ucp/webdav/PropertyMap.hxx
index ef5693d760b3..e38ca5c44796 100644
--- a/ucb/source/ucp/webdav/PropertyMap.hxx
+++ b/ucb/source/ucp/webdav/PropertyMap.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_PROPERTYMAP_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_PROPERTYMAP_HXX
+#pragma once
#include <com/sun/star/beans/Property.hpp>
#include <unordered_set>
@@ -53,6 +52,4 @@ PropertyMap;
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/SerfCallbacks.hxx b/ucb/source/ucp/webdav/SerfCallbacks.hxx
index b82246e68146..7e4c99fb529e 100644
--- a/ucb/source/ucp/webdav/SerfCallbacks.hxx
+++ b/ucb/source/ucp/webdav/SerfCallbacks.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFCALLBACKS_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFCALLBACKS_HXX
+#pragma once
#include <serf.h>
@@ -64,6 +63,4 @@ extern "C" apr_status_t Serf_HandleResponse( serf_request_t *request,
void *handler_baton,
apr_pool_t *pool );
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFCALLBACKS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/SerfCopyReqProcImpl.hxx b/ucb/source/ucp/webdav/SerfCopyReqProcImpl.hxx
index 92d12abb6244..0e0b59f2939f 100644
--- a/ucb/source/ucp/webdav/SerfCopyReqProcImpl.hxx
+++ b/ucb/source/ucp/webdav/SerfCopyReqProcImpl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFCOPYREQPROCIMPL_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFCOPYREQPROCIMPL_HXX
+#pragma once
#include "SerfRequestProcessorImpl.hxx"
@@ -52,6 +51,4 @@ private:
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFCOPYREQPROCIMPL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/SerfDeleteReqProcImpl.hxx b/ucb/source/ucp/webdav/SerfDeleteReqProcImpl.hxx
index 0bb8cd60edf4..42ff0a5e841d 100644
--- a/ucb/source/ucp/webdav/SerfDeleteReqProcImpl.hxx
+++ b/ucb/source/ucp/webdav/SerfDeleteReqProcImpl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFDELETEREQPROCIMPL_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFDELETEREQPROCIMPL_HXX
+#pragma once
#include "SerfRequestProcessorImpl.hxx"
@@ -47,6 +46,4 @@ protected:
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFDELETEREQPROCIMPL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/SerfGetReqProcImpl.hxx b/ucb/source/ucp/webdav/SerfGetReqProcImpl.hxx
index d043f3087e36..c8e46312c03f 100644
--- a/ucb/source/ucp/webdav/SerfGetReqProcImpl.hxx
+++ b/ucb/source/ucp/webdav/SerfGetReqProcImpl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFGETREQPROCIMPL_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFGETREQPROCIMPL_HXX
+#pragma once
#include "SerfRequestProcessorImpl.hxx"
@@ -79,6 +78,4 @@ private:
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFGETREQPROCIMPL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/SerfHeadReqProcImpl.hxx b/ucb/source/ucp/webdav/SerfHeadReqProcImpl.hxx
index b1a03a07e5af..f4f67abd7e7c 100644
--- a/ucb/source/ucp/webdav/SerfHeadReqProcImpl.hxx
+++ b/ucb/source/ucp/webdav/SerfHeadReqProcImpl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFHEADREQPROCIMPL_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFHEADREQPROCIMPL_HXX
+#pragma once
#include "SerfRequestProcessorImpl.hxx"
@@ -62,6 +61,4 @@ private:
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFHEADREQPROCIMPL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/SerfInputStream.hxx b/ucb/source/ucp/webdav/SerfInputStream.hxx
index ca9520ed8015..f88b69b5ba97 100644
--- a/ucb/source/ucp/webdav/SerfInputStream.hxx
+++ b/ucb/source/ucp/webdav/SerfInputStream.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFINPUTSTREAM_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFINPUTSTREAM_HXX
+#pragma once
#include <sal/types.h>
#include <cppuhelper/weak.hxx>
@@ -88,6 +87,4 @@ class SerfInputStream : public css::io::XInputStream,
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFINPUTSTREAM_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/SerfLockReqProcImpl.hxx b/ucb/source/ucp/webdav/SerfLockReqProcImpl.hxx
index 29d1361ebd66..1b3037596a42 100644
--- a/ucb/source/ucp/webdav/SerfLockReqProcImpl.hxx
+++ b/ucb/source/ucp/webdav/SerfLockReqProcImpl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFLOCKREQPROCIMPL_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFLOCKREQPROCIMPL_HXX
+#pragma once
#include "SerfRequestProcessorImpl.hxx"
#include "SerfInputStream.hxx"
@@ -62,6 +61,4 @@ private:
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFLOCKREQPROCIMPL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/SerfLockStore.hxx b/ucb/source/ucp/webdav/SerfLockStore.hxx
index 6a927562b164..5449f049a3ec 100644
--- a/ucb/source/ucp/webdav/SerfLockStore.hxx
+++ b/ucb/source/ucp/webdav/SerfLockStore.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFLOCKSTORE_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFLOCKSTORE_HXX
+#pragma once
#include <map>
#include <osl/mutex.hxx>
@@ -86,6 +85,4 @@ private:
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFLOCKSTORE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/SerfMkColReqProcImpl.hxx b/ucb/source/ucp/webdav/SerfMkColReqProcImpl.hxx
index 08269ef477e6..704654e90eed 100644
--- a/ucb/source/ucp/webdav/SerfMkColReqProcImpl.hxx
+++ b/ucb/source/ucp/webdav/SerfMkColReqProcImpl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFMKCOLREQPROCIMPL_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFMKCOLREQPROCIMPL_HXX
+#pragma once
#include "SerfRequestProcessorImpl.hxx"
@@ -46,6 +45,4 @@ protected:
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFMKCOLREQPROCIMPL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/SerfMoveReqProcImpl.hxx b/ucb/source/ucp/webdav/SerfMoveReqProcImpl.hxx
index 73a8574b4b09..f62a65fbae28 100644
--- a/ucb/source/ucp/webdav/SerfMoveReqProcImpl.hxx
+++ b/ucb/source/ucp/webdav/SerfMoveReqProcImpl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFMOVEREQPROCIMPL_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFMOVEREQPROCIMPL_HXX
+#pragma once
#include "SerfRequestProcessorImpl.hxx"
@@ -52,6 +51,4 @@ private:
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFMOVEREQPROCIMPL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/SerfPostReqProcImpl.hxx b/ucb/source/ucp/webdav/SerfPostReqProcImpl.hxx
index aebd60b363ca..642c80adc922 100644
--- a/ucb/source/ucp/webdav/SerfPostReqProcImpl.hxx
+++ b/ucb/source/ucp/webdav/SerfPostReqProcImpl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFPOSTREQPROCIMPL_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFPOSTREQPROCIMPL_HXX
+#pragma once
#include "SerfRequestProcessorImpl.hxx"
@@ -71,6 +70,4 @@ private:
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFPOSTREQPROCIMPL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/SerfPropFindReqProcImpl.hxx b/ucb/source/ucp/webdav/SerfPropFindReqProcImpl.hxx
index 2acabda00749..8b84686072eb 100644
--- a/ucb/source/ucp/webdav/SerfPropFindReqProcImpl.hxx
+++ b/ucb/source/ucp/webdav/SerfPropFindReqProcImpl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFPROPFINDREQPROCIMPL_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFPROPFINDREQPROCIMPL_HXX
+#pragma once
#include "SerfRequestProcessorImpl.hxx"
@@ -72,6 +71,4 @@ private:
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFPROPFINDREQPROCIMPL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/SerfPropPatchReqProcImpl.hxx b/ucb/source/ucp/webdav/SerfPropPatchReqProcImpl.hxx
index 330e0d9532db..f0fee6b892b3 100644
--- a/ucb/source/ucp/webdav/SerfPropPatchReqProcImpl.hxx
+++ b/ucb/source/ucp/webdav/SerfPropPatchReqProcImpl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFPROPPATCHREQPROCIMPL_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFPROPPATCHREQPROCIMPL_HXX
+#pragma once
#include "SerfRequestProcessorImpl.hxx"
@@ -53,6 +52,4 @@ private:
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFPROPPATCHREQPROCIMPL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/SerfPutReqProcImpl.hxx b/ucb/source/ucp/webdav/SerfPutReqProcImpl.hxx
index 8eeb791ee549..ae16d8e2a432 100644
--- a/ucb/source/ucp/webdav/SerfPutReqProcImpl.hxx
+++ b/ucb/source/ucp/webdav/SerfPutReqProcImpl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFPUTREQPROCIMPL_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFPUTREQPROCIMPL_HXX
+#pragma once
#include "SerfRequestProcessorImpl.hxx"
@@ -55,6 +54,4 @@ private:
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFPUTREQPROCIMPL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/SerfRequestProcessor.hxx b/ucb/source/ucp/webdav/SerfRequestProcessor.hxx
index dea753fed820..f0750bd01faf 100644
--- a/ucb/source/ucp/webdav/SerfRequestProcessor.hxx
+++ b/ucb/source/ucp/webdav/SerfRequestProcessor.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFREQUESTPROCESSOR_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFREQUESTPROCESSOR_HXX
+#pragma once
#include <apr_errno.h>
#include <apr_pools.h>
@@ -186,6 +185,4 @@ public:
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFREQUESTPROCESSOR_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/SerfRequestProcessorImpl.hxx b/ucb/source/ucp/webdav/SerfRequestProcessorImpl.hxx
index 3909dca5a783..99712ac09e5e 100644
--- a/ucb/source/ucp/webdav/SerfRequestProcessorImpl.hxx
+++ b/ucb/source/ucp/webdav/SerfRequestProcessorImpl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFREQUESTPROCESSORIMPL_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFREQUESTPROCESSORIMPL_HXX
+#pragma once
#include <serf.h>
@@ -74,6 +73,4 @@ private:
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFREQUESTPROCESSORIMPL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/SerfSession.hxx b/ucb/source/ucp/webdav/SerfSession.hxx
index 8c2a14439358..721bdb372efe 100644
--- a/ucb/source/ucp/webdav/SerfSession.hxx
+++ b/ucb/source/ucp/webdav/SerfSession.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFSESSION_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFSESSION_HXX
+#pragma once
#include <osl/mutex.hxx>
#include <memory>
@@ -257,6 +256,4 @@ private:
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFSESSION_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/SerfUnlockReqProcImpl.hxx b/ucb/source/ucp/webdav/SerfUnlockReqProcImpl.hxx
index afef3f28b187..90414147d416 100644
--- a/ucb/source/ucp/webdav/SerfUnlockReqProcImpl.hxx
+++ b/ucb/source/ucp/webdav/SerfUnlockReqProcImpl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFUNLOCKREQPROCIMPL_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFUNLOCKREQPROCIMPL_HXX
+#pragma once
#include "SerfRequestProcessorImpl.hxx"
@@ -49,6 +48,4 @@ private:
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFUNLOCKREQPROCIMPL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/SerfUri.hxx b/ucb/source/ucp/webdav/SerfUri.hxx
index f47b2892e207..a5faa563e3ee 100644
--- a/ucb/source/ucp/webdav/SerfUri.hxx
+++ b/ucb/source/ucp/webdav/SerfUri.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFURI_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFURI_HXX
+#pragma once
#include <apr_uri.h>
#include <rtl/ustring.hxx>
@@ -98,6 +97,4 @@ class SerfUri
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_SERFURI_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/UCBDeadPropertyValue.hxx b/ucb/source/ucp/webdav/UCBDeadPropertyValue.hxx
index dc066f48afee..0c9c0d19bca8 100644
--- a/ucb/source/ucp/webdav/UCBDeadPropertyValue.hxx
+++ b/ucb/source/ucp/webdav/UCBDeadPropertyValue.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_UCBDEADPROPERTYVALUE_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_UCBDEADPROPERTYVALUE_HXX
+#pragma once
#include <rtl/string.hxx>
#include <com/sun/star/uno/Any.hxx>
@@ -55,6 +54,4 @@ public:
}
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_UCBDEADPROPERTYVALUE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/webdavcontent.hxx b/ucb/source/ucp/webdav/webdavcontent.hxx
index ad4e932291de..8ecb5577cc54 100644
--- a/ucb/source/ucp/webdav/webdavcontent.hxx
+++ b/ucb/source/ucp/webdav/webdavcontent.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_WEBDAVCONTENT_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_WEBDAVCONTENT_HXX
+#pragma once
#include <memory>
#include <list>
@@ -264,6 +263,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/webdavdatasupplier.hxx b/ucb/source/ucp/webdav/webdavdatasupplier.hxx
index ecd22000eebb..de527d8346bb 100644
--- a/ucb/source/ucp/webdav/webdavdatasupplier.hxx
+++ b/ucb/source/ucp/webdav/webdavdatasupplier.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_WEBDAVDATASUPPLIER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_WEBDAVDATASUPPLIER_HXX
+#pragma once
#include <sal/config.h>
@@ -71,6 +70,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/webdavprovider.hxx b/ucb/source/ucp/webdav/webdavprovider.hxx
index e399178a9df9..3ae22eb9857a 100644
--- a/ucb/source/ucp/webdav/webdavprovider.hxx
+++ b/ucb/source/ucp/webdav/webdavprovider.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_WEBDAVPROVIDER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_WEBDAVPROVIDER_HXX
+#pragma once
#include <sal/config.h>
@@ -106,6 +105,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/webdavresponseparser.hxx b/ucb/source/ucp/webdav/webdavresponseparser.hxx
index ecf168ea1b2d..c62cb3205df8 100644
--- a/ucb/source/ucp/webdav/webdavresponseparser.hxx
+++ b/ucb/source/ucp/webdav/webdavresponseparser.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_WEBDAVRESPONSEPARSER_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_WEBDAVRESPONSEPARSER_HXX
+#pragma once
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/io/XInputStream.hpp>
@@ -36,6 +35,4 @@ std::vector<DAVResourceInfo>
parseWebDAVPropNameResponse(const css::uno::Reference<css::io::XInputStream>& xInputStream);
} // namespace http_dav_ucp
-#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_WEBDAVRESPONSEPARSER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/webdav/webdavresultset.hxx b/ucb/source/ucp/webdav/webdavresultset.hxx
index cb1b7c0f5c97..0a52d7982ae0 100644
--- a/ucb/source/ucp/webdav/webdavresultset.hxx
+++ b/ucb/source/ucp/webdav/webdavresultset.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_WEBDAVRESULTSET_HXX
-#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_WEBDAVRESULTSET_HXX
+#pragma once
#include <rtl/ref.hxx>
#include <ucbhelper/resultsethelper.hxx>
@@ -46,6 +45,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */