tdf#143148 replace include guards with pragma once
Replace include guards with pragma once in selected header files from sw/inc folder. Change-Id: Ibd0d5987121fc7e7ade0496c13fc9516625a178e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201571 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
This commit is contained in:
committed by
Ilmari Lauhakangas
parent
8ed084b733
commit
f5e5ac6a44
+2
-4
@@ -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_SW_INC_EXPFLD_HXX
|
||||
#define INCLUDED_SW_INC_EXPFLD_HXX
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "swdllapi.h"
|
||||
#include "fldbas.hxx"
|
||||
@@ -424,6 +424,4 @@ public:
|
||||
void dumpAsXml(xmlTextWriterPtr pWriter) const override;
|
||||
};
|
||||
|
||||
#endif // INCLUDED_SW_INC_EXPFLD_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_SW_SOURCE_CORE_INC_FINALTHREADMANAGER_HXX
|
||||
#define INCLUDED_SW_SOURCE_CORE_INC_FINALTHREADMANAGER_HXX
|
||||
#pragma once
|
||||
|
||||
#include <sal/config.h>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
@@ -82,6 +81,5 @@ private:
|
||||
|
||||
bool mbRegisteredAtDesktop;
|
||||
};
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
+2
-4
@@ -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_SW_INC_FLDBAS_HXX
|
||||
#define INCLUDED_SW_INC_FLDBAS_HXX
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <i18nlangtag/lang.h>
|
||||
#include "swdllapi.h"
|
||||
@@ -482,6 +482,4 @@ public:
|
||||
OUString GetInputOrDateTime() const;
|
||||
};
|
||||
|
||||
#endif // INCLUDED_SW_INC_FLDBAS_HXX
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
+1
-4
@@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_SW_INC_FLDDAT_HXX
|
||||
#define INCLUDED_SW_INC_FLDDAT_HXX
|
||||
#pragma once
|
||||
|
||||
#include <tools/solar.h>
|
||||
|
||||
@@ -74,6 +73,4 @@ public:
|
||||
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt16 nMId ) override;
|
||||
};
|
||||
|
||||
#endif // INCLUDED_SW_INC_FLDDAT_HXX
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -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_SW_INC_FLDDROPDOWN_HXX
|
||||
#define INCLUDED_SW_INC_FLDDROPDOWN_HXX
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <com/sun/star/uno/Sequence.h>
|
||||
#include "swdllapi.h"
|
||||
@@ -260,6 +260,4 @@ public:
|
||||
virtual bool PutValue(const css::uno::Any& rVal, sal_uInt16 nWhichId) override;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
Reference in New Issue
Block a user