summaryrefslogtreecommitdiff
path: root/xmloff/source/forms
diff options
context:
space:
mode:
authorVincent LE GARREC <libreoffice@le-garrec.fr>2021-03-06 09:51:47 +0100
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2021-03-23 13:14:42 +0100
commitaef40e738842522c050538cc8a62c2d1f4861861 (patch)
treeecbde063724dd36e9e3401aed887331f0e6f8f40 /xmloff/source/forms
parent90c978f839e5029c69b4acb70f37909ee3016614 (diff)
tdf#124176 Use pragma once in x*
xmlhelp, xmloff, xmlsecurity Change-Id: I80c6fa806387f3dcba8be7f93fe2fef146b033e3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112050 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'xmloff/source/forms')
-rw-r--r--xmloff/source/forms/callbacks.hxx5
-rw-r--r--xmloff/source/forms/controlelement.hxx5
-rw-r--r--xmloff/source/forms/controlpropertymap.hxx5
-rw-r--r--xmloff/source/forms/elementexport.hxx5
-rw-r--r--xmloff/source/forms/elementimport.hxx5
-rw-r--r--xmloff/source/forms/eventexport.hxx5
-rw-r--r--xmloff/source/forms/eventimport.hxx5
-rw-r--r--xmloff/source/forms/formattributes.hxx5
-rw-r--r--xmloff/source/forms/formcellbinding.hxx5
-rw-r--r--xmloff/source/forms/formenums.hxx5
-rw-r--r--xmloff/source/forms/formevents.hxx5
-rw-r--r--xmloff/source/forms/gridcolumnproptranslator.hxx5
-rw-r--r--xmloff/source/forms/handler/vcl_date_handler.hxx5
-rw-r--r--xmloff/source/forms/handler/vcl_time_handler.hxx5
-rw-r--r--xmloff/source/forms/layerexport.hxx5
-rw-r--r--xmloff/source/forms/layerimport.hxx5
-rw-r--r--xmloff/source/forms/logging.hxx5
-rw-r--r--xmloff/source/forms/officeforms.hxx5
-rw-r--r--xmloff/source/forms/property_description.hxx5
-rw-r--r--xmloff/source/forms/property_meta_data.hxx5
-rw-r--r--xmloff/source/forms/propertyexport.hxx5
-rw-r--r--xmloff/source/forms/propertyimport.hxx5
-rw-r--r--xmloff/source/forms/strings.hxx5
-rw-r--r--xmloff/source/forms/valueproperties.hxx5
24 files changed, 24 insertions, 96 deletions
diff --git a/xmloff/source/forms/callbacks.hxx b/xmloff/source/forms/callbacks.hxx
index 99b8840e8904..0134152b8fb5 100644
--- a/xmloff/source/forms/callbacks.hxx
+++ b/xmloff/source/forms/callbacks.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_CALLBACKS_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_CALLBACKS_HXX
+#pragma once
#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
@@ -77,6 +76,4 @@ namespace xmloff
} // namespace xmloff
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_CALLBACKS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/controlelement.hxx b/xmloff/source/forms/controlelement.hxx
index d384d9f048f7..df7f12a4326c 100644
--- a/xmloff/source/forms/controlelement.hxx
+++ b/xmloff/source/forms/controlelement.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_CONTROLELEMENT_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_CONTROLELEMENT_HXX
+#pragma once
#include <sal/types.h>
@@ -86,6 +85,4 @@ namespace xmloff
} // namespace xmloff
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_CONTROLELEMENT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/controlpropertymap.hxx b/xmloff/source/forms/controlpropertymap.hxx
index c1dc58183da0..ff575c13797a 100644
--- a/xmloff/source/forms/controlpropertymap.hxx
+++ b/xmloff/source/forms/controlpropertymap.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_CONTROLPROPERTYMAP_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_CONTROLPROPERTYMAP_HXX
+#pragma once
#include <xmloff/xmlprmap.hxx>
#include <xmloff/xmlexppr.hxx>
@@ -49,6 +48,4 @@ namespace xmloff
} // namespace xmloff
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_CONTROLPROPERTYMAP_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/elementexport.hxx b/xmloff/source/forms/elementexport.hxx
index 92c5a70f61e5..deb9cfea6b35 100644
--- a/xmloff/source/forms/elementexport.hxx
+++ b/xmloff/source/forms/elementexport.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_ELEMENTEXPORT_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_ELEMENTEXPORT_HXX
+#pragma once
#include <sal/config.h>
@@ -309,6 +308,4 @@ namespace xmloff
};
} // namespace xmloff
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_ELEMENTEXPORT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/elementimport.hxx b/xmloff/source/forms/elementimport.hxx
index a3f9d6de4359..bb03da03150a 100644
--- a/xmloff/source/forms/elementimport.hxx
+++ b/xmloff/source/forms/elementimport.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_ELEMENTIMPORT_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_ELEMENTIMPORT_HXX
+#pragma once
#include <sal/config.h>
@@ -673,6 +672,4 @@ namespace xmloff
} // namespace xmloff
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_ELEMENTIMPORT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/eventexport.hxx b/xmloff/source/forms/eventexport.hxx
index 5004d7af43c8..c4bb752c4562 100644
--- a/xmloff/source/forms/eventexport.hxx
+++ b/xmloff/source/forms/eventexport.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_EVENTEXPORT_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_EVENTEXPORT_HXX
+#pragma once
#include <sal/config.h>
@@ -69,6 +68,4 @@ namespace xmloff
} // namespace xmloff
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_EVENTEXPORT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/eventimport.hxx b/xmloff/source/forms/eventimport.hxx
index 2028a1ce8182..6e3f686dfd5f 100644
--- a/xmloff/source/forms/eventimport.hxx
+++ b/xmloff/source/forms/eventimport.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_EVENTIMPORT_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_EVENTIMPORT_HXX
+#pragma once
#include <sal/config.h>
@@ -75,6 +74,4 @@ namespace xmloff
} // namespace xmloff
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_EVENTIMPORT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/formattributes.hxx b/xmloff/source/forms/formattributes.hxx
index 041316c69927..19a71132f0aa 100644
--- a/xmloff/source/forms/formattributes.hxx
+++ b/xmloff/source/forms/formattributes.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_FORMATTRIBUTES_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_FORMATTRIBUTES_HXX
+#pragma once
#include <sal/config.h>
@@ -412,6 +411,4 @@ namespace xmloff
};
} // namespace xmloff
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_FORMATTRIBUTES_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/formcellbinding.hxx b/xmloff/source/forms/formcellbinding.hxx
index c59da3917e6f..a054131817b3 100644
--- a/xmloff/source/forms/formcellbinding.hxx
+++ b/xmloff/source/forms/formcellbinding.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_FORMCELLBINDING_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_FORMCELLBINDING_HXX
+#pragma once
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
@@ -258,6 +257,4 @@ namespace xmloff
} // namespace xmloff
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_FORMCELLBINDING_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/formenums.hxx b/xmloff/source/forms/formenums.hxx
index a1860b75137c..d0d20ff8dd8f 100644
--- a/xmloff/source/forms/formenums.hxx
+++ b/xmloff/source/forms/formenums.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_FORMENUMS_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_FORMENUMS_HXX
+#pragma once
#include <xmloff/xmlement.hxx>
#include <com/sun/star/form/FormButtonType.hpp>
@@ -52,6 +51,4 @@ extern const SvXMLEnumMapEntry<sal_uInt16> aScaleModeMap[];
} // namespace xmloff
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_FORMENUMS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/formevents.hxx b/xmloff/source/forms/formevents.hxx
index 18d02448ec8c..7077f7522f1a 100644
--- a/xmloff/source/forms/formevents.hxx
+++ b/xmloff/source/forms/formevents.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_FORMEVENTS_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_FORMEVENTS_HXX
+#pragma once
struct XMLEventNameTranslation;
namespace xmloff
@@ -28,6 +27,4 @@ extern const XMLEventNameTranslation* g_pFormsEventTranslation;
} // namespace xmloff
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_FORMEVENTS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/gridcolumnproptranslator.hxx b/xmloff/source/forms/gridcolumnproptranslator.hxx
index d8e0c17509a8..9a49cd9c3dea 100644
--- a/xmloff/source/forms/gridcolumnproptranslator.hxx
+++ b/xmloff/source/forms/gridcolumnproptranslator.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_GRIDCOLUMNPROPTRANSLATOR_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_GRIDCOLUMNPROPTRANSLATOR_HXX
+#pragma once
#include <com/sun/star/beans/XMultiPropertySet.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
@@ -64,6 +63,4 @@ namespace xmloff
} // namespace xmloff
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_GRIDCOLUMNPROPTRANSLATOR_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/handler/vcl_date_handler.hxx b/xmloff/source/forms/handler/vcl_date_handler.hxx
index b67aa94bad57..626ca4c7778a 100644
--- a/xmloff/source/forms/handler/vcl_date_handler.hxx
+++ b/xmloff/source/forms/handler/vcl_date_handler.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_HANDLER_VCL_DATE_HANDLER_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_HANDLER_VCL_DATE_HANDLER_HXX
+#pragma once
#include <forms/property_handler.hxx>
@@ -38,6 +37,4 @@ namespace xmloff
} // namespace xmloff
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_HANDLER_VCL_DATE_HANDLER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/handler/vcl_time_handler.hxx b/xmloff/source/forms/handler/vcl_time_handler.hxx
index d445d3599a87..a5b3b14a9af6 100644
--- a/xmloff/source/forms/handler/vcl_time_handler.hxx
+++ b/xmloff/source/forms/handler/vcl_time_handler.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_HANDLER_VCL_TIME_HANDLER_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_HANDLER_VCL_TIME_HANDLER_HXX
+#pragma once
#include <forms/property_handler.hxx>
@@ -38,6 +37,4 @@ namespace xmloff
} // namespace xmloff
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_HANDLER_VCL_TIME_HANDLER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/layerexport.hxx b/xmloff/source/forms/layerexport.hxx
index 516d9934a063..3fabafb57b5a 100644
--- a/xmloff/source/forms/layerexport.hxx
+++ b/xmloff/source/forms/layerexport.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_LAYEREXPORT_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_LAYEREXPORT_HXX
+#pragma once
#include <sal/config.h>
@@ -298,6 +297,4 @@ namespace xmloff
} // namespace xmloff
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_LAYEREXPORT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/layerimport.hxx b/xmloff/source/forms/layerimport.hxx
index 91bf05ad66f2..448076ec8b4f 100644
--- a/xmloff/source/forms/layerimport.hxx
+++ b/xmloff/source/forms/layerimport.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_LAYERIMPORT_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_LAYERIMPORT_HXX
+#pragma once
#include <sal/config.h>
@@ -172,6 +171,4 @@ namespace xmloff
} // namespace xmloff
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_LAYERIMPORT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/logging.hxx b/xmloff/source/forms/logging.hxx
index bb5e6b9c1a2c..501b6c14e680 100644
--- a/xmloff/source/forms/logging.hxx
+++ b/xmloff/source/forms/logging.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_LOGGING_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_LOGGING_HXX
+#pragma once
#include <sal/types.h>
#include <stack>
@@ -57,6 +56,4 @@ namespace xmloff
} // namespace xmloff
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_LOGGING_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/officeforms.hxx b/xmloff/source/forms/officeforms.hxx
index 29b7bb0b3da9..56694835c28e 100644
--- a/xmloff/source/forms/officeforms.hxx
+++ b/xmloff/source/forms/officeforms.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_OFFICEFORMS_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_OFFICEFORMS_HXX
+#pragma once
#include <com/sun/star/beans/XPropertySet.hpp>
@@ -90,6 +89,4 @@ namespace xmloff
} // namespace xmloff
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_OFFICEFORMS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/property_description.hxx b/xmloff/source/forms/property_description.hxx
index df86e4e32528..53adb3bf93b2 100644
--- a/xmloff/source/forms/property_description.hxx
+++ b/xmloff/source/forms/property_description.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTY_DESCRIPTION_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTY_DESCRIPTION_HXX
+#pragma once
#include <forms/property_handler.hxx>
#include <xmloff/xmltoken.hxx>
@@ -101,6 +100,4 @@ namespace xmloff
} // namespace xmloff
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTY_DESCRIPTION_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/property_meta_data.hxx b/xmloff/source/forms/property_meta_data.hxx
index 71236d33d948..0d012fbc2389 100644
--- a/xmloff/source/forms/property_meta_data.hxx
+++ b/xmloff/source/forms/property_meta_data.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTY_META_DATA_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTY_META_DATA_HXX
+#pragma once
#include "property_description.hxx"
@@ -40,6 +39,4 @@ namespace xmloff::metadata
} // namespace xmloff::metadata
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTY_META_DATA_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/propertyexport.hxx b/xmloff/source/forms/propertyexport.hxx
index 2a9a6d7e08d8..6a972fefe818 100644
--- a/xmloff/source/forms/propertyexport.hxx
+++ b/xmloff/source/forms/propertyexport.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTYEXPORT_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTYEXPORT_HXX
+#pragma once
#include <sal/config.h>
@@ -414,6 +413,4 @@ namespace xmloff
} // namespace xmloff
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTYEXPORT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/propertyimport.hxx b/xmloff/source/forms/propertyimport.hxx
index d39ab66a1631..b4b660d5b22b 100644
--- a/xmloff/source/forms/propertyimport.hxx
+++ b/xmloff/source/forms/propertyimport.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTYIMPORT_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTYIMPORT_HXX
+#pragma once
#include <sal/config.h>
@@ -224,6 +223,4 @@ namespace xmloff
} // namespace xmloff
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_PROPERTYIMPORT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/strings.hxx b/xmloff/source/forms/strings.hxx
index 695ffa777ccf..fbf400787f0b 100644
--- a/xmloff/source/forms/strings.hxx
+++ b/xmloff/source/forms/strings.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_STRINGS_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_STRINGS_HXX
+#pragma once
namespace xmloff
{
@@ -205,6 +204,4 @@ namespace xmloff
} // namespace xmloff
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_STRINGS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/valueproperties.hxx b/xmloff/source/forms/valueproperties.hxx
index 7098cebbec32..b22b57bb0312 100644
--- a/xmloff/source/forms/valueproperties.hxx
+++ b/xmloff/source/forms/valueproperties.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_VALUEPROPERTIES_HXX
-#define INCLUDED_XMLOFF_SOURCE_FORMS_VALUEPROPERTIES_HXX
+#pragma once
#include "controlelement.hxx"
@@ -65,6 +64,4 @@ namespace xmloff
} // namespace xmloff
-#endif // INCLUDED_XMLOFF_SOURCE_FORMS_VALUEPROPERTIES_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */