summaryrefslogtreecommitdiff
path: root/xmloff/source/text
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text')
-rw-r--r--xmloff/source/text/XMLAnchorTypePropHdl.hxx5
-rw-r--r--xmloff/source/text/XMLAutoMarkFileContext.hxx5
-rw-r--r--xmloff/source/text/XMLAutoTextContainerEventImport.hxx5
-rw-r--r--xmloff/source/text/XMLAutoTextEventExport.hxx5
-rw-r--r--xmloff/source/text/XMLAutoTextEventImport.hxx5
-rw-r--r--xmloff/source/text/XMLCalculationSettingsContext.hxx5
-rw-r--r--xmloff/source/text/XMLChangeElementImportContext.hxx5
-rw-r--r--xmloff/source/text/XMLChangeImportContext.hxx5
-rw-r--r--xmloff/source/text/XMLChangeInfoContext.hxx5
-rw-r--r--xmloff/source/text/XMLChangedRegionImportContext.hxx5
-rw-r--r--xmloff/source/text/XMLFootnoteBodyImportContext.hxx5
-rw-r--r--xmloff/source/text/XMLFootnoteImportContext.hxx5
-rw-r--r--xmloff/source/text/XMLIndexAlphabeticalSourceContext.hxx5
-rw-r--r--xmloff/source/text/XMLIndexBibliographyEntryContext.hxx5
-rw-r--r--xmloff/source/text/XMLIndexBibliographySourceContext.hxx5
-rw-r--r--xmloff/source/text/XMLIndexBodyContext.hxx5
-rw-r--r--xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx5
-rw-r--r--xmloff/source/text/XMLIndexIllustrationSourceContext.hxx5
-rw-r--r--xmloff/source/text/XMLIndexMarkExport.hxx5
-rw-r--r--xmloff/source/text/XMLIndexObjectSourceContext.hxx5
-rw-r--r--xmloff/source/text/XMLIndexSimpleEntryContext.hxx5
-rw-r--r--xmloff/source/text/XMLIndexSourceBaseContext.hxx5
-rw-r--r--xmloff/source/text/XMLIndexSpanEntryContext.hxx5
-rw-r--r--xmloff/source/text/XMLIndexTOCContext.hxx5
-rw-r--r--xmloff/source/text/XMLIndexTOCSourceContext.hxx5
-rw-r--r--xmloff/source/text/XMLIndexTOCStylesContext.hxx5
-rw-r--r--xmloff/source/text/XMLIndexTabStopEntryContext.hxx5
-rw-r--r--xmloff/source/text/XMLIndexTableSourceContext.hxx5
-rw-r--r--xmloff/source/text/XMLIndexTemplateContext.hxx5
-rw-r--r--xmloff/source/text/XMLIndexTitleTemplateContext.hxx5
-rw-r--r--xmloff/source/text/XMLIndexUserSourceContext.hxx5
-rw-r--r--xmloff/source/text/XMLLineNumberingExport.hxx5
-rw-r--r--xmloff/source/text/XMLLineNumberingSeparatorImportContext.hxx5
-rw-r--r--xmloff/source/text/XMLPropertyBackpatcher.hxx5
-rw-r--r--xmloff/source/text/XMLRedlineExport.hxx5
-rw-r--r--xmloff/source/text/XMLSectionExport.hxx5
-rw-r--r--xmloff/source/text/XMLSectionFootnoteConfigExport.hxx5
-rw-r--r--xmloff/source/text/XMLSectionFootnoteConfigImport.hxx5
-rw-r--r--xmloff/source/text/XMLSectionImportContext.hxx5
-rw-r--r--xmloff/source/text/XMLSectionSourceDDEImportContext.hxx5
-rw-r--r--xmloff/source/text/XMLSectionSourceImportContext.hxx5
-rw-r--r--xmloff/source/text/XMLTextCharStyleNamesElementExport.hxx5
-rw-r--r--xmloff/source/text/XMLTextFrameContext.hxx5
-rw-r--r--xmloff/source/text/XMLTextFrameHyperlinkContext.hxx5
-rw-r--r--xmloff/source/text/XMLTextListBlockContext.hxx5
-rw-r--r--xmloff/source/text/XMLTextListItemContext.hxx5
-rw-r--r--xmloff/source/text/XMLTextMarkImportContext.hxx5
-rw-r--r--xmloff/source/text/XMLTextNumRuleInfo.hxx4
-rw-r--r--xmloff/source/text/XMLTextPropertySetContext.hxx5
-rw-r--r--xmloff/source/text/XMLTrackedChangesImportContext.hxx5
-rw-r--r--xmloff/source/text/txtdrope.hxx5
-rw-r--r--xmloff/source/text/txtdropi.hxx5
-rw-r--r--xmloff/source/text/txtexppr.hxx5
-rw-r--r--xmloff/source/text/txtparai.hxx5
-rw-r--r--xmloff/source/text/txtparaimphint.hxx5
-rw-r--r--xmloff/source/text/txtprhdl.hxx5
56 files changed, 56 insertions, 223 deletions
diff --git a/xmloff/source/text/XMLAnchorTypePropHdl.hxx b/xmloff/source/text/XMLAnchorTypePropHdl.hxx
index 0a4b7fa6593a..64bddb078f64 100644
--- a/xmloff/source/text/XMLAnchorTypePropHdl.hxx
+++ b/xmloff/source/text/XMLAnchorTypePropHdl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLANCHORTYPEPROPHDL_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLANCHORTYPEPROPHDL_HXX
+#pragma once
#include <com/sun/star/text/TextContentAnchorType.hpp>
#include <xmloff/xmlprhdl.hxx>
@@ -41,6 +40,4 @@ public:
css::text::TextContentAnchorType& rType );
};
-#endif // INCLUDED_XMLOFF_SOURCE_TEXT_XMLANCHORTYPEPROPHDL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLAutoMarkFileContext.hxx b/xmloff/source/text/XMLAutoMarkFileContext.hxx
index 01f124d15b4a..cf74dd596a5d 100644
--- a/xmloff/source/text/XMLAutoMarkFileContext.hxx
+++ b/xmloff/source/text/XMLAutoMarkFileContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLAUTOMARKFILECONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLAUTOMARKFILECONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
@@ -46,6 +45,4 @@ protected:
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLAutoTextContainerEventImport.hxx b/xmloff/source/text/XMLAutoTextContainerEventImport.hxx
index 26270a505838..2640f27edffa 100644
--- a/xmloff/source/text/XMLAutoTextContainerEventImport.hxx
+++ b/xmloff/source/text/XMLAutoTextContainerEventImport.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLAUTOTEXTCONTAINEREVENTIMPORT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLAUTOTEXTCONTAINEREVENTIMPORT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
#include <com/sun/star/uno/Reference.hxx>
@@ -56,6 +55,4 @@ protected:
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLAutoTextEventExport.hxx b/xmloff/source/text/XMLAutoTextEventExport.hxx
index 8135ad81b6f0..27e6de771c4e 100644
--- a/xmloff/source/text/XMLAutoTextEventExport.hxx
+++ b/xmloff/source/text/XMLAutoTextEventExport.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLAUTOTEXTEVENTEXPORT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLAUTOTEXTEVENTEXPORT_HXX
+#pragma once
#include <xmloff/xmlexp.hxx>
@@ -86,6 +85,4 @@ private:
virtual void ExportContent_() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLAutoTextEventImport.hxx b/xmloff/source/text/XMLAutoTextEventImport.hxx
index 8dd605e3661c..58a2ee785993 100644
--- a/xmloff/source/text/XMLAutoTextEventImport.hxx
+++ b/xmloff/source/text/XMLAutoTextEventImport.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLAUTOTEXTEVENTIMPORT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLAUTOTEXTEVENTIMPORT_HXX
+#pragma once
#include <xmloff/xmlimp.hxx>
#include <com/sun/star/container/XNameReplace.hpp>
@@ -57,6 +56,4 @@ protected:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLCalculationSettingsContext.hxx b/xmloff/source/text/XMLCalculationSettingsContext.hxx
index a6f0e620d2c1..d0668b2e512f 100644
--- a/xmloff/source/text/XMLCalculationSettingsContext.hxx
+++ b/xmloff/source/text/XMLCalculationSettingsContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLCALCULATIONSETTINGSCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLCALCULATIONSETTINGSCONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
@@ -36,6 +35,4 @@ public:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLChangeElementImportContext.hxx b/xmloff/source/text/XMLChangeElementImportContext.hxx
index fb7bef4aa13f..dff7222d7890 100644
--- a/xmloff/source/text/XMLChangeElementImportContext.hxx
+++ b/xmloff/source/text/XMLChangeElementImportContext.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLCHANGEELEMENTIMPORTCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLCHANGEELEMENTIMPORTCONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
#include <com/sun/star/uno/Reference.h>
@@ -78,6 +77,4 @@ public:
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLChangeImportContext.hxx b/xmloff/source/text/XMLChangeImportContext.hxx
index 4a5d42d83754..c2e128c55274 100644
--- a/xmloff/source/text/XMLChangeImportContext.hxx
+++ b/xmloff/source/text/XMLChangeImportContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLCHANGEIMPORTCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLCHANGEIMPORTCONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
@@ -65,6 +64,4 @@ private:
bool m_bIsOutsideOfParagraph;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLChangeInfoContext.hxx b/xmloff/source/text/XMLChangeInfoContext.hxx
index 8d1f3965e283..04f055d533a4 100644
--- a/xmloff/source/text/XMLChangeInfoContext.hxx
+++ b/xmloff/source/text/XMLChangeInfoContext.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLCHANGEINFOCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLCHANGEINFOCONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
#include <com/sun/star/uno/Reference.h>
@@ -66,6 +65,4 @@ public:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLChangedRegionImportContext.hxx b/xmloff/source/text/XMLChangedRegionImportContext.hxx
index 97c545cbb58c..db0e48a43d84 100644
--- a/xmloff/source/text/XMLChangedRegionImportContext.hxx
+++ b/xmloff/source/text/XMLChangedRegionImportContext.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLCHANGEDREGIONIMPORTCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLCHANGEDREGIONIMPORTCONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
#include <com/sun/star/uno/Reference.h>
@@ -79,6 +78,4 @@ public:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLFootnoteBodyImportContext.hxx b/xmloff/source/text/XMLFootnoteBodyImportContext.hxx
index 1831f5bd1f59..d52557797eae 100644
--- a/xmloff/source/text/XMLFootnoteBodyImportContext.hxx
+++ b/xmloff/source/text/XMLFootnoteBodyImportContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLFOOTNOTEBODYIMPORTCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLFOOTNOTEBODYIMPORTCONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
#include <com/sun/star/uno/Reference.h>
@@ -47,6 +46,4 @@ protected:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLFootnoteImportContext.hxx b/xmloff/source/text/XMLFootnoteImportContext.hxx
index 534fbabd8891..d05b7b631c22 100644
--- a/xmloff/source/text/XMLFootnoteImportContext.hxx
+++ b/xmloff/source/text/XMLFootnoteImportContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLFOOTNOTEIMPORTCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLFOOTNOTEIMPORTCONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
#include <com/sun/star/uno/Reference.h>
@@ -70,6 +69,4 @@ protected:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLIndexAlphabeticalSourceContext.hxx b/xmloff/source/text/XMLIndexAlphabeticalSourceContext.hxx
index 479405c41746..45fcea4ba0b4 100644
--- a/xmloff/source/text/XMLIndexAlphabeticalSourceContext.hxx
+++ b/xmloff/source/text/XMLIndexAlphabeticalSourceContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXALPHABETICALSOURCECONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXALPHABETICALSOURCECONTEXT_HXX
+#pragma once
#include "XMLIndexSourceBaseContext.hxx"
#include <xmloff/languagetagodf.hxx>
@@ -71,6 +70,4 @@ protected:
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLIndexBibliographyEntryContext.hxx b/xmloff/source/text/XMLIndexBibliographyEntryContext.hxx
index 0314dc899b7f..4c586a5a85e7 100644
--- a/xmloff/source/text/XMLIndexBibliographyEntryContext.hxx
+++ b/xmloff/source/text/XMLIndexBibliographyEntryContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXBIBLIOGRAPHYENTRYCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXBIBLIOGRAPHYENTRYCONTEXT_HXX
+#pragma once
#include "XMLIndexSimpleEntryContext.hxx"
#include <com/sun/star/uno/Reference.h>
@@ -68,6 +67,4 @@ protected:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLIndexBibliographySourceContext.hxx b/xmloff/source/text/XMLIndexBibliographySourceContext.hxx
index 3f66991210e6..497c33d1cf91 100644
--- a/xmloff/source/text/XMLIndexBibliographySourceContext.hxx
+++ b/xmloff/source/text/XMLIndexBibliographySourceContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXBIBLIOGRAPHYSOURCECONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXBIBLIOGRAPHYSOURCECONTEXT_HXX
+#pragma once
#include "XMLIndexSourceBaseContext.hxx"
#include <com/sun/star/uno/Reference.h>
@@ -55,6 +54,4 @@ protected:
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLIndexBodyContext.hxx b/xmloff/source/text/XMLIndexBodyContext.hxx
index 769c1f04b51b..5962bacf3424 100644
--- a/xmloff/source/text/XMLIndexBodyContext.hxx
+++ b/xmloff/source/text/XMLIndexBodyContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXBODYCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXBODYCONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
#include <com/sun/star/uno/Reference.h>
@@ -61,6 +60,4 @@ inline bool XMLIndexBodyContext::HasContent() const
return bHasContent;
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx b/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx
index e5779a107c17..f1cc400e5e4a 100644
--- a/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx
+++ b/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXCHAPTERINFOENTRYCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXCHAPTERINFOENTRYCONTEXT_HXX
+#pragma once
#include "XMLIndexSimpleEntryContext.hxx"
#include <com/sun/star/uno/Reference.h>
@@ -65,6 +64,4 @@ protected:
css::uno::Sequence<css::beans::PropertyValue> & rValues) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLIndexIllustrationSourceContext.hxx b/xmloff/source/text/XMLIndexIllustrationSourceContext.hxx
index 07ec8aca41ff..b482c63fff9b 100644
--- a/xmloff/source/text/XMLIndexIllustrationSourceContext.hxx
+++ b/xmloff/source/text/XMLIndexIllustrationSourceContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXILLUSTRATIONSOURCECONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXILLUSTRATIONSOURCECONTEXT_HXX
+#pragma once
#include "XMLIndexTableSourceContext.hxx"
#include <com/sun/star/uno/Reference.h>
@@ -53,6 +52,4 @@ protected:
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLIndexMarkExport.hxx b/xmloff/source/text/XMLIndexMarkExport.hxx
index fa234c5d1c0c..95b33f071f83 100644
--- a/xmloff/source/text/XMLIndexMarkExport.hxx
+++ b/xmloff/source/text/XMLIndexMarkExport.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXMARKEXPORT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXMARKEXPORT_HXX
+#pragma once
#include <rtl/ustrbuf.hxx>
#include <com/sun/star/uno/Reference.h>
@@ -92,6 +91,4 @@ private:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLIndexObjectSourceContext.hxx b/xmloff/source/text/XMLIndexObjectSourceContext.hxx
index 907eef03752d..6240a5c28a4d 100644
--- a/xmloff/source/text/XMLIndexObjectSourceContext.hxx
+++ b/xmloff/source/text/XMLIndexObjectSourceContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXOBJECTSOURCECONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXOBJECTSOURCECONTEXT_HXX
+#pragma once
#include "XMLIndexSourceBaseContext.hxx"
#include <com/sun/star/uno/Reference.h>
@@ -61,6 +60,4 @@ protected:
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLIndexSimpleEntryContext.hxx b/xmloff/source/text/XMLIndexSimpleEntryContext.hxx
index dbce23d8c588..1fafb4190574 100644
--- a/xmloff/source/text/XMLIndexSimpleEntryContext.hxx
+++ b/xmloff/source/text/XMLIndexSimpleEntryContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXSIMPLEENTRYCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXSIMPLEENTRYCONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
#include <com/sun/star/uno/Reference.h>
@@ -77,6 +76,4 @@ protected:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLIndexSourceBaseContext.hxx b/xmloff/source/text/XMLIndexSourceBaseContext.hxx
index 5f8b060d58b1..1aeb98168175 100644
--- a/xmloff/source/text/XMLIndexSourceBaseContext.hxx
+++ b/xmloff/source/text/XMLIndexSourceBaseContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXSOURCEBASECONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXSOURCEBASECONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
#include <com/sun/star/uno/Reference.h>
@@ -69,6 +68,4 @@ protected:
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLIndexSpanEntryContext.hxx b/xmloff/source/text/XMLIndexSpanEntryContext.hxx
index 8103cbea699e..8b4711c1f84c 100644
--- a/xmloff/source/text/XMLIndexSpanEntryContext.hxx
+++ b/xmloff/source/text/XMLIndexSpanEntryContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXSPANENTRYCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXSPANENTRYCONTEXT_HXX
+#pragma once
#include "XMLIndexSimpleEntryContext.hxx"
#include <com/sun/star/uno/Sequence.h>
@@ -55,6 +54,4 @@ protected:
css::uno::Sequence<css::beans::PropertyValue> & rValues) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLIndexTOCContext.hxx b/xmloff/source/text/XMLIndexTOCContext.hxx
index 5319d8e95058..47cd8ad2c22a 100644
--- a/xmloff/source/text/XMLIndexTOCContext.hxx
+++ b/xmloff/source/text/XMLIndexTOCContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTOCCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTOCCONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
#include <com/sun/star/uno/Reference.h>
@@ -80,6 +79,4 @@ public:
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLIndexTOCSourceContext.hxx b/xmloff/source/text/XMLIndexTOCSourceContext.hxx
index 6832695792dd..f8129fc149d9 100644
--- a/xmloff/source/text/XMLIndexTOCSourceContext.hxx
+++ b/xmloff/source/text/XMLIndexTOCSourceContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTOCSOURCECONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTOCSOURCECONTEXT_HXX
+#pragma once
#include "XMLIndexSourceBaseContext.hxx"
#include <com/sun/star/uno/Reference.h>
@@ -60,6 +59,4 @@ protected:
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLIndexTOCStylesContext.hxx b/xmloff/source/text/XMLIndexTOCStylesContext.hxx
index fe588b933112..a34cf604f118 100644
--- a/xmloff/source/text/XMLIndexTOCStylesContext.hxx
+++ b/xmloff/source/text/XMLIndexTOCStylesContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTOCSTYLESCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTOCSTYLESCONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
#include <com/sun/star/uno/Reference.h>
@@ -71,6 +70,4 @@ protected:
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLIndexTabStopEntryContext.hxx b/xmloff/source/text/XMLIndexTabStopEntryContext.hxx
index 0803a78ad348..5c208f638531 100644
--- a/xmloff/source/text/XMLIndexTabStopEntryContext.hxx
+++ b/xmloff/source/text/XMLIndexTabStopEntryContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTABSTOPENTRYCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTABSTOPENTRYCONTEXT_HXX
+#pragma once
#include "XMLIndexSimpleEntryContext.hxx"
#include <rtl/ustring.hxx>
@@ -64,6 +63,4 @@ protected:
css::uno::Sequence<css::beans::PropertyValue> & rValues) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLIndexTableSourceContext.hxx b/xmloff/source/text/XMLIndexTableSourceContext.hxx
index 96b677d96d22..1a0a7b0bfb77 100644
--- a/xmloff/source/text/XMLIndexTableSourceContext.hxx
+++ b/xmloff/source/text/XMLIndexTableSourceContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTABLESOURCECONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTABLESOURCECONTEXT_HXX
+#pragma once
#include "XMLIndexSourceBaseContext.hxx"
#include <com/sun/star/uno/Reference.h>
@@ -61,6 +60,4 @@ protected:
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLIndexTemplateContext.hxx b/xmloff/source/text/XMLIndexTemplateContext.hxx
index 2aa8a9db56c7..424693d7e459 100644
--- a/xmloff/source/text/XMLIndexTemplateContext.hxx
+++ b/xmloff/source/text/XMLIndexTemplateContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTEMPLATECONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTEMPLATECONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
#include <xmloff/xmltoken.hxx>
@@ -123,6 +122,4 @@ protected:
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLIndexTitleTemplateContext.hxx b/xmloff/source/text/XMLIndexTitleTemplateContext.hxx
index b517ab9e8015..2de1954997bc 100644
--- a/xmloff/source/text/XMLIndexTitleTemplateContext.hxx
+++ b/xmloff/source/text/XMLIndexTitleTemplateContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTITLETEMPLATECONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXTITLETEMPLATECONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
#include <com/sun/star/uno/Reference.h>
@@ -69,6 +68,4 @@ protected:
virtual void SAL_CALL characters(const OUString& sString) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLIndexUserSourceContext.hxx b/xmloff/source/text/XMLIndexUserSourceContext.hxx
index 46a448ad6118..c275f8a053c8 100644
--- a/xmloff/source/text/XMLIndexUserSourceContext.hxx
+++ b/xmloff/source/text/XMLIndexUserSourceContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXUSERSOURCECONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLINDEXUSERSOURCECONTEXT_HXX
+#pragma once
#include "XMLIndexSourceBaseContext.hxx"
#include <com/sun/star/uno/Reference.h>
@@ -63,6 +62,4 @@ protected:
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLLineNumberingExport.hxx b/xmloff/source/text/XMLLineNumberingExport.hxx
index f120f757641c..4beb2a2b465e 100644
--- a/xmloff/source/text/XMLLineNumberingExport.hxx
+++ b/xmloff/source/text/XMLLineNumberingExport.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLLINENUMBERINGEXPORT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLLINENUMBERINGEXPORT_HXX
+#pragma once
class SvXMLExport;
@@ -33,6 +32,4 @@ public:
void Export();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLLineNumberingSeparatorImportContext.hxx b/xmloff/source/text/XMLLineNumberingSeparatorImportContext.hxx
index c3ec804d6a34..110aae6dc988 100644
--- a/xmloff/source/text/XMLLineNumberingSeparatorImportContext.hxx
+++ b/xmloff/source/text/XMLLineNumberingSeparatorImportContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLLINENUMBERINGSEPARATORIMPORTCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLLINENUMBERINGSEPARATORIMPORTCONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
#include <rtl/ustring.hxx>
@@ -57,6 +56,4 @@ protected:
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLPropertyBackpatcher.hxx b/xmloff/source/text/XMLPropertyBackpatcher.hxx
index 10165c488d53..3a243f3bfb79 100644
--- a/xmloff/source/text/XMLPropertyBackpatcher.hxx
+++ b/xmloff/source/text/XMLPropertyBackpatcher.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLPROPERTYBACKPATCHER_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLPROPERTYBACKPATCHER_HXX
+#pragma once
#include <rtl/ustring.hxx>
@@ -95,6 +94,4 @@ public:
const OUString& sName);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLRedlineExport.hxx b/xmloff/source/text/XMLRedlineExport.hxx
index 5ab7230d7fde..5eee02a5db39 100644
--- a/xmloff/source/text/XMLRedlineExport.hxx
+++ b/xmloff/source/text/XMLRedlineExport.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLREDLINEEXPORT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLREDLINEEXPORT_HXX
+#pragma once
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/uno/Sequence.h>
@@ -161,6 +160,4 @@ private:
void WriteComment(std::u16string_view rComment);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLSectionExport.hxx b/xmloff/source/text/XMLSectionExport.hxx
index 06243cc24122..05180e2f2d6f 100644
--- a/xmloff/source/text/XMLSectionExport.hxx
+++ b/xmloff/source/text/XMLSectionExport.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONEXPORT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONEXPORT_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <com/sun/star/uno/Reference.h>
@@ -260,6 +259,4 @@ private:
bool bInvert = false);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLSectionFootnoteConfigExport.hxx b/xmloff/source/text/XMLSectionFootnoteConfigExport.hxx
index 985f7c70a3c5..dcbf66c2e0d0 100644
--- a/xmloff/source/text/XMLSectionFootnoteConfigExport.hxx
+++ b/xmloff/source/text/XMLSectionFootnoteConfigExport.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONFOOTNOTECONFIGEXPORT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONFOOTNOTECONFIGEXPORT_HXX
+#pragma once
#include <sal/types.h>
@@ -50,6 +49,4 @@ public:
const rtl::Reference<XMLPropertySetMapper> & rMapper); /// used only for debugging
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLSectionFootnoteConfigImport.hxx b/xmloff/source/text/XMLSectionFootnoteConfigImport.hxx
index 0182c0d8f571..dc7bc7c94e60 100644
--- a/xmloff/source/text/XMLSectionFootnoteConfigImport.hxx
+++ b/xmloff/source/text/XMLSectionFootnoteConfigImport.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONFOOTNOTECONFIGIMPORT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONFOOTNOTECONFIGIMPORT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
#include <rtl/ref.hxx>
@@ -59,6 +58,4 @@ public:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLSectionImportContext.hxx b/xmloff/source/text/XMLSectionImportContext.hxx
index 4f017c9bc2e9..83f40d05eb92 100644
--- a/xmloff/source/text/XMLSectionImportContext.hxx
+++ b/xmloff/source/text/XMLSectionImportContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONIMPORTCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONIMPORTCONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
#include <com/sun/star/uno/Reference.h>
@@ -78,6 +77,4 @@ private:
const css::uno::Reference<css::xml::sax::XFastAttributeList> & xAttrList );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLSectionSourceDDEImportContext.hxx b/xmloff/source/text/XMLSectionSourceDDEImportContext.hxx
index 95cd7e6fe591..31726f0982ff 100644
--- a/xmloff/source/text/XMLSectionSourceDDEImportContext.hxx
+++ b/xmloff/source/text/XMLSectionSourceDDEImportContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONSOURCEDDEIMPORTCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONSOURCEDDEIMPORTCONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
#include <com/sun/star/uno/Reference.h>
@@ -46,6 +45,4 @@ protected:
const css::uno::Reference<css::xml::sax::XFastAttributeList> & xAttrList) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLSectionSourceImportContext.hxx b/xmloff/source/text/XMLSectionSourceImportContext.hxx
index b426b81acc38..f47dddcbb7f9 100644
--- a/xmloff/source/text/XMLSectionSourceImportContext.hxx
+++ b/xmloff/source/text/XMLSectionSourceImportContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONSOURCEIMPORTCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLSECTIONSOURCEIMPORTCONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
#include <com/sun/star/uno/Reference.h>
@@ -44,6 +43,4 @@ public:
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLTextCharStyleNamesElementExport.hxx b/xmloff/source/text/XMLTextCharStyleNamesElementExport.hxx
index da592981a7d9..0eaad5d33ba5 100644
--- a/xmloff/source/text/XMLTextCharStyleNamesElementExport.hxx
+++ b/xmloff/source/text/XMLTextCharStyleNamesElementExport.hxx
@@ -16,8 +16,7 @@
* 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_XMLOFF_SOURCE_TEXT_XMLTEXTCHARSTYLENAMESELEMENTEXPORT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTCHARSTYLENAMESELEMENTEXPORT_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <com/sun/star/uno/Reference.hxx>
@@ -44,6 +43,4 @@ public:
~XMLTextCharStyleNamesElementExport();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLTextFrameContext.hxx b/xmloff/source/text/XMLTextFrameContext.hxx
index ebefa1e8f4b5..27c9b4c2b81f 100644
--- a/xmloff/source/text/XMLTextFrameContext.hxx
+++ b/xmloff/source/text/XMLTextFrameContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTFRAMECONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTFRAMECONTEXT_HXX
+#pragma once
#include <memory>
@@ -90,6 +89,4 @@ public:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx b/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx
index 38f6752a8834..3b178bb6f835 100644
--- a/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx
+++ b/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTFRAMEHYPERLINKCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTFRAMEHYPERLINKCONTEXT_HXX
+#pragma once
#include <com/sun/star/drawing/XShape.hpp>
#include <com/sun/star/text/XTextContent.hpp>
@@ -59,6 +58,4 @@ public:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLTextListBlockContext.hxx b/xmloff/source/text/XMLTextListBlockContext.hxx
index cc0bb99ec6db..9446ee5e90b4 100644
--- a/xmloff/source/text/XMLTextListBlockContext.hxx
+++ b/xmloff/source/text/XMLTextListBlockContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTLISTBLOCKCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTLISTBLOCKCONTEXT_HXX
+#pragma once
#include <com/sun/star/container/XIndexReplace.hpp>
#include <xmloff/xmlictxt.hxx>
@@ -74,6 +73,4 @@ public:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLTextListItemContext.hxx b/xmloff/source/text/XMLTextListItemContext.hxx
index 9fabdf6a7ce0..de43d90f9b58 100644
--- a/xmloff/source/text/XMLTextListItemContext.hxx
+++ b/xmloff/source/text/XMLTextListItemContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTLISTITEMCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTLISTITEMCONTEXT_HXX
+#pragma once
#include <com/sun/star/container/XIndexReplace.hpp>
@@ -67,6 +66,4 @@ public:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLTextMarkImportContext.hxx b/xmloff/source/text/XMLTextMarkImportContext.hxx
index 5082c151779e..ccf04e55deeb 100644
--- a/xmloff/source/text/XMLTextMarkImportContext.hxx
+++ b/xmloff/source/text/XMLTextMarkImportContext.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTMARKIMPORTCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTMARKIMPORTCONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
#include <com/sun/star/uno/Reference.h>
@@ -101,6 +100,4 @@ public:
const css::uno::Reference<css::xml::sax::XFastAttributeList> & xAttrList);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLTextNumRuleInfo.hxx b/xmloff/source/text/XMLTextNumRuleInfo.hxx
index 498b53ed2d7d..53ad8e97f188 100644
--- a/xmloff/source/text/XMLTextNumRuleInfo.hxx
+++ b/xmloff/source/text/XMLTextNumRuleInfo.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTNUMRULEINFO_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTNUMRULEINFO_HXX
+#pragma once
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/container/XIndexReplace.hpp>
@@ -150,6 +149,5 @@ inline void XMLTextNumRuleInfo::Reset()
mbContinueingPreviousSubTree = false;
msListLabelString.clear();
}
-#endif // INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTNUMRULEINFO_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLTextPropertySetContext.hxx b/xmloff/source/text/XMLTextPropertySetContext.hxx
index 33159f3b319f..2286e773ffdd 100644
--- a/xmloff/source/text/XMLTextPropertySetContext.hxx
+++ b/xmloff/source/text/XMLTextPropertySetContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTPROPERTYSETCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTPROPERTYSETCONTEXT_HXX
+#pragma once
#include <xmloff/xmlprcon.hxx>
@@ -49,6 +48,4 @@ public:
};
-#endif // INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTPROPERTYSETCONTEXT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLTrackedChangesImportContext.hxx b/xmloff/source/text/XMLTrackedChangesImportContext.hxx
index c45bfa7e22d1..6ae3c4a55288 100644
--- a/xmloff/source/text/XMLTrackedChangesImportContext.hxx
+++ b/xmloff/source/text/XMLTrackedChangesImportContext.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLTRACKEDCHANGESIMPORTCONTEXT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLTRACKEDCHANGESIMPORTCONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
#include <com/sun/star/uno/Reference.h>
@@ -46,6 +45,4 @@ public:
sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/txtdrope.hxx b/xmloff/source/text/txtdrope.hxx
index 271a4f85e653..fb477b17edb9 100644
--- a/xmloff/source/text/txtdrope.hxx
+++ b/xmloff/source/text/txtdrope.hxx
@@ -16,8 +16,7 @@
* 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_XMLOFF_SOURCE_TEXT_TXTDROPE_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_TXTDROPE_HXX
+#pragma once
#include <rtl/ustring.hxx>
@@ -40,6 +39,4 @@ public:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/txtdropi.hxx b/xmloff/source/text/txtdropi.hxx
index 09e9d979bd8e..4a9d24b102ec 100644
--- a/xmloff/source/text/txtdropi.hxx
+++ b/xmloff/source/text/txtdropi.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_TXTDROPI_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_TXTDROPI_HXX
+#pragma once
#include <XMLElementPropertyContext.hxx>
@@ -44,6 +43,4 @@ public:
const OUString& GetStyleName() const { return sStyleName; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/txtexppr.hxx b/xmloff/source/text/txtexppr.hxx
index 7e13180e1543..6262613642f1 100644
--- a/xmloff/source/text/txtexppr.hxx
+++ b/xmloff/source/text/txtexppr.hxx
@@ -16,8 +16,7 @@
* 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_XMLOFF_SOURCE_TEXT_TXTEXPPR_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_TXTEXPPR_HXX
+#pragma once
#include <xmloff/xmlexppr.hxx>
@@ -86,6 +85,4 @@ public:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/txtparai.hxx b/xmloff/source/text/txtparai.hxx
index c5780bd28f20..10a60bf162f3 100644
--- a/xmloff/source/text/txtparai.hxx
+++ b/xmloff/source/text/txtparai.hxx
@@ -16,8 +16,7 @@
* 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_XMLOFF_SOURCE_TEXT_TXTPARAI_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_TXTPARAI_HXX
+#pragma once
#include <com/sun/star/container/XIndexReplace.hpp>
@@ -103,6 +102,4 @@ public:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/txtparaimphint.hxx b/xmloff/source/text/txtparaimphint.hxx
index 175f3d65e658..63cc49cfa67e 100644
--- a/xmloff/source/text/txtparaimphint.hxx
+++ b/xmloff/source/text/txtparaimphint.hxx
@@ -16,8 +16,7 @@
* 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_XMLOFF_SOURCE_TEXT_TXTPARAIMPHINT_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_TXTPARAIMPHINT_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include "XMLTextFrameContext.hxx"
@@ -234,6 +233,4 @@ public:
}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/txtprhdl.hxx b/xmloff/source/text/txtprhdl.hxx
index 98825e1bfc59..632d4fe88d2c 100644
--- a/xmloff/source/text/txtprhdl.hxx
+++ b/xmloff/source/text/txtprhdl.hxx
@@ -16,8 +16,7 @@
* 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_XMLOFF_SOURCE_TEXT_TXTPRHDL_HXX
-#define INCLUDED_XMLOFF_SOURCE_TEXT_TXTPRHDL_HXX
+#pragma once
#include <xmloff/prhdlfac.hxx>
@@ -29,6 +28,4 @@ public:
virtual const XMLPropertyHandler* GetPropertyHandler(sal_Int32 nType) const override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */