diff options
author | Vincent LE GARREC <libreoffice@le-garrec.fr> | 2021-03-06 09:49:30 +0100 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2021-03-23 13:39:56 +0100 |
commit | 24552a0b5be620b5e58b10842cba78e36fa26b04 (patch) | |
tree | df793dbd1f18169a93be145ae5ded9cca2f6cc67 /sc/qa/unit | |
parent | 59b0dd6e94c876dd322503f326fedf5fa350d25e (diff) |
tdf#124176 Use pragma once in s*
sc, scaddins, sccomp, scripting
Change-Id: Ia99fec9e238033821cb784810edd4762c09bd5db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112049
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'sc/qa/unit')
-rw-r--r-- | sc/qa/unit/helper/csv_handler.hxx | 5 | ||||
-rw-r--r-- | sc/qa/unit/helper/debughelper.hxx | 5 | ||||
-rw-r--r-- | sc/qa/unit/helper/qahelper.hxx | 5 | ||||
-rw-r--r-- | sc/qa/unit/helper/scqahelperdllapi.h | 5 | ||||
-rw-r--r-- | sc/qa/unit/helper/shared_test_impl.hxx | 5 | ||||
-rw-r--r-- | sc/qa/unit/helper/sorthelper.hxx | 5 | ||||
-rw-r--r-- | sc/qa/unit/helper/xpath.hxx | 5 | ||||
-rw-r--r-- | sc/qa/unit/ucalc.hxx | 5 |
8 files changed, 8 insertions, 32 deletions
diff --git a/sc/qa/unit/helper/csv_handler.hxx b/sc/qa/unit/helper/csv_handler.hxx index dafc8a931393..14b6df78a90b 100644 --- a/sc/qa/unit/helper/csv_handler.hxx +++ b/sc/qa/unit/helper/csv_handler.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_QA_UNIT_HELPER_CSV_HANDLER_HXX -#define INCLUDED_SC_QA_UNIT_HELPER_CSV_HANDLER_HXX +#pragma once #include <sal/config.h> @@ -204,6 +203,4 @@ private: SCTAB mnTab; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/qa/unit/helper/debughelper.hxx b/sc/qa/unit/helper/debughelper.hxx index 1795c4a16bb9..af7a11a65fdd 100644 --- a/sc/qa/unit/helper/debughelper.hxx +++ b/sc/qa/unit/helper/debughelper.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_QA_UNIT_HELPER_DEBUGHELPER_HXX -#define INCLUDED_SC_QA_UNIT_HELPER_DEBUGHELPER_HXX +#pragma once #ifdef _WIN32 #if !defined NOMINMAX @@ -34,6 +33,4 @@ using ::std::cerr; using ::std::endl; using ::std::vector; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/qa/unit/helper/qahelper.hxx b/sc/qa/unit/helper/qahelper.hxx index 5e1dc4cd3da4..14b7b3b02aca 100644 --- a/sc/qa/unit/helper/qahelper.hxx +++ b/sc/qa/unit/helper/qahelper.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_QA_UNIT_HELPER_QAHELPER_HXX -#define INCLUDED_SC_QA_UNIT_HELPER_QAHELPER_HXX +#pragma once #include <docsh.hxx> #include <address.hxx> @@ -221,6 +220,4 @@ SCQAHELPER_DLLPUBLIC ScTokenArray* getTokens(ScDocument& rDoc, const ScAddress& SCQAHELPER_DLLPUBLIC std::string to_std_string(const OUString& rStr); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/qa/unit/helper/scqahelperdllapi.h b/sc/qa/unit/helper/scqahelperdllapi.h index 216ccc0146f1..3b7284721471 100644 --- a/sc/qa/unit/helper/scqahelperdllapi.h +++ b/sc/qa/unit/helper/scqahelperdllapi.h @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_QA_UNIT_HELPER_DLLAPI_H -#define INCLUDED_SC_QA_UNIT_HELPER_DLLAPI_H +#pragma once #include <sal/types.h> @@ -18,6 +17,4 @@ #define SCQAHELPER_DLLPUBLIC SAL_DLLPUBLIC_IMPORT #endif -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/qa/unit/helper/shared_test_impl.hxx b/sc/qa/unit/helper/shared_test_impl.hxx index d3a2cc86400d..617d63931870 100644 --- a/sc/qa/unit/helper/shared_test_impl.hxx +++ b/sc/qa/unit/helper/shared_test_impl.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_QA_UNIT_HELPER_SHARED_TEST_IMPL_HXX -#define INCLUDED_SC_QA_UNIT_HELPER_SHARED_TEST_IMPL_HXX +#pragma once #include <memory> #include <colorscale.hxx> @@ -287,6 +286,4 @@ void testCeilingFloor_Impl( ScDocument& rDoc ) CPPUNIT_ASSERT_EQUAL(1.0, rDoc.GetValue(aPos)); } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/qa/unit/helper/sorthelper.hxx b/sc/qa/unit/helper/sorthelper.hxx index e71045097f73..5a37c29ddf0f 100644 --- a/sc/qa/unit/helper/sorthelper.hxx +++ b/sc/qa/unit/helper/sorthelper.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_QA_SORT_HELPER_QAHELPER_HXX -#define INCLUDED_SC_QA_SORT_HELPER_QAHELPER_HXX +#pragma once // Unfortunately requires linkage to sc/ internals so // can't live in qahelper itself. @@ -51,6 +50,4 @@ public: SortRefUpdateSetter() : SortTypeSetter(true) {} }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/qa/unit/helper/xpath.hxx b/sc/qa/unit/helper/xpath.hxx index 26e2c2462346..d81fb134df47 100644 --- a/sc/qa/unit/helper/xpath.hxx +++ b/sc/qa/unit/helper/xpath.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_QA_UNIT_HELPER_XPATH_HXX -#define INCLUDED_SC_QA_UNIT_HELPER_XPATH_HXX +#pragma once #include <libxml/parser.h> @@ -60,6 +59,4 @@ namespace XPathHelper const OUString& rFile); } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/qa/unit/ucalc.hxx b/sc/qa/unit/ucalc.hxx index 5b0a1f2dff3f..1f6dc580922c 100644 --- a/sc/qa/unit/ucalc.hxx +++ b/sc/qa/unit/ucalc.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_QA_UNIT_UCALC_HXX -#define INCLUDED_SC_QA_UNIT_UCALC_HXX +#pragma once #include <test/bootstrapfixture.hxx> #include <docsh.hxx> @@ -894,6 +893,4 @@ private: ScDocument* m_pDoc; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |