From 1c0c2bb7920f5da7562a053019514d1e4cbdf1f6 Mon Sep 17 00:00:00 2001 From: Vincent LE GARREC Date: Sat, 6 Mar 2021 08:28:23 +0100 Subject: tdf#124176 Use pragma once in u* ucb, uno*, uui Change-Id: Ic4b6d541eb0df8bf7bceddf178ebb5177ad2b87b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112046 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas --- ucb/source/cacher/cachedcontentresultset.hxx | 5 +---- ucb/source/cacher/cachedcontentresultsetstub.hxx | 5 +---- ucb/source/cacher/cacheddynamicresultset.hxx | 5 +---- ucb/source/cacher/cacheddynamicresultsetstub.hxx | 5 +---- ucb/source/cacher/contentresultsetwrapper.hxx | 5 +---- ucb/source/cacher/dynamicresultsetwrapper.hxx | 5 +---- ucb/source/inc/regexp.hxx | 5 +---- ucb/source/inc/regexpmap.hxx | 5 +---- ucb/source/sorter/sortdynres.hxx | 5 +---- ucb/source/sorter/sortresult.hxx | 5 +---- ucb/source/ucp/cmis/auth_provider.hxx | 5 +---- ucb/source/ucp/cmis/certvalidation_handler.hxx | 5 +---- ucb/source/ucp/cmis/children_provider.hxx | 5 +---- ucb/source/ucp/cmis/cmis_content.hxx | 5 +---- ucb/source/ucp/cmis/cmis_datasupplier.hxx | 5 +---- ucb/source/ucp/cmis/cmis_provider.hxx | 5 +---- ucb/source/ucp/cmis/cmis_repo_content.hxx | 5 +---- ucb/source/ucp/cmis/cmis_resultset.hxx | 5 +---- ucb/source/ucp/cmis/cmis_strings.hxx | 4 +--- ucb/source/ucp/cmis/cmis_url.hxx | 5 +---- ucb/source/ucp/cmis/std_inputstream.hxx | 5 +---- ucb/source/ucp/cmis/std_outputstream.hxx | 5 +---- ucb/source/ucp/ext/ucpext_content.hxx | 5 +---- ucb/source/ucp/ext/ucpext_datasupplier.hxx | 5 +---- ucb/source/ucp/ext/ucpext_provider.hxx | 5 +---- ucb/source/ucp/ext/ucpext_resultset.hxx | 5 +---- ucb/source/ucp/file/bc.hxx | 5 +---- ucb/source/ucp/file/filcmd.hxx | 5 +---- ucb/source/ucp/file/filerror.hxx | 5 +---- ucb/source/ucp/file/filglob.hxx | 5 +---- ucb/source/ucp/file/filid.hxx | 5 +---- ucb/source/ucp/file/filinl.hxx | 5 +---- ucb/source/ucp/file/filinpstr.hxx | 5 +---- ucb/source/ucp/file/filinsreq.hxx | 5 +---- ucb/source/ucp/file/filnot.hxx | 5 +---- ucb/source/ucp/file/filprp.hxx | 5 +---- ucb/source/ucp/file/filrec.hxx | 4 +--- ucb/source/ucp/file/filrow.hxx | 5 +---- ucb/source/ucp/file/filrset.hxx | 5 +---- ucb/source/ucp/file/filstr.hxx | 5 +---- ucb/source/ucp/file/filtask.hxx | 5 +---- ucb/source/ucp/file/prov.hxx | 5 +---- ucb/source/ucp/ftp/curl.hxx | 5 +---- ucb/source/ucp/ftp/ftpcfunc.hxx | 5 +---- ucb/source/ucp/ftp/ftpcontainer.hxx | 5 +---- ucb/source/ucp/ftp/ftpcontent.hxx | 5 +---- ucb/source/ucp/ftp/ftpcontentidentifier.hxx | 5 +---- ucb/source/ucp/ftp/ftpcontentprovider.hxx | 5 +---- ucb/source/ucp/ftp/ftpdirp.hxx | 5 +---- ucb/source/ucp/ftp/ftpdynresultset.hxx | 5 +---- ucb/source/ucp/ftp/ftpintreq.hxx | 5 +---- ucb/source/ucp/ftp/ftploaderthread.hxx | 5 +---- ucb/source/ucp/ftp/ftpresultsetI.hxx | 5 +---- ucb/source/ucp/ftp/ftpresultsetbase.hxx | 5 +---- ucb/source/ucp/ftp/ftpresultsetfactory.hxx | 5 +---- ucb/source/ucp/ftp/ftpurl.hxx | 5 +---- ucb/source/ucp/gio/gio_content.hxx | 5 +---- ucb/source/ucp/gio/gio_datasupplier.hxx | 5 +---- ucb/source/ucp/gio/gio_inputstream.hxx | 4 +--- ucb/source/ucp/gio/gio_mount.hxx | 4 +--- ucb/source/ucp/gio/gio_outputstream.hxx | 4 +--- ucb/source/ucp/gio/gio_provider.hxx | 5 +---- ucb/source/ucp/gio/gio_resultset.hxx | 5 +---- ucb/source/ucp/gio/gio_seekable.hxx | 4 +--- ucb/source/ucp/hierarchy/dynamicresultset.hxx | 5 +---- ucb/source/ucp/hierarchy/hierarchycontent.hxx | 5 +---- ucb/source/ucp/hierarchy/hierarchydata.hxx | 5 +---- ucb/source/ucp/hierarchy/hierarchydatasource.hxx | 5 +---- ucb/source/ucp/hierarchy/hierarchydatasupplier.hxx | 5 +---- ucb/source/ucp/hierarchy/hierarchyprovider.hxx | 5 +---- ucb/source/ucp/hierarchy/hierarchyuri.hxx | 5 +---- ucb/source/ucp/inc/urihelper.hxx | 5 +---- ucb/source/ucp/package/pkgcontent.hxx | 5 +---- ucb/source/ucp/package/pkgdatasupplier.hxx | 5 +---- ucb/source/ucp/package/pkgprovider.hxx | 5 +---- ucb/source/ucp/package/pkgresultset.hxx | 5 +---- ucb/source/ucp/package/pkguri.hxx | 5 +---- ucb/source/ucp/tdoc/tdoc_content.hxx | 5 +---- ucb/source/ucp/tdoc/tdoc_datasupplier.hxx | 5 +---- ucb/source/ucp/tdoc/tdoc_docmgr.hxx | 5 +---- ucb/source/ucp/tdoc/tdoc_documentcontentfactory.hxx | 5 +---- ucb/source/ucp/tdoc/tdoc_passwordrequest.hxx | 5 +---- ucb/source/ucp/tdoc/tdoc_provider.hxx | 5 +---- ucb/source/ucp/tdoc/tdoc_resultset.hxx | 5 +---- ucb/source/ucp/tdoc/tdoc_stgelems.hxx | 5 +---- ucb/source/ucp/tdoc/tdoc_storage.hxx | 5 +---- ucb/source/ucp/tdoc/tdoc_uri.hxx | 5 +---- ucb/source/ucp/webdav-neon/DAVAuthListener.hxx | 5 +---- ucb/source/ucp/webdav-neon/DAVAuthListenerImpl.hxx | 5 +---- ucb/source/ucp/webdav-neon/DAVException.hxx | 5 +---- ucb/source/ucp/webdav-neon/DAVProperties.hxx | 5 +---- ucb/source/ucp/webdav-neon/DAVRequestEnvironment.hxx | 5 +---- ucb/source/ucp/webdav-neon/DAVResource.hxx | 5 +---- ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx | 5 +---- ucb/source/ucp/webdav-neon/DAVSession.hxx | 5 +---- ucb/source/ucp/webdav-neon/DAVSessionFactory.hxx | 5 +---- ucb/source/ucp/webdav-neon/DAVTypes.hxx | 5 +---- ucb/source/ucp/webdav-neon/DateTimeHelper.hxx | 5 +---- ucb/source/ucp/webdav-neon/LinkSequence.hxx | 5 +---- ucb/source/ucp/webdav-neon/LockEntrySequence.hxx | 5 +---- ucb/source/ucp/webdav-neon/LockSequence.hxx | 5 +---- ucb/source/ucp/webdav-neon/NeonHeadRequest.hxx | 5 +---- ucb/source/ucp/webdav-neon/NeonInputStream.hxx | 4 +--- ucb/source/ucp/webdav-neon/NeonLockStore.hxx | 5 +---- ucb/source/ucp/webdav-neon/NeonPropFindRequest.hxx | 5 +---- ucb/source/ucp/webdav-neon/NeonSession.hxx | 5 +---- ucb/source/ucp/webdav-neon/NeonTypes.hxx | 5 +---- ucb/source/ucp/webdav-neon/NeonUri.hxx | 5 +---- ucb/source/ucp/webdav-neon/PropertyMap.hxx | 5 +---- ucb/source/ucp/webdav-neon/PropfindCache.hxx | 5 +---- ucb/source/ucp/webdav-neon/UCBDeadPropertyValue.hxx | 5 +---- ucb/source/ucp/webdav-neon/webdavcontent.hxx | 5 +---- ucb/source/ucp/webdav-neon/webdavdatasupplier.hxx | 5 +---- ucb/source/ucp/webdav-neon/webdavprovider.hxx | 5 +---- ucb/source/ucp/webdav-neon/webdavresultset.hxx | 5 +---- ucb/source/ucp/webdav/AprEnv.hxx | 5 +---- ucb/source/ucp/webdav/ContentProperties.hxx | 5 +---- ucb/source/ucp/webdav/DAVAuthListener.hxx | 5 +---- ucb/source/ucp/webdav/DAVAuthListenerImpl.hxx | 5 +---- ucb/source/ucp/webdav/DAVException.hxx | 5 +---- ucb/source/ucp/webdav/DAVProperties.hxx | 5 +---- ucb/source/ucp/webdav/DAVRequestEnvironment.hxx | 5 +---- ucb/source/ucp/webdav/DAVResource.hxx | 5 +---- ucb/source/ucp/webdav/DAVResourceAccess.hxx | 5 +---- ucb/source/ucp/webdav/DAVSession.hxx | 5 +---- ucb/source/ucp/webdav/DAVSessionFactory.hxx | 5 +---- ucb/source/ucp/webdav/DAVTypes.hxx | 5 +---- ucb/source/ucp/webdav/DateTimeHelper.hxx | 5 +---- ucb/source/ucp/webdav/PropertyMap.hxx | 5 +---- ucb/source/ucp/webdav/SerfCallbacks.hxx | 5 +---- ucb/source/ucp/webdav/SerfCopyReqProcImpl.hxx | 5 +---- ucb/source/ucp/webdav/SerfDeleteReqProcImpl.hxx | 5 +---- ucb/source/ucp/webdav/SerfGetReqProcImpl.hxx | 5 +---- ucb/source/ucp/webdav/SerfHeadReqProcImpl.hxx | 5 +---- ucb/source/ucp/webdav/SerfInputStream.hxx | 5 +---- ucb/source/ucp/webdav/SerfLockReqProcImpl.hxx | 5 +---- ucb/source/ucp/webdav/SerfLockStore.hxx | 5 +---- ucb/source/ucp/webdav/SerfMkColReqProcImpl.hxx | 5 +---- ucb/source/ucp/webdav/SerfMoveReqProcImpl.hxx | 5 +---- ucb/source/ucp/webdav/SerfPostReqProcImpl.hxx | 5 +---- ucb/source/ucp/webdav/SerfPropFindReqProcImpl.hxx | 5 +---- ucb/source/ucp/webdav/SerfPropPatchReqProcImpl.hxx | 5 +---- ucb/source/ucp/webdav/SerfPutReqProcImpl.hxx | 5 +---- ucb/source/ucp/webdav/SerfRequestProcessor.hxx | 5 +---- ucb/source/ucp/webdav/SerfRequestProcessorImpl.hxx | 5 +---- ucb/source/ucp/webdav/SerfSession.hxx | 5 +---- ucb/source/ucp/webdav/SerfUnlockReqProcImpl.hxx | 5 +---- ucb/source/ucp/webdav/SerfUri.hxx | 5 +---- ucb/source/ucp/webdav/UCBDeadPropertyValue.hxx | 5 +---- ucb/source/ucp/webdav/webdavcontent.hxx | 5 +---- ucb/source/ucp/webdav/webdavdatasupplier.hxx | 5 +---- ucb/source/ucp/webdav/webdavprovider.hxx | 5 +---- ucb/source/ucp/webdav/webdavresponseparser.hxx | 5 +---- ucb/source/ucp/webdav/webdavresultset.hxx | 5 +---- unodevtools/inc/options.hxx | 5 +---- unodevtools/source/skeletonmaker/skeletoncommon.hxx | 5 +---- unodevtools/source/skeletonmaker/skeletoncpp.hxx | 5 +---- unodevtools/source/skeletonmaker/skeletonjava.hxx | 5 +---- unoidl/source/sourceprovider-scanner.hxx | 5 +---- unoidl/source/sourcetreeprovider.hxx | 5 +---- unotest/source/cpp/getargument.hxx | 5 +---- unotools/source/config/itemholder1.hxx | 5 +---- unotools/source/misc/ServiceDocumenter.hxx | 4 +--- unotools/source/ucbhelper/XTempFile.hxx | 4 +--- unotools/source/ucbhelper/ucblockbytes.hxx | 5 +---- unoxml/inc/event.hxx | 4 +--- unoxml/inc/eventdispatcher.hxx | 5 +---- unoxml/inc/mouseevent.hxx | 4 +--- unoxml/inc/mutationevent.hxx | 4 +--- unoxml/inc/node.hxx | 5 +---- unoxml/inc/uievent.hxx | 4 +--- unoxml/source/dom/attr.hxx | 5 +---- unoxml/source/dom/attributesmap.hxx | 5 +---- unoxml/source/dom/cdatasection.hxx | 5 +---- unoxml/source/dom/characterdata.hxx | 5 +---- unoxml/source/dom/childlist.hxx | 5 +---- unoxml/source/dom/comment.hxx | 5 +---- unoxml/source/dom/document.hxx | 5 +---- unoxml/source/dom/documentbuilder.hxx | 5 +---- unoxml/source/dom/documentfragment.hxx | 4 +--- unoxml/source/dom/documenttype.hxx | 4 +--- unoxml/source/dom/domimplementation.hxx | 4 +--- unoxml/source/dom/element.hxx | 5 +---- unoxml/source/dom/elementlist.hxx | 5 +---- unoxml/source/dom/entitiesmap.hxx | 5 +---- unoxml/source/dom/entity.hxx | 5 +---- unoxml/source/dom/entityreference.hxx | 4 +--- unoxml/source/dom/notation.hxx | 5 +---- unoxml/source/dom/notationsmap.hxx | 5 +---- unoxml/source/dom/processinginstruction.hxx | 5 +---- unoxml/source/dom/saxbuilder.hxx | 5 +---- unoxml/source/dom/text.hxx | 4 +--- unoxml/source/xpath/nodelist.hxx | 5 +---- unoxml/source/xpath/xpathapi.hxx | 5 +---- unoxml/source/xpath/xpathobject.hxx | 5 +---- uui/inc/ids.hrc | 5 +---- uui/inc/ids.hxx | 5 +---- uui/inc/strings.hrc | 5 +---- uui/source/alreadyopen.hxx | 5 +---- uui/source/authfallbackdlg.hxx | 5 +---- uui/source/filechanged.hxx | 5 +---- uui/source/fltdlg.hxx | 5 +---- uui/source/getcontinuations.hxx | 5 +---- uui/source/iahndl.hxx | 5 +---- uui/source/lockcorrupt.hxx | 5 +---- uui/source/lockfailed.hxx | 5 +---- uui/source/logindlg.hxx | 5 +---- uui/source/loginerr.hxx | 5 +---- uui/source/masterpasscrtdlg.hxx | 5 +---- uui/source/masterpassworddlg.hxx | 5 +---- uui/source/nameclashdlg.hxx | 5 +---- uui/source/openlocked.hxx | 5 +---- uui/source/passwordcontainer.hxx | 5 +---- uui/source/passworddlg.hxx | 5 +---- uui/source/requeststringresolver.hxx | 5 +---- uui/source/secmacrowarnings.hxx | 5 +---- uui/source/sslwarndlg.hxx | 5 +---- uui/source/trylater.hxx | 5 +---- uui/source/unknownauthdlg.hxx | 5 +---- 219 files changed, 219 insertions(+), 858 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 @@ -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 @@ -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 @@ -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 @@ -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 #include @@ -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 #include @@ -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 @@ -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 @@ -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 #include @@ -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 #include @@ -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 @@ -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 @@ -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 @@ -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 #include @@ -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 #include @@ -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 @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 @@ -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 #include @@ -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(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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 -#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 @@ -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 @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #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 #include @@ -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 #include @@ -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 #include @@ -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 #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 #include @@ -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 @@ -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 #include @@ -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 #include @@ -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 #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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 @@ -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 #include @@ -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 @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 @@ -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 #include @@ -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 #include @@ -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 @@ -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 #include @@ -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 @@ -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 #include @@ -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 #include @@ -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 @@ -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 @@ -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 @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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++ includes 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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #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 #include @@ -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 #include @@ -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 @@ -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 @@ -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 @@ -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 #include @@ -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 @@ -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 #include @@ -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 #include @@ -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++ includes 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 #include @@ -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 #include @@ -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 #include @@ -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 @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 #include @@ -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 @@ -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 @@ -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 #include @@ -36,6 +35,4 @@ std::vector parseWebDAVPropNameResponse(const css::uno::Reference& 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 #include @@ -46,6 +45,4 @@ public: } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unodevtools/inc/options.hxx b/unodevtools/inc/options.hxx index 882d5c6488bf..d9b557d06a28 100644 --- a/unodevtools/inc/options.hxx +++ b/unodevtools/inc/options.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNODEVTOOLS_INC_OPTIONS_HXX -#define INCLUDED_UNODEVTOOLS_INC_OPTIONS_HXX +#pragma once #include @@ -37,6 +36,4 @@ bool readOption( const char * pOpt, } // end of namespace unodevtools -#endif // INCLUDED_UNODEVTOOLS_INC_OPTIONS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unodevtools/source/skeletonmaker/skeletoncommon.hxx b/unodevtools/source/skeletonmaker/skeletoncommon.hxx index 64c52eb59d65..b6e6d0d74c19 100644 --- a/unodevtools/source/skeletonmaker/skeletoncommon.hxx +++ b/unodevtools/source/skeletonmaker/skeletoncommon.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_UNODEVTOOLS_SOURCE_SKELETONMAKER_SKELETONCOMMON_HXX -#define INCLUDED_UNODEVTOOLS_SOURCE_SKELETONMAKER_SKELETONCOMMON_HXX +#pragma once #include @@ -137,6 +136,4 @@ void generateFunctionParameterMap(std::ostream& o, } -#endif // INCLUDED_UNODEVTOOLS_SOURCE_SKELETONMAKER_SKELETONCOMMON_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unodevtools/source/skeletonmaker/skeletoncpp.hxx b/unodevtools/source/skeletonmaker/skeletoncpp.hxx index 9599c97d8246..822c92bb3415 100644 --- a/unodevtools/source/skeletonmaker/skeletoncpp.hxx +++ b/unodevtools/source/skeletonmaker/skeletoncpp.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_UNODEVTOOLS_SOURCE_SKELETONMAKER_SKELETONCPP_HXX -#define INCLUDED_UNODEVTOOLS_SOURCE_SKELETONMAKER_SKELETONCPP_HXX +#pragma once #include #include @@ -92,6 +91,4 @@ void generateXDispatchProvider(std::ostream& o, } -#endif // INCLUDED_UNODEVTOOLS_SOURCE_SKELETONMAKER_SKELETONCPP_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unodevtools/source/skeletonmaker/skeletonjava.hxx b/unodevtools/source/skeletonmaker/skeletonjava.hxx index be389487f399..7ba2b8e2e004 100644 --- a/unodevtools/source/skeletonmaker/skeletonjava.hxx +++ b/unodevtools/source/skeletonmaker/skeletonjava.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_UNODEVTOOLS_SOURCE_SKELETONMAKER_SKELETONJAVA_HXX -#define INCLUDED_UNODEVTOOLS_SOURCE_SKELETONMAKER_SKELETONJAVA_HXX +#pragma once #include #include @@ -55,6 +54,4 @@ void generateXPropertyAccessBodies(std::ostream& o); } -#endif // INCLUDED_UNODEVTOOLS_SOURCE_SKELETONMAKER_SKELETONJAVA_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoidl/source/sourceprovider-scanner.hxx b/unoidl/source/sourceprovider-scanner.hxx index afd8b2e79b12..2d33c39cbf25 100644 --- a/unoidl/source/sourceprovider-scanner.hxx +++ b/unoidl/source/sourceprovider-scanner.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_UNOIDL_SOURCE_SOURCEPROVIDER_SCANNER_HXX -#define INCLUDED_UNOIDL_SOURCE_SOURCEPROVIDER_SCANNER_HXX +#pragma once #include @@ -325,6 +324,4 @@ int yylex(YYSTYPE * yylval_param, YYLTYPE * yylloc_param, yyscan_t yyscanner); unoidl::detail::SourceProviderScannerData * yyget_extra(yyscan_t yyscanner); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoidl/source/sourcetreeprovider.hxx b/unoidl/source/sourcetreeprovider.hxx index e98ee7383fad..3318a6dee02b 100644 --- a/unoidl/source/sourcetreeprovider.hxx +++ b/unoidl/source/sourcetreeprovider.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_UNOIDL_SOURCE_SOURCETREEPROVIDER_HXX -#define INCLUDED_UNOIDL_SOURCE_SOURCETREEPROVIDER_HXX +#pragma once #include @@ -40,6 +39,4 @@ private: }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unotest/source/cpp/getargument.hxx b/unotest/source/cpp/getargument.hxx index e72eb59438a0..1a95e487b39b 100644 --- a/unotest/source/cpp/getargument.hxx +++ b/unotest/source/cpp/getargument.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOTEST_SOURCE_CPP_GETARGUMENT_HXX -#define INCLUDED_UNOTEST_SOURCE_CPP_GETARGUMENT_HXX +#pragma once #include @@ -39,6 +38,4 @@ bool getArgument( } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unotools/source/config/itemholder1.hxx b/unotools/source/config/itemholder1.hxx index c632eedc72e7..8762938e968d 100644 --- a/unotools/source/config/itemholder1.hxx +++ b/unotools/source/config/itemholder1.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOTOOLS_SOURCE_CONFIG_ITEMHOLDER1_HXX -#define INCLUDED_UNOTOOLS_SOURCE_CONFIG_ITEMHOLDER1_HXX +#pragma once #include #include @@ -57,6 +56,4 @@ class ItemHolder1 : private ItemHolderMutexBase #undef css -#endif // INCLUDED_UNOTOOLS_SOURCE_CONFIG_ITEMHOLDER1_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unotools/source/misc/ServiceDocumenter.hxx b/unotools/source/misc/ServiceDocumenter.hxx index 3d5e4d75f7c4..9cef2bf01172 100644 --- a/unotools/source/misc/ServiceDocumenter.hxx +++ b/unotools/source/misc/ServiceDocumenter.hxx @@ -6,8 +6,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_UNOTOOLS_INC_SERVICEDOCUMENTER_HXX -#define INCLUDED_UNOTOOLS_INC_SERVICEDOCUMENTER_HXX +#pragma once #include #include @@ -54,5 +53,4 @@ class ServiceDocumenter : public ::cppu::WeakImplHelper< }; } -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unotools/source/ucbhelper/XTempFile.hxx b/unotools/source/ucbhelper/XTempFile.hxx index 50251312daa5..f390f37ba958 100644 --- a/unotools/source/ucbhelper/XTempFile.hxx +++ b/unotools/source/ucbhelper/XTempFile.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOTOOLS_SOURCE_UCBHELPER_XTEMPFILE_HXX -#define INCLUDED_UNOTOOLS_SOURCE_UCBHELPER_XTEMPFILE_HXX +#pragma once #include #include @@ -118,6 +117,5 @@ public: virtual ~OTempFileService () override; }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unotools/source/ucbhelper/ucblockbytes.hxx b/unotools/source/ucbhelper/ucblockbytes.hxx index df1e237e9415..6345ead51ba7 100644 --- a/unotools/source/ucbhelper/ucblockbytes.hxx +++ b/unotools/source/ucbhelper/ucblockbytes.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOTOOLS_UCBLOCKBYTES_HXX -#define INCLUDED_UNOTOOLS_UCBLOCKBYTES_HXX +#pragma once #include @@ -137,6 +136,4 @@ public: } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/inc/event.hxx b/unoxml/inc/event.hxx index f44bb35f9b3b..c33d8f9d3b3c 100644 --- a/unoxml/inc/event.hxx +++ b/unoxml/inc/event.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_INC_EVENT_HXX -#define INCLUDED_UNOXML_INC_EVENT_HXX +#pragma once #include @@ -66,6 +65,5 @@ public: sal_Bool cancelableArg) override; }; } -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/inc/eventdispatcher.hxx b/unoxml/inc/eventdispatcher.hxx index 10bcb0a440c4..9ecd42585d3c 100644 --- a/unoxml/inc/eventdispatcher.hxx +++ b/unoxml/inc/eventdispatcher.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_INC_EVENTDISPATCHER_HXX -#define INCLUDED_UNOXML_INC_EVENTDISPATCHER_HXX +#pragma once #include @@ -78,6 +77,4 @@ public: }} -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/inc/mouseevent.hxx b/unoxml/inc/mouseevent.hxx index d88b1208e971..1b4ffe391cb9 100644 --- a/unoxml/inc/mouseevent.hxx +++ b/unoxml/inc/mouseevent.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_INC_MOUSEEVENT_HXX -#define INCLUDED_UNOXML_INC_MOUSEEVENT_HXX +#pragma once #include #include @@ -99,6 +98,5 @@ public: sal_Bool cancelableArg) override; }; } -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/inc/mutationevent.hxx b/unoxml/inc/mutationevent.hxx index e06a3678ad87..0a7bd76b6611 100644 --- a/unoxml/inc/mutationevent.hxx +++ b/unoxml/inc/mutationevent.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_INC_MUTATIONEVENT_HXX -#define INCLUDED_UNOXML_INC_MUTATIONEVENT_HXX +#pragma once #include @@ -82,6 +81,5 @@ public: sal_Bool cancelableArg) override; }; } -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/inc/node.hxx b/unoxml/inc/node.hxx index f91a08421c13..bec0a8c9b8c1 100644 --- a/unoxml/inc/node.hxx +++ b/unoxml/inc/node.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_INC_NODE_HXX -#define INCLUDED_UNOXML_INC_NODE_HXX +#pragma once #include @@ -295,6 +294,4 @@ namespace DOM void nscleanup(const xmlNodePtr aNode, const xmlNodePtr aParent); } -#endif // INCLUDED_UNOXML_INC_NODE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/inc/uievent.hxx b/unoxml/inc/uievent.hxx index 4f449cd3dfaf..cfa39c5c4b77 100644 --- a/unoxml/inc/uievent.hxx +++ b/unoxml/inc/uievent.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_INC_UIEVENT_HXX -#define INCLUDED_UNOXML_INC_UIEVENT_HXX +#pragma once #include @@ -67,6 +66,5 @@ public: sal_Bool cancelableArg) override; }; } -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/dom/attr.hxx b/unoxml/source/dom/attr.hxx index f2091328da72..30c0aa25bb34 100644 --- a/unoxml/source/dom/attr.hxx +++ b/unoxml/source/dom/attr.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_DOM_ATTR_HXX -#define INCLUDED_UNOXML_SOURCE_DOM_ATTR_HXX +#pragma once #include @@ -175,6 +174,4 @@ namespace DOM }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/dom/attributesmap.hxx b/unoxml/source/dom/attributesmap.hxx index 4a1f485b69f6..55f4c6795194 100644 --- a/unoxml/source/dom/attributesmap.hxx +++ b/unoxml/source/dom/attributesmap.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_DOM_ATTRIBUTESMAP_HXX -#define INCLUDED_UNOXML_SOURCE_DOM_ATTRIBUTESMAP_HXX +#pragma once #include #include @@ -93,6 +92,4 @@ namespace DOM }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/dom/cdatasection.hxx b/unoxml/source/dom/cdatasection.hxx index 569d7c7a8359..0cd181ce6f18 100644 --- a/unoxml/source/dom/cdatasection.hxx +++ b/unoxml/source/dom/cdatasection.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_DOM_CDATASECTION_HXX -#define INCLUDED_UNOXML_SOURCE_DOM_CDATASECTION_HXX +#pragma once #include #include @@ -187,6 +186,4 @@ namespace DOM } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/dom/characterdata.hxx b/unoxml/source/dom/characterdata.hxx index 8a3179d3de77..7728f65ef135 100644 --- a/unoxml/source/dom/characterdata.hxx +++ b/unoxml/source/dom/characterdata.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_DOM_CHARACTERDATA_HXX -#define INCLUDED_UNOXML_SOURCE_DOM_CHARACTERDATA_HXX +#pragma once #include @@ -199,6 +198,4 @@ namespace DOM }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/dom/childlist.hxx b/unoxml/source/dom/childlist.hxx index c9a2697a4464..091a8e450837 100644 --- a/unoxml/source/dom/childlist.hxx +++ b/unoxml/source/dom/childlist.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_DOM_CHILDLIST_HXX -#define INCLUDED_UNOXML_SOURCE_DOM_CHILDLIST_HXX +#pragma once #include #include @@ -57,6 +56,4 @@ namespace DOM }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/dom/comment.hxx b/unoxml/source/dom/comment.hxx index 66fc8cd2795f..94b8f1f58038 100644 --- a/unoxml/source/dom/comment.hxx +++ b/unoxml/source/dom/comment.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_DOM_COMMENT_HXX -#define INCLUDED_UNOXML_SOURCE_DOM_COMMENT_HXX +#pragma once #include #include @@ -181,6 +180,4 @@ namespace DOM }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/dom/document.hxx b/unoxml/source/dom/document.hxx index 8666d2185f0d..a26da7fcd169 100644 --- a/unoxml/source/dom/document.hxx +++ b/unoxml/source/dom/document.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_DOM_DOCUMENT_HXX -#define INCLUDED_UNOXML_SOURCE_DOM_DOCUMENT_HXX +#pragma once #include #include @@ -335,6 +334,4 @@ namespace DOM }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/dom/documentbuilder.hxx b/unoxml/source/dom/documentbuilder.hxx index 4c9af65b2b8a..40edc4525979 100644 --- a/unoxml/source/dom/documentbuilder.hxx +++ b/unoxml/source/dom/documentbuilder.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_DOM_DOCUMENTBUILDER_HXX -#define INCLUDED_UNOXML_SOURCE_DOM_DOCUMENTBUILDER_HXX +#pragma once #include @@ -126,6 +125,4 @@ namespace DOM }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/dom/documentfragment.hxx b/unoxml/source/dom/documentfragment.hxx index ba82735d36e7..7bb3c187b236 100644 --- a/unoxml/source/dom/documentfragment.hxx +++ b/unoxml/source/dom/documentfragment.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_DOM_DOCUMENTFRAGMENT_HXX -#define INCLUDED_UNOXML_SOURCE_DOM_DOCUMENTFRAGMENT_HXX +#pragma once #include #include @@ -146,6 +145,5 @@ namespace DOM }; } -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/dom/documenttype.hxx b/unoxml/source/dom/documenttype.hxx index 964bab03804f..48f857bf7ee3 100644 --- a/unoxml/source/dom/documenttype.hxx +++ b/unoxml/source/dom/documenttype.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_DOM_DOCUMENTTYPE_HXX -#define INCLUDED_UNOXML_SOURCE_DOM_DOCUMENTTYPE_HXX +#pragma once #include @@ -183,6 +182,5 @@ namespace DOM }; } -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/dom/domimplementation.hxx b/unoxml/source/dom/domimplementation.hxx index 095587409235..e2f2509445bc 100644 --- a/unoxml/source/dom/domimplementation.hxx +++ b/unoxml/source/dom/domimplementation.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_DOM_DOMIMPLEMENTATION_HXX -#define INCLUDED_UNOXML_SOURCE_DOM_DOMIMPLEMENTATION_HXX +#pragma once #include @@ -58,6 +57,5 @@ namespace DOM virtual sal_Bool SAL_CALL hasFeature(const OUString& feature, const OUString& ver) override; }; } -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/dom/element.hxx b/unoxml/source/dom/element.hxx index 5e44f14ac8f1..efa048bfe2e1 100644 --- a/unoxml/source/dom/element.hxx +++ b/unoxml/source/dom/element.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_DOM_ELEMENT_HXX -#define INCLUDED_UNOXML_SOURCE_DOM_ELEMENT_HXX +#pragma once #include @@ -243,6 +242,4 @@ namespace DOM } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/dom/elementlist.hxx b/unoxml/source/dom/elementlist.hxx index 16a3eff8c5d2..66ce3bedac18 100644 --- a/unoxml/source/dom/elementlist.hxx +++ b/unoxml/source/dom/elementlist.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_DOM_ELEMENTLIST_HXX -#define INCLUDED_UNOXML_SOURCE_DOM_ELEMENTLIST_HXX +#pragma once #include #include @@ -116,6 +115,4 @@ namespace DOM }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/dom/entitiesmap.hxx b/unoxml/source/dom/entitiesmap.hxx index a239a454e672..7349851ddb46 100644 --- a/unoxml/source/dom/entitiesmap.hxx +++ b/unoxml/source/dom/entitiesmap.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_DOM_ENTITIESMAP_HXX -#define INCLUDED_UNOXML_SOURCE_DOM_ENTITIESMAP_HXX +#pragma once #include @@ -87,6 +86,4 @@ namespace DOM }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/dom/entity.hxx b/unoxml/source/dom/entity.hxx index ff45da5ee6a2..612c06502566 100644 --- a/unoxml/source/dom/entity.hxx +++ b/unoxml/source/dom/entity.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_DOM_ENTITY_HXX -#define INCLUDED_UNOXML_SOURCE_DOM_ENTITY_HXX +#pragma once #include @@ -167,6 +166,4 @@ namespace DOM }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/dom/entityreference.hxx b/unoxml/source/dom/entityreference.hxx index c22390399192..05fd330af785 100644 --- a/unoxml/source/dom/entityreference.hxx +++ b/unoxml/source/dom/entityreference.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_DOM_ENTITYREFERENCE_HXX -#define INCLUDED_UNOXML_SOURCE_DOM_ENTITYREFERENCE_HXX +#pragma once #include @@ -148,6 +147,5 @@ namespace DOM }; } -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/dom/notation.hxx b/unoxml/source/dom/notation.hxx index 58edd720feb5..2a95200f51f6 100644 --- a/unoxml/source/dom/notation.hxx +++ b/unoxml/source/dom/notation.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_DOM_NOTATION_HXX -#define INCLUDED_UNOXML_SOURCE_DOM_NOTATION_HXX +#pragma once #include @@ -155,6 +154,4 @@ namespace DOM }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/dom/notationsmap.hxx b/unoxml/source/dom/notationsmap.hxx index d56f164b00ad..9dac7d968ce6 100644 --- a/unoxml/source/dom/notationsmap.hxx +++ b/unoxml/source/dom/notationsmap.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_DOM_NOTATIONSMAP_HXX -#define INCLUDED_UNOXML_SOURCE_DOM_NOTATIONSMAP_HXX +#pragma once #include @@ -87,6 +86,4 @@ namespace DOM }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/dom/processinginstruction.hxx b/unoxml/source/dom/processinginstruction.hxx index d3233ea5bcaa..e2c027816968 100644 --- a/unoxml/source/dom/processinginstruction.hxx +++ b/unoxml/source/dom/processinginstruction.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_DOM_PROCESSINGINSTRUCTION_HXX -#define INCLUDED_UNOXML_SOURCE_DOM_PROCESSINGINSTRUCTION_HXX +#pragma once #include @@ -163,6 +162,4 @@ namespace DOM }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/dom/saxbuilder.hxx b/unoxml/source/dom/saxbuilder.hxx index 2aa702787bf2..44c9ab4be163 100644 --- a/unoxml/source/dom/saxbuilder.hxx +++ b/unoxml/source/dom/saxbuilder.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_DOM_SAXBUILDER_HXX -#define INCLUDED_UNOXML_SOURCE_DOM_SAXBUILDER_HXX +#pragma once #include @@ -91,6 +90,4 @@ namespace DOM }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/dom/text.hxx b/unoxml/source/dom/text.hxx index 5c38c1db6b8c..d594b158669e 100644 --- a/unoxml/source/dom/text.hxx +++ b/unoxml/source/dom/text.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_DOM_TEXT_HXX -#define INCLUDED_UNOXML_SOURCE_DOM_TEXT_HXX +#pragma once #include @@ -200,6 +199,5 @@ namespace DOM }; } -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/xpath/nodelist.hxx b/unoxml/source/xpath/nodelist.hxx index e1be7861a937..689510dea540 100644 --- a/unoxml/source/xpath/nodelist.hxx +++ b/unoxml/source/xpath/nodelist.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_XPATH_NODELIST_HXX -#define INCLUDED_UNOXML_SOURCE_XPATH_NODELIST_HXX +#pragma once #include #include @@ -68,6 +67,4 @@ namespace XPath }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/xpath/xpathapi.hxx b/unoxml/source/xpath/xpathapi.hxx index 91d5c4b78750..154eb78f722d 100644 --- a/unoxml/source/xpath/xpathapi.hxx +++ b/unoxml/source/xpath/xpathapi.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_XPATH_XPATHAPI_HXX -#define INCLUDED_UNOXML_SOURCE_XPATH_XPATHAPI_HXX +#pragma once #include #include @@ -105,6 +104,4 @@ namespace XPath }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/xpath/xpathobject.hxx b/unoxml/source/xpath/xpathobject.hxx index 8e20bbc55399..41a8e45a096e 100644 --- a/unoxml/source/xpath/xpathobject.hxx +++ b/unoxml/source/xpath/xpathobject.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_SOURCE_XPATH_XPATHOBJECT_HXX -#define INCLUDED_UNOXML_SOURCE_XPATH_XPATHOBJECT_HXX +#pragma once #include @@ -107,6 +106,4 @@ namespace XPath }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/inc/ids.hrc b/uui/inc/ids.hrc index 744542bf7697..6ab1882b3611 100644 --- a/uui/inc/ids.hrc +++ b/uui/inc/ids.hrc @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UUI_INC_IDS_HRC -#define INCLUDED_UUI_INC_IDS_HRC +#pragma once #include @@ -171,6 +170,4 @@ const std::pair RID_UUI_ERRHDL[] = #define STR_UUI_SSLWARN_INVALID NC_("STR_UUI_SSLWARN_INVALID", "The certificate could not be validated. You should examine this site's certificate carefully.\n\nIf you suspect the certificate shown, please cancel the connection and notify the site administrator.") #define STR_UUI_SSLWARN_INVALID_TITLE NC_("STR_UUI_SSLWARN_INVALID_TITLE", "Security Warning: Domain Name Mismatch") -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/inc/ids.hxx b/uui/inc/ids.hxx index 71beff973f02..32ba356a4ee5 100644 --- a/uui/inc/ids.hxx +++ b/uui/inc/ids.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UUI_INC_IDS_HXX -#define INCLUDED_UUI_INC_IDS_HXX +#pragma once #include @@ -88,6 +87,4 @@ #define ERRCODE_UUI_CANNOT_ACTIVATE_FACTORY ErrCode(ErrCodeArea::Uui, 63) #define ERRCODE_UUI_IO_EXOTICFILEFORMAT ErrCode(ErrCodeArea::Uui, 64) -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/inc/strings.hrc b/uui/inc/strings.hrc index ed2d00550273..364175298db7 100644 --- a/uui/inc/strings.hrc +++ b/uui/inc/strings.hrc @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UUI_INC_STRINGS_HRC -#define INCLUDED_UUI_INC_STRINGS_HRC +#pragma once #define NC_(Context, String) reinterpret_cast(Context "\004" u8##String) @@ -77,6 +76,4 @@ #define STR_LOCKCORRUPT_MSG NC_("STR_LOCKCORRUPT_MSG", "The lock file is corrupted and probably empty. Opening the document read-only and closing it again removes the corrupted lock file.") #define STR_LOCKCORRUPT_OPENREADONLY_BTN NC_("STR_LOCKCORRUPT_OPENREADONLY_BTN", "Open ~Read-Only") -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/source/alreadyopen.hxx b/uui/source/alreadyopen.hxx index 685214fb1a5e..b095f7ee58db 100644 --- a/uui/source/alreadyopen.hxx +++ b/uui/source/alreadyopen.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_UUI_SOURCE_ALREADYOPEN_HXX -#define INCLUDED_UUI_SOURCE_ALREADYOPEN_HXX +#pragma once #include @@ -32,6 +31,4 @@ public: short run() { return m_xQueryBox->run(); } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/source/authfallbackdlg.hxx b/uui/source/authfallbackdlg.hxx index b3482f70e85f..cd2f85247f35 100644 --- a/uui/source/authfallbackdlg.hxx +++ b/uui/source/authfallbackdlg.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SVTOOLS_AUTHFALLBACKDLG_HXX -#define INCLUDED_SVTOOLS_AUTHFALLBACKDLG_HXX +#pragma once #include @@ -36,5 +35,3 @@ private: DECL_LINK(OKHdl, weld::Button&, void); DECL_LINK(CancelHdl, weld::Button&, void); }; - -#endif // INCLUDED_SVTOOLS_AUTHFALLBACKDLG_HXX diff --git a/uui/source/filechanged.hxx b/uui/source/filechanged.hxx index f68b793e997a..66ead034738a 100644 --- a/uui/source/filechanged.hxx +++ b/uui/source/filechanged.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_UUI_SOURCE_FILECHANGED_HXX -#define INCLUDED_UUI_SOURCE_FILECHANGED_HXX +#pragma once #include @@ -31,6 +30,4 @@ public: short run() { return m_xQueryBox->run(); } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/source/fltdlg.hxx b/uui/source/fltdlg.hxx index 5f788073c41c..a0d829820cb6 100644 --- a/uui/source/fltdlg.hxx +++ b/uui/source/fltdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UUI_SOURCE_FLTDLG_HXX -#define INCLUDED_UUI_SOURCE_FLTDLG_HXX +#pragma once #include @@ -59,6 +58,4 @@ class FilterDialog : public weld::GenericDialogController } // namespace uui -#endif // INCLUDED_UUI_SOURCE_FLTDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/source/getcontinuations.hxx b/uui/source/getcontinuations.hxx index 6ea1f55fa067..4d22d8736e17 100644 --- a/uui/source/getcontinuations.hxx +++ b/uui/source/getcontinuations.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UUI_SOURCE_GETCONTINUATIONS_HXX -#define INCLUDED_UUI_SOURCE_GETCONTINUATIONS_HXX +#pragma once #include #include @@ -100,6 +99,4 @@ void getContinuations( } } -#endif // INCLUDED_UUI_SOURCE_GETCONTINUATIONS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/source/iahndl.hxx b/uui/source/iahndl.hxx index b1ffb347a23f..ff6973245dad 100644 --- a/uui/source/iahndl.hxx +++ b/uui/source/iahndl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UUI_SOURCE_IAHNDL_HXX -#define INCLUDED_UUI_SOURCE_IAHNDL_HXX +#pragma once #include @@ -257,6 +256,4 @@ public: bool getString(ErrCode nErrorCode, OUString &rString) const; }; -#endif // INCLUDED_UUI_SOURCE_IAHNDL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/source/lockcorrupt.hxx b/uui/source/lockcorrupt.hxx index 146757f2708e..1ca51c3faec5 100644 --- a/uui/source/lockcorrupt.hxx +++ b/uui/source/lockcorrupt.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_UUI_SOURCE_LOCKCORRUPT_HXX -#define INCLUDED_UUI_SOURCE_LOCKCORRUPT_HXX +#pragma once #include @@ -31,6 +30,4 @@ public: short run() { return m_xQueryBox->run(); } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/source/lockfailed.hxx b/uui/source/lockfailed.hxx index d7c4c11f313c..8351e8b631b6 100644 --- a/uui/source/lockfailed.hxx +++ b/uui/source/lockfailed.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_UUI_SOURCE_LOCKFAILED_HXX -#define INCLUDED_UUI_SOURCE_LOCKFAILED_HXX +#pragma once #include @@ -31,6 +30,4 @@ public: short run() { return m_xQueryBox->run(); } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/source/logindlg.hxx b/uui/source/logindlg.hxx index ff799f4501ff..0b3d57f1d885 100644 --- a/uui/source/logindlg.hxx +++ b/uui/source/logindlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UUI_SOURCE_LOGINDLG_HXX -#define INCLUDED_UUI_SOURCE_LOGINDLG_HXX +#pragma once #include #include @@ -82,6 +81,4 @@ public: }; -#endif // INCLUDED_UUI_SOURCE_LOGINDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/source/loginerr.hxx b/uui/source/loginerr.hxx index f0dd879e455b..fb8f17a8228d 100644 --- a/uui/source/loginerr.hxx +++ b/uui/source/loginerr.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UUI_SOURCE_LOGINERR_HXX -#define INCLUDED_UUI_SOURCE_LOGINERR_HXX +#pragma once #include #include @@ -155,7 +154,5 @@ inline void LoginErrorInfo::SetModifyUserName( bool bSet ) m_nFlags &= ~LOGINERROR_FLAG_MODIFY_USER_NAME; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/source/masterpasscrtdlg.hxx b/uui/source/masterpasscrtdlg.hxx index c19ecb23e194..a8695fc1ed27 100644 --- a/uui/source/masterpasscrtdlg.hxx +++ b/uui/source/masterpasscrtdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UUI_SOURCE_MASTERPASSCRTDLG_HXX -#define INCLUDED_UUI_SOURCE_MASTERPASSCRTDLG_HXX +#pragma once #include @@ -41,6 +40,4 @@ public: OUString GetMasterPassword() const { return m_xEDMasterPasswordCrt->get_text(); } }; -#endif // INCLUDED_UUI_SOURCE_MASTERPASSCRTDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/source/masterpassworddlg.hxx b/uui/source/masterpassworddlg.hxx index bbe67558ea6f..26f6ebb9ee85 100644 --- a/uui/source/masterpassworddlg.hxx +++ b/uui/source/masterpassworddlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UUI_SOURCE_MASTERPASSWORDDLG_HXX -#define INCLUDED_UUI_SOURCE_MASTERPASSWORDDLG_HXX +#pragma once #include #include @@ -39,6 +38,4 @@ public: OUString GetMasterPassword() const { return m_xEDMasterPassword->get_text(); } }; -#endif // INCLUDED_UUI_SOURCE_MASTERPASSWORDDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/source/nameclashdlg.hxx b/uui/source/nameclashdlg.hxx index 39d9af835f58..eac673b3e784 100644 --- a/uui/source/nameclashdlg.hxx +++ b/uui/source/nameclashdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UUI_SOURCE_NAMECLASHDLG_HXX -#define INCLUDED_UUI_SOURCE_NAMECLASHDLG_HXX +#pragma once #include @@ -47,6 +46,4 @@ public: const OUString& getNewName() const { return m_aNewName; } }; -#endif // UUI_COOKIEDG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/source/openlocked.hxx b/uui/source/openlocked.hxx index 7fdcd49ac591..178269a62b35 100644 --- a/uui/source/openlocked.hxx +++ b/uui/source/openlocked.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_UUI_SOURCE_OPENLOCKED_HXX -#define INCLUDED_UUI_SOURCE_OPENLOCKED_HXX +#pragma once #include @@ -32,6 +31,4 @@ public: short run() { return m_xQueryBox->run(); } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/source/passwordcontainer.hxx b/uui/source/passwordcontainer.hxx index cb4d5a533507..a18951161a80 100644 --- a/uui/source/passwordcontainer.hxx +++ b/uui/source/passwordcontainer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UUI_SOURCE_PASSWORDCONTAINER_HXX -#define INCLUDED_UUI_SOURCE_PASSWORDCONTAINER_HXX +#pragma once #include @@ -156,6 +155,4 @@ private: } // namespace uui -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/source/passworddlg.hxx b/uui/source/passworddlg.hxx index 2f9c21b71f39..c21c4c3ba82f 100644 --- a/uui/source/passworddlg.hxx +++ b/uui/source/passworddlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UUI_SOURCE_PASSWORDDLG_HXX -#define INCLUDED_UUI_SOURCE_PASSWORDDLG_HXX +#pragma once #include #include @@ -44,6 +43,4 @@ public: OUString GetPassword() const { return m_xEDPassword->get_text(); } }; -#endif // INCLUDED_UUI_SOURCE_PASSWORDDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/source/requeststringresolver.hxx b/uui/source/requeststringresolver.hxx index 27a94e6ba299..685a18038c86 100644 --- a/uui/source/requeststringresolver.hxx +++ b/uui/source/requeststringresolver.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UUI_SOURCE_REQUESTSTRINGRESOLVER_HXX -#define INCLUDED_UUI_SOURCE_REQUESTSTRINGRESOLVER_HXX +#pragma once #include #include @@ -58,6 +57,4 @@ private: const css::uno::Reference< css::task::XInteractionRequest >& Request ) override; }; -#endif // INCLUDED_UUI_SOURCE_REQUESTSTRINGRESOLVER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/source/secmacrowarnings.hxx b/uui/source/secmacrowarnings.hxx index b91cc092c708..71660fe7d0ff 100644 --- a/uui/source/secmacrowarnings.hxx +++ b/uui/source/secmacrowarnings.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UUI_SOURCE_SECMACROWARNINGS_HXX -#define INCLUDED_UUI_SOURCE_SECMACROWARNINGS_HXX +#pragma once #include #include @@ -65,6 +64,4 @@ public: void SetCertificate( const css::uno::Reference< css::security::XCertificate >& _rxCert ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/source/sslwarndlg.hxx b/uui/source/sslwarndlg.hxx index 070379624941..2762be4613a9 100644 --- a/uui/source/sslwarndlg.hxx +++ b/uui/source/sslwarndlg.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_UUI_SOURCE_SSLWARNDLG_HXX -#define INCLUDED_UUI_SOURCE_SSLWARNDLG_HXX +#pragma once #include #include @@ -42,6 +41,4 @@ public: void setDescription1Text(const OUString& rText) { m_xDialog->set_primary_text(rText); } }; -#endif // INCLUDED_UUI_SOURCE_SSLWARNDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/source/trylater.hxx b/uui/source/trylater.hxx index 8d1fbe62fd05..4f449dfacebe 100644 --- a/uui/source/trylater.hxx +++ b/uui/source/trylater.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_UUI_SOURCE_TRYLATER_HXX -#define INCLUDED_UUI_SOURCE_TRYLATER_HXX +#pragma once #include @@ -32,6 +31,4 @@ public: short run() { return m_xQueryBox->run(); } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/source/unknownauthdlg.hxx b/uui/source/unknownauthdlg.hxx index 43e5b062e312..6c51ec4ebd3e 100644 --- a/uui/source/unknownauthdlg.hxx +++ b/uui/source/unknownauthdlg.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_UUI_SOURCE_UNKNOWNAUTHDLG_HXX -#define INCLUDED_UUI_SOURCE_UNKNOWNAUTHDLG_HXX +#pragma once #include #include @@ -51,6 +50,4 @@ public: } }; -#endif // INCLUDED_UUI_SOURCE_UNKNOWNAUTHDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit