summaryrefslogtreecommitdiff
path: root/writerperfect/qa
diff options
context:
space:
mode:
authorVincent LE GARREC <libreoffice@le-garrec.fr>2021-03-06 10:14:31 +0100
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2021-03-23 11:06:48 +0100
commite29f53b71058b9468cb6c29f82dbf6de53d4cdd0 (patch)
tree9bd73b6f9130cc87cf22f64a8ccd25c19a13f5ab /writerperfect/qa
parentcd09fc9451897e6efedbf9f5e1d5b9bd96e65cb5 (diff)
tdf#124176 Use pragma once in w*
Change-Id: I693f6dafb743d39afd8e41e66a8066f04043f8a8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112052 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'writerperfect/qa')
-rw-r--r--writerperfect/qa/unit/WpftFilterFixture.hxx5
-rw-r--r--writerperfect/qa/unit/WpftFilterTestBase.hxx5
-rw-r--r--writerperfect/qa/unit/WpftLoader.hxx5
-rw-r--r--writerperfect/qa/unit/wpftimport.hxx5
-rw-r--r--writerperfect/qa/unit/wpftqahelperdllapi.h5
5 files changed, 5 insertions, 20 deletions
diff --git a/writerperfect/qa/unit/WpftFilterFixture.hxx b/writerperfect/qa/unit/WpftFilterFixture.hxx
index f32478165617..2fdd6a2f858e 100644
--- a/writerperfect/qa/unit/WpftFilterFixture.hxx
+++ b/writerperfect/qa/unit/WpftFilterFixture.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_WRITERPERFECT_QA_UNIT_WPFTFILTERFIXTURE_HXX
-#define INCLUDED_WRITERPERFECT_QA_UNIT_WPFTFILTERFIXTURE_HXX
+#pragma once
#include <config_writerperfect.h>
@@ -83,6 +82,4 @@ protected:
}
}
-#endif // INCLUDED_WRITERPERFECT_QA_UNIT_WPFTFILTERFIXTURE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/WpftFilterTestBase.hxx b/writerperfect/qa/unit/WpftFilterTestBase.hxx
index e13c0bef544d..8f929e9f7dfd 100644
--- a/writerperfect/qa/unit/WpftFilterTestBase.hxx
+++ b/writerperfect/qa/unit/WpftFilterTestBase.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_WRITERPERFECT_QA_UNIT_WPFTFILTERTESTBASE_HXX
-#define INCLUDED_WRITERPERFECT_QA_UNIT_WPFTFILTERTESTBASE_HXX
+#pragma once
#include "wpftqahelperdllapi.h"
@@ -66,6 +65,4 @@ private:
}
}
-#endif // INCLUDED_WRITERPERFECT_QA_UNIT_WPFTFILTERTESTBASE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/WpftLoader.hxx b/writerperfect/qa/unit/WpftLoader.hxx
index ccd8f9294175..646e3a3b6aab 100644
--- a/writerperfect/qa/unit/WpftLoader.hxx
+++ b/writerperfect/qa/unit/WpftLoader.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_WRITERPERFECT_QA_UNIT_WPFTLOADER_HXX
-#define INCLUDED_WRITERPERFECT_QA_UNIT_WPFTLOADER_HXX
+#pragma once
#include "wpftqahelperdllapi.h"
@@ -98,6 +97,4 @@ private:
}
}
-#endif // INCLUDED_WRITERPERFECT_QA_UNIT_WPFTLOADER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/wpftimport.hxx b/writerperfect/qa/unit/wpftimport.hxx
index 136c24d6c65e..688bf8f318fa 100644
--- a/writerperfect/qa/unit/wpftimport.hxx
+++ b/writerperfect/qa/unit/wpftimport.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_WRITERPERFECT_QA_UNIT_WPFTIMPORT_HXX
-#define INCLUDED_WRITERPERFECT_QA_UNIT_WPFTIMPORT_HXX
+#pragma once
#include <com/sun/star/uno/Reference.hxx>
@@ -28,6 +27,4 @@ class XInputStream;
css::uno::Reference<css::io::XInputStream> createDummyInput();
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/wpftqahelperdllapi.h b/writerperfect/qa/unit/wpftqahelperdllapi.h
index 9f19a29729c2..05293fdd0288 100644
--- a/writerperfect/qa/unit/wpftqahelperdllapi.h
+++ b/writerperfect/qa/unit/wpftqahelperdllapi.h
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_WRITERPERFECT_QA_UNIT_WPFTQAHELPERDLLAPI_H
-#define INCLUDED_WRITERPERFECT_QA_UNIT_WPFTQAHELPERDLLAPI_H
+#pragma once
#include <sal/types.h>
@@ -19,6 +18,4 @@
#endif
#define WPFTQAHELPER_DLLPRIVATE SAL_DLLPRIVATE
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */