summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorFaruk Demirbaş <miskimit@gmail.com>2020-01-25 16:28:07 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2020-01-25 19:01:50 +0100
commita44ca770302e8aa7079de96bda0c2fe2e7cc92bb (patch)
treec604a3ac86d7e0c379cd37de6384958aa3d8db64 /sc/inc
parent99c5669b4f54a3e55625ec0896852ed4154d2765 (diff)
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>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/NumberFormatControl.hxx6
-rw-r--r--sc/inc/documentlinkmgr.hxx5
-rw-r--r--sc/inc/filtopt.hxx5
-rw-r--r--sc/inc/fonthelper.hxx5
-rw-r--r--sc/inc/forbiuno.hxx5
5 files changed, 6 insertions, 20 deletions
diff --git a/sc/inc/NumberFormatControl.hxx b/sc/inc/NumberFormatControl.hxx
index e2c8712b7032..56ec8ed0e3cb 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 @@ public:
} // 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 b0c85826b4db..99a3ca3e5a95 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 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/filtopt.hxx b/sc/inc/filtopt.hxx
index 212fca328232..50dfdfbbf373 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 @@ public:
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 f3ecf2bfb9c5..0f94b41400cc 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 @@ struct SC_DLLPUBLIC ScDxfFont
}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/forbiuno.hxx b/sc/inc/forbiuno.hxx
index ac599c010a47..b6440f4eb7fb 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 @@ public:
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */