tdf#124176: Use pragma once instead of include guards

Change-Id: I2c74c77115df7c9fd29ccf7722d00c71687046fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87402
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
diff --git a/sc/inc/NumberFormatControl.hxx b/sc/inc/NumberFormatControl.hxx
index e2c8712..56ec8ed 100644
--- a/sc/inc/NumberFormatControl.hxx
+++ b/sc/inc/NumberFormatControl.hxx
@@ -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_SC_NUMBERFORMATCONTROL_HXX
#define INCLUDED_SC_NUMBERFORMATCONTROL_HXX

#pragma once

#include "scdllapi.h"
#include <sfx2/tbxctrl.hxx>
@@ -40,6 +40,4 @@

} // end of namespace sc

#endif // INCLUDED_SC_NUMBERFORMATCONTROL_HXX

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/documentlinkmgr.hxx b/sc/inc/documentlinkmgr.hxx
index b0c8582..99a3ca3 100644
--- a/sc/inc/documentlinkmgr.hxx
+++ b/sc/inc/documentlinkmgr.hxx
@@ -7,8 +7,7 @@
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

#ifndef INCLUDED_SC_INC_DOCUMENTLINKMGR_HXX
#define INCLUDED_SC_INC_DOCUMENTLINKMGR_HXX
#pragma once

#include <rtl/ustring.hxx>
#include <memory>
@@ -68,6 +67,4 @@

}

#endif

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/filtopt.hxx b/sc/inc/filtopt.hxx
index 212fca32..50dfdfb 100644
--- a/sc/inc/filtopt.hxx
+++ b/sc/inc/filtopt.hxx
@@ -17,8 +17,7 @@
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#ifndef INCLUDED_SC_INC_FILTOPT_HXX
#define INCLUDED_SC_INC_FILTOPT_HXX
#pragma once

#include <unotools/configitem.hxx>
#include "scdllapi.h"
@@ -40,6 +39,4 @@
    bool        GetWK3Flag() const          { return bWK3Flag; }
};

#endif

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/fonthelper.hxx b/sc/inc/fonthelper.hxx
index f3ecf2b..0f94b41 100644
--- a/sc/inc/fonthelper.hxx
+++ b/sc/inc/fonthelper.hxx
@@ -7,8 +7,7 @@
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

#ifndef INCLUDED_SC_INC_FONTHELPER_HXX
#define INCLUDED_SC_INC_FONTHELPER_HXX
#pragma once

#include "scdllapi.h"
#include <o3tl/optional.hxx>
@@ -46,6 +45,4 @@
    }
};

#endif

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/forbiuno.hxx b/sc/inc/forbiuno.hxx
index ac599c0..b6440f4 100644
--- a/sc/inc/forbiuno.hxx
+++ b/sc/inc/forbiuno.hxx
@@ -17,8 +17,7 @@
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#ifndef INCLUDED_SC_INC_FORBIUNO_HXX
#define INCLUDED_SC_INC_FORBIUNO_HXX
#pragma once

#include <editeng/UnoForbiddenCharsTable.hxx>
#include <svl/lstner.hxx>
@@ -40,6 +39,4 @@
    virtual void    Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
};

#endif

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */