tdf#124176 Use #pragma once in configmgr

This commit was carried out by a Python script, source of which
is at https://bugs.documentfoundation.org/show_bug.cgi?id=124176#c97.

Change-Id: Ide38653f1828752b90d7e312471c9facb99646a9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100252
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
George Bateman
2020-08-06 14:36:13 +00:00
committed by Julien Nabet
parent 505795db3f
commit 6efb746a8c
30 changed files with 30 additions and 120 deletions

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_ACCESS_HXX
#define INCLUDED_CONFIGMGR_SOURCE_ACCESS_HXX
#pragma once
#include <sal/config.h>
@@ -448,6 +447,4 @@ protected:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_ADDITIONS_HXX
#define INCLUDED_CONFIGMGR_SOURCE_ADDITIONS_HXX
#pragma once
#include <sal/config.h>
@@ -32,6 +31,4 @@ typedef std::vector< std::vector<OUString> > Additions;
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_BROADCASTER_HXX
#define INCLUDED_CONFIGMGR_SOURCE_BROADCASTER_HXX
#pragma once
#include <sal/config.h>
@@ -137,6 +136,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_CHILDACCESS_HXX
#define INCLUDED_CONFIGMGR_SOURCE_CHILDACCESS_HXX
#pragma once
#include <sal/config.h>
@@ -134,6 +133,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_COMPONENTS_HXX
#define INCLUDED_CONFIGMGR_SOURCE_COMPONENTS_HXX
#pragma once
#include <sal/config.h>
@@ -163,6 +162,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_CONFIGURATIONPROVIDER_HXX
#define INCLUDED_CONFIGMGR_SOURCE_CONFIGURATIONPROVIDER_HXX
#pragma once
#include <sal/config.h>
@@ -40,6 +39,4 @@ css::uno::Reference< css::uno::XInterface > createDefault(
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_DATA_HXX
#define INCLUDED_CONFIGMGR_SOURCE_DATA_HXX
#pragma once
#include <sal/config.h>
@@ -97,6 +96,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_DCONF_HXX
#define INCLUDED_CONFIGMGR_SOURCE_DCONF_HXX
#pragma once
#include <sal/config.h>
@@ -25,6 +24,4 @@ void writeModifications(Components & components, Data & data);
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_DEFAULTPROVIDER_HXX
#define INCLUDED_CONFIGMGR_SOURCE_DEFAULTPROVIDER_HXX
#pragma once
#include <sal/config.h>
@@ -34,6 +33,4 @@ getSupportedServiceNames();
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_GROUPNODE_HXX
#define INCLUDED_CONFIGMGR_SOURCE_GROUPNODE_HXX
#pragma once
#include <sal/config.h>
@@ -62,6 +61,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_LOCALIZEDPROPERTYNODE_HXX
#define INCLUDED_CONFIGMGR_SOURCE_LOCALIZEDPROPERTYNODE_HXX
#pragma once
#include <sal/config.h>
@@ -59,6 +58,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_LOCALIZEDVALUENODE_HXX
#define INCLUDED_CONFIGMGR_SOURCE_LOCALIZEDVALUENODE_HXX
#pragma once
#include <sal/config.h>
@@ -60,6 +59,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_LOCK_HXX
#define INCLUDED_CONFIGMGR_SOURCE_LOCK_HXX
#pragma once
#include <sal/config.h>
#include <osl/mutex.hxx>
@@ -30,6 +29,4 @@ std::shared_ptr<osl::Mutex> const & lock();
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_MODIFICATIONS_HXX
#define INCLUDED_CONFIGMGR_SOURCE_MODIFICATIONS_HXX
#pragma once
#include <sal/config.h>
@@ -64,6 +63,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_NODE_HXX
#define INCLUDED_CONFIGMGR_SOURCE_NODE_HXX
#pragma once
#include <sal/config.h>
@@ -66,6 +65,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_NODEMAP_HXX
#define INCLUDED_CONFIGMGR_SOURCE_NODEMAP_HXX
#pragma once
#include <sal/config.h>
#include "config_map.hxx"
@@ -66,6 +65,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_PARSEMANAGER_HXX
#define INCLUDED_CONFIGMGR_SOURCE_PARSEMANAGER_HXX
#pragma once
#include <sal/config.h>
@@ -54,6 +53,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_PARSER_HXX
#define INCLUDED_CONFIGMGR_SOURCE_PARSER_HXX
#pragma once
#include <sal/config.h>
@@ -51,6 +50,4 @@ protected:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_PARTIAL_HXX
#define INCLUDED_CONFIGMGR_SOURCE_PARTIAL_HXX
#pragma once
#include <sal/config.h>
@@ -60,6 +59,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_PROPERTYNODE_HXX
#define INCLUDED_CONFIGMGR_SOURCE_PROPERTYNODE_HXX
#pragma once
#include <sal/config.h>
@@ -72,6 +71,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_ROOTACCESS_HXX
#define INCLUDED_CONFIGMGR_SOURCE_ROOTACCESS_HXX
#pragma once
#include <sal/config.h>
@@ -142,6 +141,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_ROOTNODE_HXX
#define INCLUDED_CONFIGMGR_SOURCE_ROOTNODE_HXX
#pragma once
#include <sal/config.h>
@@ -37,6 +36,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_SETNODE_HXX
#define INCLUDED_CONFIGMGR_SOURCE_SETNODE_HXX
#pragma once
#include <sal/config.h>
@@ -71,6 +70,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_TYPE_HXX
#define INCLUDED_CONFIGMGR_SOURCE_TYPE_HXX
#pragma once
#include <sal/config.h>
#include <sal/types.h>
@@ -46,6 +45,4 @@ Type getDynamicType(css::uno::Any const & value);
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_VALUEPARSER_HXX
#define INCLUDED_CONFIGMGR_SOURCE_VALUEPARSER_HXX
#pragma once
#include <sal/config.h>
@@ -83,6 +82,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_WRITEMODFILE_HXX
#define INCLUDED_CONFIGMGR_SOURCE_WRITEMODFILE_HXX
#pragma once
#include <sal/config.h>
@@ -61,6 +60,4 @@ void writeModFile(
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_XCDPARSER_HXX
#define INCLUDED_CONFIGMGR_SOURCE_XCDPARSER_HXX
#pragma once
#include <sal/config.h>
@@ -70,6 +69,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_XCSPARSER_HXX
#define INCLUDED_CONFIGMGR_SOURCE_XCSPARSER_HXX
#pragma once
#include <sal/config.h>
@@ -98,6 +97,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_XCUPARSER_HXX
#define INCLUDED_CONFIGMGR_SOURCE_XCUPARSER_HXX
#pragma once
#include <sal/config.h>
@@ -148,6 +147,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_XMLDATA_HXX
#define INCLUDED_CONFIGMGR_SOURCE_XMLDATA_HXX
#pragma once
#include <sal/config.h>
@@ -44,6 +43,4 @@ OUString parseTemplateReference(
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */