tdf#143148 Use #pragma once instead of include guards in svx/source/inc
Replace old #ifndef/#define/#endif include guards with #pragma once in the following svx internal headers: - clonelist.hxx - delayedevent.hxx - ShapesUtil.hxx - fmcontrollayout.hxx - fmdocumentclassification.hxx Change-Id: I7a3b2c9d4e5f6a1b8c0d2e3f4a5b6c7d8e9f0a1b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200002 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
This commit is contained in:
committed by
Ilmari Lauhakangas
parent
65e0b33448
commit
49daa23d81
@@ -16,8 +16,8 @@
|
||||
* 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_SVX_SOURCE_INC_SHAPESUTIL_HXX
|
||||
#define INCLUDED_SVX_SOURCE_INC_SHAPESUTIL_HXX
|
||||
#pragma once
|
||||
|
||||
#include <map>
|
||||
#include <rtl/ustring.hxx>
|
||||
|
||||
@@ -35,5 +35,4 @@ public:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -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_SVX_SOURCE_INC_CLONELIST_HXX
|
||||
#define INCLUDED_SVX_SOURCE_INC_CLONELIST_HXX
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
|
||||
@@ -42,6 +41,4 @@ public:
|
||||
void CopyConnections() const;
|
||||
};
|
||||
|
||||
#endif // INCLUDED_SVX_SOURCE_INC_CLONELIST_HXX
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_SVX_SOURCE_INC_DELAYEDEVENT_HXX
|
||||
#define INCLUDED_SVX_SOURCE_INC_DELAYEDEVENT_HXX
|
||||
#pragma once
|
||||
|
||||
#include <tools/link.hxx>
|
||||
|
||||
@@ -75,7 +74,4 @@ namespace svxform
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif // INCLUDED_SVX_SOURCE_INC_DELAYEDEVENT_HXX
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_SVX_SOURCE_INC_FMCONTROLLAYOUT_HXX
|
||||
#define INCLUDED_SVX_SOURCE_INC_FMCONTROLLAYOUT_HXX
|
||||
#pragma once
|
||||
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
|
||||
@@ -56,7 +55,4 @@ namespace svxform::ControlLayouter
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif // INCLUDED_SVX_SOURCE_INC_FMCONTROLLAYOUT_HXX
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_SVX_SOURCE_INC_FMDOCUMENTCLASSIFICATION_HXX
|
||||
#define INCLUDED_SVX_SOURCE_INC_FMDOCUMENTCLASSIFICATION_HXX
|
||||
#pragma once
|
||||
|
||||
#include <com/sun/star/frame/XModel.hpp>
|
||||
|
||||
@@ -65,7 +64,4 @@ namespace svxform
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif // INCLUDED_SVX_SOURCE_INC_FMDOCUMENTCLASSIFICATION_HXX
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
Reference in New Issue
Block a user