svx: Use #pragma once

Change-Id: Ie459260ccd52ff495d240451564a6b1777921369
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204455
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
This commit is contained in:
Michael Weghorn
2026-04-28 15:54:18 +02:00
parent 05cd8dbc42
commit 1fe7bded26
5 changed files with 9 additions and 21 deletions
+2 -4
View File
@@ -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_FMGRIDCL_HXX
#define INCLUDED_SVX_FMGRIDCL_HXX
#pragma once
#include <svx/gridctrl.hxx>
#include <vcl/transfer.hxx>
@@ -195,6 +195,4 @@ protected:
bool isColumnSelected(DbGridColumn const * _pColumn) const;
};
#endif // INCLUDED_SVX_FMGRIDCL_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+2 -4
View File
@@ -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_FMPROP_HXX
#define INCLUDED_SVX_SOURCE_INC_FMPROP_HXX
#pragma once
#include <rtl/ustring.hxx>
@@ -148,6 +148,4 @@ inline constexpr OUString FM_PROP_WRITING_MODE = u"WritingMode"_ustr;
inline constexpr OUString FM_PROP_MOUSE_WHEEL_BEHAVIOR = u"MouseWheelBehavior"_ustr;
inline constexpr OUString FM_PROP_DESCRIPTION = u"Description"_ustr;
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+2 -4
View File
@@ -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_FMSERVS_HXX
#define INCLUDED_SVX_SOURCE_INC_FMSERVS_HXX
#pragma once
#include <sal/config.h>
@@ -105,6 +105,4 @@ css::uno::Reference<css::uno::XInterface>
LegacyFormController_NewInstance_Impl(
css::uno::Reference<css::lang::XMultiServiceFactory> const &);
#endif // INCLUDED_SVX_SOURCE_INC_FMSERVS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_SVX_SOURCE_INC_FMURL_HXX
#define INCLUDED_SVX_SOURCE_INC_FMURL_HXX
#pragma once
#include <rtl/ustring.hxx>
@@ -50,6 +49,4 @@ inline constexpr OUString FMARG_ATTACHTO_MASTERFORM = u"MasterForm"_ustr;
inline constexpr OUString FMARG_ADDCOL_COLUMNTYPE = u"ColumnType"_ustr;
inline constexpr OUString FMARG_ADDCOL_COLUMNPOS = u"ColumnPosition"_ustr;
#endif // INCLUDED_SVX_SOURCE_INC_FMURL_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+2 -5
View File
@@ -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_GRIDCOLS_HXX
#define INCLUDED_SVX_SOURCE_INC_GRIDCOLS_HXX
#pragma once
#include <sal/types.h>
#include <rtl/ustring.hxx>
@@ -48,7 +48,4 @@
sal_Int32 getColumnTypeByModelName(const OUString& aModelName);
#endif // INCLUDED_SVX_SOURCE_INC_GRIDCOLS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */