winaccessibility/inc/AccComponentEventListener.hxx                  |    5 
+----
 winaccessibility/inc/AccContainerEventListener.hxx                  |    5 
+----
 winaccessibility/inc/AccDescendantManagerEventListener.hxx          |    5 
+----
 winaccessibility/inc/AccDialogEventListener.hxx                     |    5 
+----
 winaccessibility/inc/AccEventListener.hxx                           |    5 
+----
 winaccessibility/inc/AccFrameEventListener.hxx                      |    5 
+----
 winaccessibility/inc/AccListEventListener.hxx                       |    5 
+----
 winaccessibility/inc/AccMenuEventListener.hxx                       |    5 
+----
 winaccessibility/inc/AccObject.hxx                                  |    5 
+----
 winaccessibility/inc/AccObjectContainerEventListener.hxx            |    5 
+----
 winaccessibility/inc/AccObjectManagerAgent.hxx                      |    5 
+----
 winaccessibility/inc/AccObjectWinManager.hxx                        |    4 +---
 winaccessibility/inc/AccParagraphEventListener.hxx                  |    5 
+----
 winaccessibility/inc/AccTableEventListener.hxx                      |    5 
+----
 winaccessibility/inc/AccTextComponentEventListener.hxx              |    5 
+----
 winaccessibility/inc/AccTopWindowListener.hxx                       |    5 
+----
 winaccessibility/inc/AccTreeEventListener.hxx                       |    5 
+----
 winaccessibility/inc/AccWindowEventListener.hxx                     |    5 
+----
 winaccessibility/inc/ResIDGenerator.hxx                             |    5 
+----
 winaccessibility/inc/UAccCOMdllapi.h                                |    5 
+----
 winaccessibility/inc/accHelper.hxx                                  |    5 
+----
 winaccessibility/inc/unomsaaevent.hxx                               |    5 
+----
 winaccessibility/source/UAccCOM/AccAction.h                         |    5 
+----
 winaccessibility/source/UAccCOM/AccActionBase.h                     |    5 
+----
 winaccessibility/source/UAccCOM/AccComponent.h                      |    5 
+----
 winaccessibility/source/UAccCOM/AccComponentBase.h                  |    5 
+----
 winaccessibility/source/UAccCOM/AccEditableText.h                   |    5 
+----
 winaccessibility/source/UAccCOM/AccHyperLink.h                      |    5 
+----
 winaccessibility/source/UAccCOM/AccHypertext.h                      |    5 
+----
 winaccessibility/source/UAccCOM/AccImage.h                          |    5 
+----
 winaccessibility/source/UAccCOM/AccRelation.h                       |    5 
+----
 winaccessibility/source/UAccCOM/AccTable.h                          |    5 
+----
 winaccessibility/source/UAccCOM/AccText.h                           |    5 
+----
 winaccessibility/source/UAccCOM/AccTextBase.h                       |    5 
+----
 winaccessibility/source/UAccCOM/AccValue.h                          |    5 
+----
 winaccessibility/source/UAccCOM/AccessibleKeyStroke.h               |    5 
+----
 winaccessibility/source/UAccCOM/EnumVariant.h                       |    5 
+----
 winaccessibility/source/UAccCOM/MAccessible.h                       |    5 
+----
 winaccessibility/source/UAccCOM/UNOXWrapper.h                       |    5 
+----
 winaccessibility/source/UAccCOM/acccommon.h                         |    5 
+----
 winaccessibility/source/UAccCOM/stdafx.h                            |    5 
+----
 writerfilter/inc/dmapper/DomainMapperFactory.hxx                    |    5 
+----
 writerfilter/inc/dmapper/GraphicZOrderHelper.hxx                    |    5 
+----
 writerfilter/inc/dmapper/resourcemodel.hxx                          |    5 
+----
 writerfilter/inc/ooxml/OOXMLDocument.hxx                            |    4 +---
 writerfilter/inc/ooxml/QNameToString.hxx                            |    5 
+----
 writerfilter/inc/rtftok/RTFDocument.hxx                             |    5 
+----
 writerfilter/source/dmapper/BorderHandler.hxx                       |    5 
+----
 writerfilter/source/dmapper/DomainMapperTableManager.hxx            |    5 
+----
 writerfilter/source/dmapper/FFDataHandler.hxx                       |    4 +---
 writerfilter/source/dmapper/FieldTypes.hxx                          |    4 +---
 writerfilter/source/dmapper/FontTable.hxx                           |    5 
+----
 writerfilter/source/dmapper/FormControlHelper.hxx                   |    5 
+----
 writerfilter/source/dmapper/GraphicHelpers.hxx                      |    5 
+----
 writerfilter/source/dmapper/GraphicImport.hxx                       |    5 
+----
 writerfilter/source/dmapper/LatentStyleHandler.hxx                  |    5 
+----
 writerfilter/source/dmapper/LoggedResources.hxx                     |    4 +---
 writerfilter/source/dmapper/MeasureHandler.hxx                      |    5 
+----
 writerfilter/source/dmapper/ModelEventListener.hxx                  |    4 +---
 writerfilter/source/dmapper/NumberingManager.hxx                    |    5 
+----
 writerfilter/source/dmapper/OLEHandler.hxx                          |    5 
+----
 writerfilter/source/dmapper/PageBordersHandler.hxx                  |    5 
+----
 writerfilter/source/dmapper/PropertyIds.hxx                         |    4 +---
 writerfilter/source/dmapper/PropertyMap.hxx                         |    5 
+----
 writerfilter/source/dmapper/PropertyMapHelper.hxx                   |    5 
+----
 writerfilter/source/dmapper/SdtHelper.hxx                           |    5 
+----
 writerfilter/source/dmapper/SectionColumnHandler.hxx                |    5 
+----
 writerfilter/source/dmapper/SettingsTable.hxx                       |    5 
+----
 writerfilter/source/dmapper/SmartTagHandler.hxx                     |    5 
+----
 writerfilter/source/dmapper/StyleSheetTable.hxx                     |    5 
+----
 writerfilter/source/dmapper/TDefTableHandler.hxx                    |    5 
+----
 writerfilter/source/dmapper/TableData.hxx                           |    5 
+----
 writerfilter/source/dmapper/TableManager.hxx                        |    5 
+----
 writerfilter/source/dmapper/TablePositionHandler.hxx                |    5 
+----
 writerfilter/source/dmapper/TablePropertiesHandler.hxx              |    5 
+----
 writerfilter/source/dmapper/TagLogger.hxx                           |    5 
+----
 writerfilter/source/dmapper/TblStylePrHandler.hxx                   |    5 
+----
 writerfilter/source/dmapper/TextEffectsHandler.hxx                  |    5 
+----
 writerfilter/source/dmapper/ThemeTable.hxx                          |    5 
+----
 writerfilter/source/dmapper/TrackChangesHandler.hxx                 |    5 
+----
 writerfilter/source/dmapper/WrapPolygonHandler.hxx                  |    5 
+----
 writerfilter/source/dmapper/util.hxx                                |    5 
+----
 writerfilter/source/ooxml/Handler.hxx                               |    4 +---
 writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx            |    5 
+----
 writerfilter/source/ooxml/OOXMLDocumentImpl.hxx                     |    4 +---
 writerfilter/source/ooxml/OOXMLFactory.hxx                          |    5 
+----
 writerfilter/source/ooxml/OOXMLFastContextHandler.hxx               |    4 +---
 writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx              |    5 
+----
 writerfilter/source/ooxml/OOXMLFastHelper.hxx                       |    4 +---
 writerfilter/source/ooxml/OOXMLParserState.hxx                      |    5 
+----
 writerfilter/source/ooxml/OOXMLPropertySet.hxx                      |    5 
+----
 writerfilter/source/ooxml/OOXMLStreamImpl.hxx                       |    4 +---
 writerfilter/source/rtftok/rtfcharsets.hxx                          |    5 
+----
 writerfilter/source/rtftok/rtfcontrolwords.hxx                      |    5 
+----
 writerfilter/source/rtftok/rtfdocumentimpl.hxx                      |    5 
+----
 writerfilter/source/rtftok/rtffly.hxx                               |    5 
+----
 writerfilter/source/rtftok/rtflistener.hxx                          |    5 
+----
 writerfilter/source/rtftok/rtflookahead.hxx                         |    5 
+----
 writerfilter/source/rtftok/rtfreferenceproperties.hxx               |    5 
+----
 writerfilter/source/rtftok/rtfreferencetable.hxx                    |    5 
+----
 writerfilter/source/rtftok/rtfsdrimport.hxx                         |    5 
+----
 writerfilter/source/rtftok/rtfskipdestination.hxx                   |    5 
+----
 writerfilter/source/rtftok/rtfsprm.hxx                              |    5 
+----
 writerfilter/source/rtftok/rtftokenizer.hxx                         |    5 
+----
 writerfilter/source/rtftok/rtfvalue.hxx                             |    5 
+----
 writerperfect/inc/DirectoryStream.hxx                               |    5 
+----
 writerperfect/inc/DocumentHandler.hxx                               |    5 
+----
 writerperfect/inc/DocumentHandlerFor.hxx                            |    5 
+----
 writerperfect/inc/DocumentHandlerForOdg.hxx                         |    5 
+----
 writerperfect/inc/DocumentHandlerForOdp.hxx                         |    5 
+----
 writerperfect/inc/DocumentHandlerForOds.hxx                         |    5 
+----
 writerperfect/inc/DocumentHandlerForOdt.hxx                         |    5 
+----
 writerperfect/inc/ImportFilter.hxx                                  |    5 
+----
 writerperfect/inc/WPFTEncodingDialog.hxx                            |    5 
+----
 writerperfect/inc/WPFTResMgr.hxx                                    |    5 
+----
 writerperfect/inc/WPXSvInputStream.hxx                              |    5 
+----
 writerperfect/inc/strings.hrc                                       |    5 
+----
 writerperfect/inc/writerperfectdllapi.h                             |    5 
+----
 writerperfect/qa/unit/WpftFilterFixture.hxx                         |    5 
+----
 writerperfect/qa/unit/WpftFilterTestBase.hxx                        |    5 
+----
 writerperfect/qa/unit/WpftLoader.hxx                                |    5 
+----
 writerperfect/qa/unit/wpftimport.hxx                                |    5 
+----
 writerperfect/qa/unit/wpftqahelperdllapi.h                          |    5 
+----
 writerperfect/source/draw/CDRImportFilter.hxx                       |    5 
+----
 writerperfect/source/draw/CMXImportFilter.hxx                       |    5 
+----
 writerperfect/source/draw/FreehandImportFilter.hxx                  |    5 
+----
 writerperfect/source/draw/MSPUBImportFilter.hxx                     |    5 
+----
 writerperfect/source/draw/MWAWDrawImportFilter.hxx                  |    5 
+----
 writerperfect/source/draw/PageMakerImportFilter.hxx                 |    5 
+----
 writerperfect/source/draw/QXPImportFilter.hxx                       |    5 
+----
 writerperfect/source/draw/StarOfficeDrawImportFilter.hxx            |    5 
+----
 writerperfect/source/draw/VisioImportFilter.hxx                     |    5 
+----
 writerperfect/source/draw/WPGImportFilter.hxx                       |    5 
+----
 writerperfect/source/draw/ZMFImportFilter.hxx                       |    5 
+----
 writerperfect/source/impress/KeynoteImportFilter.hxx                |    5 
+----
 writerperfect/source/impress/MWAWPresentationImportFilter.hxx       |    5 
+----
 writerperfect/source/impress/StarOfficePresentationImportFilter.hxx |    5 
+----
 writerperfect/source/writer/AbiWordImportFilter.hxx                 |    5 
+----
 writerperfect/source/writer/EPUBExportDialog.hxx                    |    5 
+----
 writerperfect/source/writer/EPUBExportFilter.hxx                    |    5 
+----
 writerperfect/source/writer/EPUBExportUIComponent.hxx               |    5 
+----
 writerperfect/source/writer/EPUBPackage.hxx                         |    5 
+----
 writerperfect/source/writer/MSWorksImportFilter.hxx                 |    5 
+----
 writerperfect/source/writer/MWAWImportFilter.hxx                    |    5 
+----
 writerperfect/source/writer/PagesImportFilter.hxx                   |    5 
+----
 writerperfect/source/writer/StarOfficeWriterImportFilter.hxx        |    5 
+----
 writerperfect/source/writer/WordPerfectImportFilter.hxx             |    5 
+----
 writerperfect/source/writer/exp/XMLBase64ImportContext.hxx          |    5 
+----
 writerperfect/source/writer/exp/XMLFootnoteImportContext.hxx        |    5 
+----
 writerperfect/source/writer/exp/XMLSectionContext.hxx               |    5 
+----
 writerperfect/source/writer/exp/XMLTextFrameContext.hxx             |    5 
+----
 writerperfect/source/writer/exp/XMLTextListContext.hxx              |    5 
+----
 writerperfect/source/writer/exp/XMLTextListItemContext.hxx          |    5 
+----
 writerperfect/source/writer/exp/txtparai.hxx                        |    5 
+----
 writerperfect/source/writer/exp/txtstyli.hxx                        |    5 
+----
 writerperfect/source/writer/exp/xmlfmt.hxx                          |    5 
+----
 writerperfect/source/writer/exp/xmlictxt.hxx                        |    5 
+----
 writerperfect/source/writer/exp/xmlimp.hxx                          |    5 
+----
 writerperfect/source/writer/exp/xmlmetai.hxx                        |    5 
+----
 writerperfect/source/writer/exp/xmltbli.hxx                         |    5 
+----
 writerperfect/source/writer/exp/xmltext.hxx                         |    5 
+----
 161 files changed, 161 insertions(+), 632 deletions(-)

New commits:
commit e29f53b71058b9468cb6c29f82dbf6de53d4cdd0
Author:     Vincent LE GARREC <libreoff...@le-garrec.fr>
AuthorDate: Sat Mar 6 10:14:31 2021 +0100
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Tue Mar 23 11:06:48 2021 +0100

    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.lauhakan...@libreoffice.org>

diff --git a/winaccessibility/inc/AccComponentEventListener.hxx 
b/winaccessibility/inc/AccComponentEventListener.hxx
index 926c5cb74b65..6c2683f8b6e3 100644
--- a/winaccessibility/inc/AccComponentEventListener.hxx
+++ b/winaccessibility/inc/AccComponentEventListener.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCCOMPONENTEVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCCOMPONENTEVENTLISTENER_HXX
+#pragma once
 
 #include <stdio.h>
 #include "AccEventListener.hxx"
@@ -66,6 +65,4 @@ public:
     void HandleTextSelectionChangedEvent();
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCCOMPONENTEVENTLISTENER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccContainerEventListener.hxx 
b/winaccessibility/inc/AccContainerEventListener.hxx
index 2bd797a60e37..f0b87c3d4042 100644
--- a/winaccessibility/inc/AccContainerEventListener.hxx
+++ b/winaccessibility/inc/AccContainerEventListener.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCCONTAINEREVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCCONTAINEREVENTLISTENER_HXX
+#pragma once
 
 #include <stdio.h>
 #include "AccEventListener.hxx"
@@ -95,6 +94,4 @@ public:
     virtual void HandleNameChangedEvent(css::uno::Any name) override;
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCCONTAINEREVENTLISTENER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccDescendantManagerEventListener.hxx 
b/winaccessibility/inc/AccDescendantManagerEventListener.hxx
index ad4ee3542776..57ae373ce5f7 100644
--- a/winaccessibility/inc/AccDescendantManagerEventListener.hxx
+++ b/winaccessibility/inc/AccDescendantManagerEventListener.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCDESCENDANTMANAGEREVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCDESCENDANTMANAGEREVENTLISTENER_HXX
+#pragma once
 
 #include <stdio.h>
 #include "AccComponentEventListener.hxx"
@@ -62,6 +61,4 @@ public:
             const css::uno::Any &oldValue, const css::uno::Any &newValue);
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCDESCENDANTMANAGEREVENTLISTENER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccDialogEventListener.hxx 
b/winaccessibility/inc/AccDialogEventListener.hxx
index 18ae07d05d8f..b8394f712318 100644
--- a/winaccessibility/inc/AccDialogEventListener.hxx
+++ b/winaccessibility/inc/AccDialogEventListener.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCDIALOGEVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCDIALOGEVENTLISTENER_HXX
+#pragma once
 
 #include <stdio.h>
 #include "AccEventListener.hxx"
@@ -48,6 +47,4 @@ public:
     virtual void SetComponentState(short state, bool enable) override;
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCDIALOGEVENTLISTENER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccEventListener.hxx 
b/winaccessibility/inc/AccEventListener.hxx
index 5ca714b39750..7f5c61e8159e 100644
--- a/winaccessibility/inc/AccEventListener.hxx
+++ b/winaccessibility/inc/AccEventListener.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCEVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCEVENTLISTENER_HXX
+#pragma once
 
 #include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
 #include <com/sun/star/accessibility/XAccessible.hpp>
@@ -77,6 +76,4 @@ public:
     void RemoveMeFromBroadcaster();
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCEVENTLISTENER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccFrameEventListener.hxx 
b/winaccessibility/inc/AccFrameEventListener.hxx
index ce05881e0996..43f4fe393f4c 100644
--- a/winaccessibility/inc/AccFrameEventListener.hxx
+++ b/winaccessibility/inc/AccFrameEventListener.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCFRAMEEVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCFRAMEEVENTLISTENER_HXX
+#pragma once
 
 #include <stdio.h>
 #include "AccEventListener.hxx"
@@ -48,6 +47,4 @@ public:
     virtual void SetComponentState(short state, bool enable) override;
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCFRAMEEVENTLISTENER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccListEventListener.hxx 
b/winaccessibility/inc/AccListEventListener.hxx
index a84b9e9d5c72..bd75a977c531 100644
--- a/winaccessibility/inc/AccListEventListener.hxx
+++ b/winaccessibility/inc/AccListEventListener.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCLISTEVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCLISTEVENTLISTENER_HXX
+#pragma once
 
 #include <stdio.h>
 #include "AccDescendantManagerEventListener.hxx"
@@ -47,6 +46,4 @@ public:
     virtual void HandleValueChangedEvent(css::uno::Any oldValue, css::uno::Any 
newValue) override;
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCLISTEVENTLISTENER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccMenuEventListener.hxx 
b/winaccessibility/inc/AccMenuEventListener.hxx
index 290568bea2e6..c0efc33fced8 100644
--- a/winaccessibility/inc/AccMenuEventListener.hxx
+++ b/winaccessibility/inc/AccMenuEventListener.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCMENUEVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCMENUEVENTLISTENER_HXX
+#pragma once
 
 #include <stdio.h>
 #include "AccComponentEventListener.hxx"
@@ -51,6 +50,4 @@ public:
     virtual void FireStatePropertyChange(short state, bool set) override;
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCMENUEVENTLISTENER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccObject.hxx 
b/winaccessibility/inc/AccObject.hxx
index 2a024642d8ac..2b2232323a02 100644
--- a/winaccessibility/inc/AccObject.hxx
+++ b/winaccessibility/inc/AccObject.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCOBJECT_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCOBJECT_HXX
+#pragma once
 
 #include <vector>
 #include <map>
@@ -138,6 +137,4 @@ public:
     void  setLocalizedResourceString();
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCOBJECT_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccObjectContainerEventListener.hxx 
b/winaccessibility/inc/AccObjectContainerEventListener.hxx
index ec606f56c768..41baf99b40e4 100644
--- a/winaccessibility/inc/AccObjectContainerEventListener.hxx
+++ b/winaccessibility/inc/AccObjectContainerEventListener.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCOBJECTCONTAINEREVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCOBJECTCONTAINEREVENTLISTENER_HXX
+#pragma once
 
 #include <stdio.h>
 #include "AccContainerEventListener.hxx"
@@ -45,6 +44,4 @@ public:
     virtual void HandleVisibleDataChangedEvent() override;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccObjectManagerAgent.hxx 
b/winaccessibility/inc/AccObjectManagerAgent.hxx
index 9864b31f5c0c..ea4b5837b74f 100644
--- a/winaccessibility/inc/AccObjectManagerAgent.hxx
+++ b/winaccessibility/inc/AccObjectManagerAgent.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCOBJECTMANAGERAGENT_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCOBJECTMANAGERAGENT_HXX
+#pragma once
 
 #include <memory>
 
@@ -100,6 +99,4 @@ public:
 
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccObjectWinManager.hxx 
b/winaccessibility/inc/AccObjectWinManager.hxx
index 1529bc40ec7f..bf812c10f47f 100644
--- a/winaccessibility/inc/AccObjectWinManager.hxx
+++ b/winaccessibility/inc/AccObjectWinManager.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCOBJECTWINMANAGER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCOBJECTWINMANAGER_HXX
+#pragma once
 
 #include <com/sun/star/accessibility/XAccessible.hpp>
 #include <map>
@@ -152,6 +151,5 @@ public:
     static bool IsStateManageDescendant(css::accessibility::XAccessible* 
pAccessible);
 
 };
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCOBJECTWINMANAGER_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccParagraphEventListener.hxx 
b/winaccessibility/inc/AccParagraphEventListener.hxx
index 60fdd4decd7d..7204839e34a5 100644
--- a/winaccessibility/inc/AccParagraphEventListener.hxx
+++ b/winaccessibility/inc/AccParagraphEventListener.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCPARAGRAPHEVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCPARAGRAPHEVENTLISTENER_HXX
+#pragma once
 
 #include <stdio.h>
 #include "AccContainerEventListener.hxx"
@@ -50,6 +49,4 @@ public:
     void HandleTextSelectionChangedEvent();
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCPARAGRAPHEVENTLISTENER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccTableEventListener.hxx 
b/winaccessibility/inc/AccTableEventListener.hxx
index b22ce3b2dc25..01871e35e9d4 100644
--- a/winaccessibility/inc/AccTableEventListener.hxx
+++ b/winaccessibility/inc/AccTableEventListener.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCTABLEEVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCTABLEEVENTLISTENER_HXX
+#pragma once
 
 #include <stdio.h>
 #include "AccDescendantManagerEventListener.hxx"
@@ -47,6 +46,4 @@ public:
     void HandleTableModelChangeEvent(css::uno::Any newValue);
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCTABLEEVENTLISTENER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccTextComponentEventListener.hxx 
b/winaccessibility/inc/AccTextComponentEventListener.hxx
index 0a127c916b52..f1e49097ed03 100644
--- a/winaccessibility/inc/AccTextComponentEventListener.hxx
+++ b/winaccessibility/inc/AccTextComponentEventListener.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCTEXTCOMPONENTEVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCTEXTCOMPONENTEVENTLISTENER_HXX
+#pragma once
 
 #include <stdio.h>
 #include "AccComponentEventListener.hxx"
@@ -41,6 +40,4 @@ public:
     virtual void SetComponentState(short state, bool enable) override;
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCTEXTCOMPONENTEVENTLISTENER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccTopWindowListener.hxx 
b/winaccessibility/inc/AccTopWindowListener.hxx
index 82a060a815f9..c88ce5085dc2 100644
--- a/winaccessibility/inc/AccTopWindowListener.hxx
+++ b/winaccessibility/inc/AccTopWindowListener.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCTOPWINDOWLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCTOPWINDOWLISTENER_HXX
+#pragma once
 
 #include <com/sun/star/awt/XTopWindowListener.hpp>
 #include <com/sun/star/awt/XExtendedToolkit.hpp>
@@ -64,6 +63,4 @@ public:
     sal_Int64 GetMSComPtr(sal_Int64 hWnd, sal_Int64 lParam, sal_Int64 wParam);
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCTOPWINDOWLISTENER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccTreeEventListener.hxx 
b/winaccessibility/inc/AccTreeEventListener.hxx
index ead0f8605860..bb3574bf0df7 100644
--- a/winaccessibility/inc/AccTreeEventListener.hxx
+++ b/winaccessibility/inc/AccTreeEventListener.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCTREEEVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCTREEEVENTLISTENER_HXX
+#pragma once
 
 #include <stdio.h>
 #include "AccDescendantManagerEventListener.hxx"
@@ -45,6 +44,4 @@ public:
     virtual void HandleActiveDescendantChangedEvent(css::uno::Any oldValue, 
css::uno::Any newValue);
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCTREEEVENTLISTENER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccWindowEventListener.hxx 
b/winaccessibility/inc/AccWindowEventListener.hxx
index a29e865cb482..a4995e343d4c 100644
--- a/winaccessibility/inc/AccWindowEventListener.hxx
+++ b/winaccessibility/inc/AccWindowEventListener.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCWINDOWEVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCWINDOWEVENTLISTENER_HXX
+#pragma once
 
 #include <stdio.h>
 #include "AccEventListener.hxx"
@@ -48,6 +47,4 @@ public:
     virtual void SetComponentState(short state, bool enable) override;
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCWINDOWEVENTLISTENER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/ResIDGenerator.hxx 
b/winaccessibility/inc/ResIDGenerator.hxx
index abd9ec488c83..19e06c9b88ad 100644
--- a/winaccessibility/inc/ResIDGenerator.hxx
+++ b/winaccessibility/inc/ResIDGenerator.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_INC_RESIDGENERATOR_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_RESIDGENERATOR_HXX
+#pragma once
 
 #define PRIMARY_RESID 0x00000001
 #include <deque>
@@ -41,6 +40,4 @@ public:
     void SetSub(long number) { subList.push_back(number); };
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_INC_RESIDGENERATOR_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/UAccCOMdllapi.h 
b/winaccessibility/inc/UAccCOMdllapi.h
index 41ed958ec67f..50f705c6dae9 100644
--- a/winaccessibility/inc/UAccCOMdllapi.h
+++ b/winaccessibility/inc/UAccCOMdllapi.h
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_INC_UACCCOMDLLAPI_H
-#define INCLUDED_WINACCESSIBILITY_INC_UACCCOMDLLAPI_H
+#pragma once
 
 #include <sal/types.h>
 
@@ -18,6 +17,4 @@
 #define UACCCOM_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
 #endif
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/accHelper.hxx 
b/winaccessibility/inc/accHelper.hxx
index 67323eca1970..4e2d941c418a 100644
--- a/winaccessibility/inc/accHelper.hxx
+++ b/winaccessibility/inc/accHelper.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCHELPER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCHELPER_HXX
+#pragma once
 
 #include "UAccCOMdllapi.h"
 
@@ -35,6 +34,4 @@ enum DIRECTION
 struct IMAccessible;
 UACCCOM_DLLPUBLIC IMAccessible* UAccCOMCreateInstance();
 
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCHELPER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/unomsaaevent.hxx 
b/winaccessibility/inc/unomsaaevent.hxx
index 8f3cb114a933..7b45c86867ed 100644
--- a/winaccessibility/inc/unomsaaevent.hxx
+++ b/winaccessibility/inc/unomsaaevent.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_INC_UNOMSAAEVENT_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_UNOMSAAEVENT_HXX
+#pragma once
 
 //STATE_CHANGED with get FOCUSED -> EVENT_OBJECT_FOCUS
 const short UM_EVENT_STATE_FOCUSED = 0;
@@ -105,6 +104,4 @@ const short UM_EVENT_TEXT_SELECTION_CHANGED = 39;
 const short UM_EVENT_SECTION_CHANGED = 40;
 const short UM_EVENT_COLUMN_CHANGED = 41;
 
-#endif // INCLUDED_WINACCESSIBILITY_INC_UNOMSAAEVENT_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccAction.h 
b/winaccessibility/source/UAccCOM/AccAction.h
index 8d6aa383ffb2..8579e90cb242 100644
--- a/winaccessibility/source/UAccCOM/AccAction.h
+++ b/winaccessibility/source/UAccCOM/AccAction.h
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCACTION_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCACTION_H
+#pragma once
 
 #include "Resource.h"       // main symbols
 #include "AccActionBase.h"
@@ -100,6 +99,4 @@ public:
 
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCACTION_H
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccActionBase.h 
b/winaccessibility/source/UAccCOM/AccActionBase.h
index e70c32467809..26d3e7d054aa 100644
--- a/winaccessibility/source/UAccCOM/AccActionBase.h
+++ b/winaccessibility/source/UAccCOM/AccActionBase.h
@@ -19,8 +19,7 @@
 
 // AccActionBase.h: interface for the CAccActionBase class.
 
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCACTIONBASE_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCACTIONBASE_H
+#pragma once
 
 #include <com/sun/star/uno/Reference.hxx>
 #include <com/sun/star/accessibility/XAccessibleAction.hpp>
@@ -72,6 +71,4 @@ private:
     css::accessibility::XAccessibleAction* GetXInterface() { return 
pRXAct.get(); }
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCACTIONBASE_H
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccComponent.h 
b/winaccessibility/source/UAccCOM/AccComponent.h
index 99610872d830..bfd0cf42582c 100644
--- a/winaccessibility/source/UAccCOM/AccComponent.h
+++ b/winaccessibility/source/UAccCOM/AccComponent.h
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCCOMPONENT_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCCOMPONENT_H
+#pragma once
 
 #include "Resource.h"       // main symbols
 
@@ -85,6 +84,4 @@ public:
     STDMETHOD(get_background)(IA2Color * background) override;
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCCOMPONENT_H
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccComponentBase.h 
b/winaccessibility/source/UAccCOM/AccComponentBase.h
index fd050d4c64ed..83770ba2d263 100644
--- a/winaccessibility/source/UAccCOM/AccComponentBase.h
+++ b/winaccessibility/source/UAccCOM/AccComponentBase.h
@@ -19,8 +19,7 @@
 
 // AccComponentBase.h: interface for the CAccComponentBase class.
 
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCCOMPONENTBASE_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCCOMPONENTBASE_H
+#pragma once
 
 #include <com/sun/star/uno/Reference.hxx>
 #include <com/sun/star/accessibility/XAccessibleComponent.hpp>
@@ -61,6 +60,4 @@ protected:
     css::accessibility::XAccessibleComponent* GetXInterface() { return 
pRXComp.get(); }
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCCOMPONENTBASE_H
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccEditableText.h 
b/winaccessibility/source/UAccCOM/AccEditableText.h
index 3925fc060024..30c6d2a08e91 100644
--- a/winaccessibility/source/UAccCOM/AccEditableText.h
+++ b/winaccessibility/source/UAccCOM/AccEditableText.h
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCEDITABLETEXT_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCEDITABLETEXT_H
+#pragma once
 
 #include <sal/config.h>
 
@@ -116,6 +115,4 @@ private:
     }
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCEDITABLETEXT_H
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccHyperLink.h 
b/winaccessibility/source/UAccCOM/AccHyperLink.h
index 1af6adabbbd2..42d65a833577 100644
--- a/winaccessibility/source/UAccCOM/AccHyperLink.h
+++ b/winaccessibility/source/UAccCOM/AccHyperLink.h
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCHYPERLINK_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCHYPERLINK_H
+#pragma once
 
 #include "Resource.h"       // main symbols
 
@@ -134,6 +133,4 @@ private:
 
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCHYPERLINK_H
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccHypertext.h 
b/winaccessibility/source/UAccCOM/AccHypertext.h
index 59bf64d45dc9..41be1d886c93 100644
--- a/winaccessibility/source/UAccCOM/AccHypertext.h
+++ b/winaccessibility/source/UAccCOM/AccHypertext.h
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCHYPERTEXT_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCHYPERTEXT_H
+#pragma once
 
 #include "Resource.h"       // main symbols
 
@@ -151,6 +150,4 @@ private:
 
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCHYPERTEXT_H
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccImage.h 
b/winaccessibility/source/UAccCOM/AccImage.h
index 3d7d86306c1c..f747ddfe57f7 100644
--- a/winaccessibility/source/UAccCOM/AccImage.h
+++ b/winaccessibility/source/UAccCOM/AccImage.h
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCIMAGE_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCIMAGE_H
+#pragma once
 
 #include "Resource.h"        // main symbols
 
@@ -97,6 +96,4 @@ private:
     }
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCIMAGE_H
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccRelation.h 
b/winaccessibility/source/UAccCOM/AccRelation.h
index 77a3e396f560..df258f709dbc 100644
--- a/winaccessibility/source/UAccCOM/AccRelation.h
+++ b/winaccessibility/source/UAccCOM/AccRelation.h
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCRELATION_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCRELATION_H
+#pragma once
 
 #include "Resource.h"       // main symbols
 
@@ -89,6 +88,4 @@ private:
     css::accessibility::AccessibleRelation relation;
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCRELATION_H
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccTable.h 
b/winaccessibility/source/UAccCOM/AccTable.h
index 56d9ae338d67..a3b1dbc0a47d 100644
--- a/winaccessibility/source/UAccCOM/AccTable.h
+++ b/winaccessibility/source/UAccCOM/AccTable.h
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCTABLE_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCTABLE_H
+#pragma once
 
 #include "Resource.h"       // main symbols
 
@@ -176,6 +175,4 @@ private:
     }
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCTABLE_H
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccText.h 
b/winaccessibility/source/UAccCOM/AccText.h
index fbbb07cb841f..dd624fd4e306 100644
--- a/winaccessibility/source/UAccCOM/AccText.h
+++ b/winaccessibility/source/UAccCOM/AccText.h
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCTEXT_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCTEXT_H
+#pragma once
 
 #include "Resource.h"       // main symbols
 
@@ -127,6 +126,4 @@ public:
     STDMETHOD(get_oldText)( IA2TextSegment *oldText) override;
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCTEXT_H
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccTextBase.h 
b/winaccessibility/source/UAccCOM/AccTextBase.h
index da4272cba8d1..66f0087563ad 100644
--- a/winaccessibility/source/UAccCOM/AccTextBase.h
+++ b/winaccessibility/source/UAccCOM/AccTextBase.h
@@ -19,8 +19,7 @@
 
 // AccTextBase.h: interface for the CAccTextBase class.
 
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCTEXTBASE_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCTEXTBASE_H
+#pragma once
 
 #include <com/sun/star/uno/Reference.hxx>
 #include <com/sun/star/accessibility/XAccessibleText.hpp>
@@ -111,6 +110,4 @@ private:
     css::accessibility::XAccessibleText* GetXInterface() { return 
pRXText.get(); }
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCTEXTBASE_H
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccValue.h 
b/winaccessibility/source/UAccCOM/AccValue.h
index e16fed598b01..0bfb1dda0e25 100644
--- a/winaccessibility/source/UAccCOM/AccValue.h
+++ b/winaccessibility/source/UAccCOM/AccValue.h
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCVALUE_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCVALUE_H
+#pragma once
 
 #include "Resource.h"           // main symbols
 
@@ -100,6 +99,4 @@ private:
 
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCVALUE_H
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccessibleKeyStroke.h 
b/winaccessibility/source/UAccCOM/AccessibleKeyStroke.h
index 74a731fbd8b2..db3903cbd6e7 100644
--- a/winaccessibility/source/UAccCOM/AccessibleKeyStroke.h
+++ b/winaccessibility/source/UAccCOM/AccessibleKeyStroke.h
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCESSIBLEKEYSTROKE_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCESSIBLEKEYSTROKE_H
+#pragma once
 
 struct ACCESSIBLE_KEYSTROKE
 {
@@ -150,6 +149,4 @@ const short FINDBACKWARD = 16;
 const short PROPERTIES = 17;
 const short FRONT = 18;
 
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCESSIBLEKEYSTROKE_H
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/EnumVariant.h 
b/winaccessibility/source/UAccCOM/EnumVariant.h
index 00e039ab018d..d82bd771fb19 100644
--- a/winaccessibility/source/UAccCOM/EnumVariant.h
+++ b/winaccessibility/source/UAccCOM/EnumVariant.h
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ENUMVARIANT_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ENUMVARIANT_H
+#pragma once
 
 #include "Resource.h"       // main symbols
 #include <com/sun/star/accessibility/XAccessible.hpp>
@@ -107,6 +106,4 @@ private:
         m_pXAccessibleSelection;
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ENUMVARIANT_H
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/MAccessible.h 
b/winaccessibility/source/UAccCOM/MAccessible.h
index 7ec9e3212d11..4a388a3943f5 100644
--- a/winaccessibility/source/UAccCOM/MAccessible.h
+++ b/winaccessibility/source/UAccCOM/MAccessible.h
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_MACCESSIBLE_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_MACCESSIBLE_H
+#pragma once
 
 #include "Resource.h"       // main symbols
 #include <map>
@@ -254,6 +253,4 @@ public:
 
 
 
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_MACCESSIBLE_H
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/UNOXWrapper.h 
b/winaccessibility/source/UAccCOM/UNOXWrapper.h
index b00bb6cbb5a7..76e47565a2d9 100644
--- a/winaccessibility/source/UAccCOM/UNOXWrapper.h
+++ b/winaccessibility/source/UAccCOM/UNOXWrapper.h
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_UNOXWRAPPER_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_UNOXWRAPPER_H
+#pragma once
 
 #include "Resource.h" // main symbols
 
@@ -55,6 +54,4 @@ protected:
     ~CUNOXWrapper() {}
 };
 
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_UNOXWRAPPER_H
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/acccommon.h 
b/winaccessibility/source/UAccCOM/acccommon.h
index f178ad3f32da..a14c26a84023 100644
--- a/winaccessibility/source/UAccCOM/acccommon.h
+++ b/winaccessibility/source/UAccCOM/acccommon.h
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCCOMMON_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCCOMMON_H
+#pragma once
 
 //for MAccessible.cxx
 struct ltComp
@@ -65,6 +64,4 @@ createInstance(REFIID iid, Ifc ** ppIfc)
     return CComCreator< CComObject<T> >::CreateInstance(0, iid, 
reinterpret_cast<void**>(ppIfc));
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/stdafx.h 
b/winaccessibility/source/UAccCOM/stdafx.h
index e25bfe98c450..46abca7ea71c 100644
--- a/winaccessibility/source/UAccCOM/stdafx.h
+++ b/winaccessibility/source/UAccCOM/stdafx.h
@@ -21,8 +21,7 @@
 //      or project specific include files that are used frequently,
 //      but are changed infrequently
 
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_STDAFX_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_STDAFX_H
+#pragma once
 
 #pragma once
 
@@ -76,6 +75,4 @@ extern CComModule _Module;
 //{{AFX_INSERT_LOCATION}}
 // Microsoft Visual C++ will insert additional declarations immediately before 
the previous line.
 
-#endif // 
!defined(AFX_STDAFX_H__5E2F9072_190F_47C7_8003_4D44FD308CB9__INCLUDED)
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/inc/dmapper/DomainMapperFactory.hxx 
b/writerfilter/inc/dmapper/DomainMapperFactory.hxx
index 90879c0b46a6..944ec1aeeccc 100644
--- a/writerfilter/inc/dmapper/DomainMapperFactory.hxx
+++ b/writerfilter/inc/dmapper/DomainMapperFactory.hxx
@@ -6,8 +6,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERFILTER_INC_DMAPPER_DOMAINMAPPERFACTORY_HXX
-#define INCLUDED_WRITERFILTER_INC_DMAPPER_DOMAINMAPPERFACTORY_HXX
+#pragma once
 
 #include <vector>
 
@@ -46,6 +45,4 @@ splitFieldCommand(const OUString& rCommand);
 
 } // namespace writerfilter::dmapper
 
-#endif // INCLUDED_WRITERFILTER_INC_DMAPPER_DOMAINMAPPERFACTORY_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/inc/dmapper/GraphicZOrderHelper.hxx 
b/writerfilter/inc/dmapper/GraphicZOrderHelper.hxx
index 1eadc33dcf87..a6458333b560 100644
--- a/writerfilter/inc/dmapper/GraphicZOrderHelper.hxx
+++ b/writerfilter/inc/dmapper/GraphicZOrderHelper.hxx
@@ -6,8 +6,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERFILTER_INC_DMAPPER_GRAPHICZORDERHELPER_HXX
-#define INCLUDED_WRITERFILTER_INC_DMAPPER_GRAPHICZORDERHELPER_HXX
+#pragma once
 
 #include <com/sun/star/beans/XPropertySet.hpp>
 #include <map>
@@ -28,6 +27,4 @@ private:
 
 } // namespace writerfilter::dmapper
 
-#endif // INCLUDED_WRITERFILTER_INC_DMAPPER_GRAPHICZORDERHELPER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/inc/dmapper/resourcemodel.hxx 
b/writerfilter/inc/dmapper/resourcemodel.hxx
index 5ea1512fb1ba..2a9833f7ea2f 100644
--- a/writerfilter/inc/dmapper/resourcemodel.hxx
+++ b/writerfilter/inc/dmapper/resourcemodel.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WRITERFILTER_INC_DMAPPER_RESOURCEMODEL_HXX
-#define INCLUDED_WRITERFILTER_INC_DMAPPER_RESOURCEMODEL_HXX
+#pragma once
 
 #include <string>
 #include <sal/types.h>
@@ -395,6 +394,4 @@ protected:
 typedef sal_Int32 Token_t;
 }
 
-#endif // INCLUDED_WRITERFILTER_INC_DMAPPER_RESOURCEMODEL_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/inc/ooxml/OOXMLDocument.hxx 
b/writerfilter/inc/ooxml/OOXMLDocument.hxx
index 72aa04493d1b..1110fa84b1e0 100644
--- a/writerfilter/inc/ooxml/OOXMLDocument.hxx
+++ b/writerfilter/inc/ooxml/OOXMLDocument.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_WRITERFILTER_INC_OOXML_OOXMLDOCUMENT_HXX
-#define INCLUDED_WRITERFILTER_INC_OOXML_OOXMLDOCUMENT_HXX
+#pragma once
 
 #include <sal/types.h>
 #include <com/sun/star/uno/Reference.hxx>
@@ -252,6 +251,5 @@ public:
 std::string fastTokenToId(sal_uInt32 nToken);
 
 }
-#endif // INCLUDED_WRITERFILTER_INC_OOXML_OOXMLDOCUMENT_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/inc/ooxml/QNameToString.hxx 
b/writerfilter/inc/ooxml/QNameToString.hxx
index c7aa4d39a857..d7d27d302bd2 100644
--- a/writerfilter/inc/ooxml/QNameToString.hxx
+++ b/writerfilter/inc/ooxml/QNameToString.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_WRITERFILTER_INC_OOXML_QNAMETOSTRING_HXX
-#define INCLUDED_WRITERFILTER_INC_OOXML_QNAMETOSTRING_HXX
+#pragma once
 
 #include <string>
 #include <dmapper/resourcemodel.hxx>
@@ -29,6 +28,4 @@ std::string QNameToString(Id);
 #endif
 }
 
-#endif // INCLUDED_WRITERFILTER_INC_OOXML_QNAMETOSTRING_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/inc/rtftok/RTFDocument.hxx 
b/writerfilter/inc/rtftok/RTFDocument.hxx
index 0e0cec27f198..44d0173a6f3e 100644
--- a/writerfilter/inc/rtftok/RTFDocument.hxx
+++ b/writerfilter/inc/rtftok/RTFDocument.hxx
@@ -6,8 +6,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERFILTER_INC_RTFTOK_RTFDOCUMENT_HXX
-#define INCLUDED_WRITERFILTER_INC_RTFTOK_RTFDOCUMENT_HXX
+#pragma once
 
 #include <dmapper/resourcemodel.hxx>
 #include <com/sun/star/uno/XComponentContext.hpp>
@@ -44,6 +43,4 @@ public:
 };
 } // namespace writerfilter::rtftok
 
-#endif // INCLUDED_WRITERFILTER_INC_RTFTOK_RTFDOCUMENT_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/BorderHandler.hxx 
b/writerfilter/source/dmapper/BorderHandler.hxx
index 1261416760b3..6c607ca5aea2 100644
--- a/writerfilter/source/dmapper/BorderHandler.hxx
+++ b/writerfilter/source/dmapper/BorderHandler.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_WRITERFILTER_SOURCE_DMAPPER_BORDERHANDLER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_BORDERHANDLER_HXX
+#pragma once
 
 #include <vector>
 #include "LoggedResources.hxx"
@@ -76,6 +75,4 @@ public:
 };
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/DomainMapperTableManager.hxx 
b/writerfilter/source/dmapper/DomainMapperTableManager.hxx
index 9b30e6dd8315..8c337e6b48c8 100644
--- a/writerfilter/source/dmapper/DomainMapperTableManager.hxx
+++ b/writerfilter/source/dmapper/DomainMapperTableManager.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_WRITERFILTER_SOURCE_DMAPPER_DOMAINMAPPERTABLEMANAGER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_DOMAINMAPPERTABLEMANAGER_HXX
+#pragma once
 
 #include "TablePropertiesHandler.hxx"
 #include "TablePositionHandler.hxx"
@@ -133,6 +132,4 @@ public:
 
 }
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_DMAPPER_DOMAINMAPPERTABLEMANAGER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/FFDataHandler.hxx 
b/writerfilter/source/dmapper/FFDataHandler.hxx
index 1603d39b0ad0..f8a88f5c9d6b 100644
--- a/writerfilter/source/dmapper/FFDataHandler.hxx
+++ b/writerfilter/source/dmapper/FFDataHandler.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_WRITERFILTER_SOURCE_DMAPPER_FFDATAHANDLER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_FFDATAHANDLER_HXX
+#pragma once
 #include "LoggedResources.hxx"
 #include <rtl/ustring.hxx>
 #include <vector>
@@ -96,6 +95,5 @@ private:
     void lcl_attribute(Id name, Value& val) override;
 };
 }
-#endif // INCLUDED_WRITERFILTER_SOURCE_DMAPPER_FFDATAHANDLER_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/FieldTypes.hxx 
b/writerfilter/source/dmapper/FieldTypes.hxx
index 7755c3feb7ca..f28d0f03179f 100644
--- a/writerfilter/source/dmapper/FieldTypes.hxx
+++ b/writerfilter/source/dmapper/FieldTypes.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_WRITERFILTER_SOURCE_DMAPPER_FIELDTYPES_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_FIELDTYPES_HXX
+#pragma once
 
 namespace writerfilter::dmapper {
 
@@ -301,6 +300,5 @@ enum FieldId
 };
 
 }
-#endif // INCLUDED_WRITERFILTER_SOURCE_DMAPPER_FIELDTYPES_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/FontTable.hxx 
b/writerfilter/source/dmapper/FontTable.hxx
index 1276eaa8d705..0a360b2f14ca 100644
--- a/writerfilter/source/dmapper/FontTable.hxx
+++ b/writerfilter/source/dmapper/FontTable.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_FONTTABLE_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_FONTTABLE_HXX
+#pragma once
 
 #include <memory>
 #include <vector>
@@ -102,6 +101,4 @@ private:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/FormControlHelper.hxx 
b/writerfilter/source/dmapper/FormControlHelper.hxx
index f3cb74549226..b1f2620249c0 100644
--- a/writerfilter/source/dmapper/FormControlHelper.hxx
+++ b/writerfilter/source/dmapper/FormControlHelper.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_WRITERFILTER_SOURCE_DMAPPER_FORMCONTROLHELPER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_FORMCONTROLHELPER_HXX
+#pragma once
 
 #include "FFDataHandler.hxx"
 #include <com/sun/star/text/XTextDocument.hpp>
@@ -50,6 +49,4 @@ private:
 };
 }
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_DMAPPER_FORMCONTROLHELPER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/GraphicHelpers.hxx 
b/writerfilter/source/dmapper/GraphicHelpers.hxx
index 66fd06c06281..4d9c463945bf 100644
--- a/writerfilter/source/dmapper/GraphicHelpers.hxx
+++ b/writerfilter/source/dmapper/GraphicHelpers.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_GRAPHICHELPERS_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_GRAPHICHELPERS_HXX
+#pragma once
 
 #include "LoggedResources.hxx"
 #include <com/sun/star/text/WrapTextMode.hpp>
@@ -77,6 +76,4 @@ public:
 };
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/GraphicImport.hxx 
b/writerfilter/source/dmapper/GraphicImport.hxx
index 9ea3984db23b..d1030b983d82 100644
--- a/writerfilter/source/dmapper/GraphicImport.hxx
+++ b/writerfilter/source/dmapper/GraphicImport.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_WRITERFILTER_SOURCE_DMAPPER_GRAPHICIMPORT_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_GRAPHICIMPORT_HXX
+#pragma once
 
 #include <queue>
 #include <memory>
@@ -131,6 +130,4 @@ typedef tools::SvRef<GraphicImport> GraphicImportPtr;
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/LatentStyleHandler.hxx 
b/writerfilter/source/dmapper/LatentStyleHandler.hxx
index db46e974f9f7..52a4d9e7c318 100644
--- a/writerfilter/source/dmapper/LatentStyleHandler.hxx
+++ b/writerfilter/source/dmapper/LatentStyleHandler.hxx
@@ -6,8 +6,7 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
-#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_LATENTSTYLEHANDLER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_LATENTSTYLEHANDLER_HXX
+#pragma once
 
 #include "LoggedResources.hxx"
 #include <vector>
@@ -33,6 +32,4 @@ public:
 
 } // namespace writerfilter::dmapper
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/LoggedResources.hxx 
b/writerfilter/source/dmapper/LoggedResources.hxx
index 52ef6a43e9d2..a6f49cf07d29 100644
--- a/writerfilter/source/dmapper/LoggedResources.hxx
+++ b/writerfilter/source/dmapper/LoggedResources.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_LOGGEDRESOURCES_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_LOGGEDRESOURCES_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -133,6 +132,5 @@ protected:
 #endif
 };
 }
-#endif // INCLUDED_WRITERFILTER_SOURCE_DMAPPER_LOGGEDRESOURCES_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/MeasureHandler.hxx 
b/writerfilter/source/dmapper/MeasureHandler.hxx
index 3b70987d5345..8a6f9639eec5 100644
--- a/writerfilter/source/dmapper/MeasureHandler.hxx
+++ b/writerfilter/source/dmapper/MeasureHandler.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_WRITERFILTER_SOURCE_DMAPPER_MEASUREHANDLER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_MEASUREHANDLER_HXX
+#pragma once
 
 #include "LoggedResources.hxx"
 #include <vector>
@@ -58,6 +57,4 @@ public:
 typedef tools::SvRef<MeasureHandler> MeasureHandlerPtr;
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/ModelEventListener.hxx 
b/writerfilter/source/dmapper/ModelEventListener.hxx
index 7080674ff27c..47cd94b80a82 100644
--- a/writerfilter/source/dmapper/ModelEventListener.hxx
+++ b/writerfilter/source/dmapper/ModelEventListener.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_WRITERFILTER_SOURCE_DMAPPER_MODELEVENTLISTENER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_MODELEVENTLISTENER_HXX
+#pragma once
 
 #include <com/sun/star/document/XEventListener.hpp>
 #include <cppuhelper/implbase.hxx>
@@ -37,6 +36,5 @@ public:
     virtual void SAL_CALL disposing(const css::lang::EventObject& Source) 
override;
 };
 } //namespace writerfilter::dmapper
-#endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/NumberingManager.hxx 
b/writerfilter/source/dmapper/NumberingManager.hxx
index 0a4c3e18f8e6..2a1e0204e02d 100644
--- a/writerfilter/source/dmapper/NumberingManager.hxx
+++ b/writerfilter/source/dmapper/NumberingManager.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_NUMBERINGMANAGER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_NUMBERINGMANAGER_HXX
+#pragma once
 
 #include "PropertyMap.hxx"
 
@@ -254,6 +253,4 @@ public:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/OLEHandler.hxx 
b/writerfilter/source/dmapper/OLEHandler.hxx
index eb04d4782c90..f0279d1dc854 100644
--- a/writerfilter/source/dmapper/OLEHandler.hxx
+++ b/writerfilter/source/dmapper/OLEHandler.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_WRITERFILTER_SOURCE_DMAPPER_OLEHANDLER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_OLEHANDLER_HXX
+#pragma once
 
 #include "LoggedResources.hxx"
 #include <com/sun/star/awt/Size.hpp>
@@ -92,6 +91,4 @@ public:
 };
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/PageBordersHandler.hxx 
b/writerfilter/source/dmapper/PageBordersHandler.hxx
index 4b913c09af1d..537d34b8104b 100644
--- a/writerfilter/source/dmapper/PageBordersHandler.hxx
+++ b/writerfilter/source/dmapper/PageBordersHandler.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_WRITERFILTER_SOURCE_DMAPPER_PAGEBORDERSHANDLER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_PAGEBORDERSHANDLER_HXX
+#pragma once
 
 #include "PropertyMap.hxx"
 
@@ -60,6 +59,4 @@ public:
 };
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/PropertyIds.hxx 
b/writerfilter/source/dmapper/PropertyIds.hxx
index 766748116a70..67e804d231cb 100644
--- a/writerfilter/source/dmapper/PropertyIds.hxx
+++ b/writerfilter/source/dmapper/PropertyIds.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_WRITERFILTER_SOURCE_DMAPPER_PROPERTYIDS_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_PROPERTYIDS_HXX
+#pragma once
 
 #include <rtl/ustring.hxx>
 
@@ -370,6 +369,5 @@ bool isCharacterProperty(const PropertyIds eId);
 bool isParagraphProperty(const PropertyIds eId);
 
 } // namespace writerfilter::dmapper
-#endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/PropertyMap.hxx 
b/writerfilter/source/dmapper/PropertyMap.hxx
index 718c946234fd..d5282991f1b5 100644
--- a/writerfilter/source/dmapper/PropertyMap.hxx
+++ b/writerfilter/source/dmapper/PropertyMap.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_WRITERFILTER_SOURCE_DMAPPER_PROPERTYMAP_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_PROPERTYMAP_HXX
+#pragma once
 
 #include <rtl/ustring.hxx>
 #include <tools/ref.hxx>
@@ -605,6 +604,4 @@ typedef std::shared_ptr< std::vector<TableParagraph> > 
TableParagraphVectorPtr;
 
 } // namespace writerfilter::dmapper
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_DMAPPER_PROPERTYMAP_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/PropertyMapHelper.hxx 
b/writerfilter/source/dmapper/PropertyMapHelper.hxx
index 044ae1b92f35..472e1bcfa6f5 100644
--- a/writerfilter/source/dmapper/PropertyMapHelper.hxx
+++ b/writerfilter/source/dmapper/PropertyMapHelper.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_PROPERTYMAPHELPER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_PROPERTYMAPHELPER_HXX
+#pragma once
 
 #include <com/sun/star/beans/PropertyValues.hpp>
 
@@ -32,6 +31,4 @@ void 
lcl_DumpPropertyValueSeq(css::uno::Sequence<css::beans::PropertyValues> con
 #endif // DBG_UTIL
 }
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_DMAPPER_PROPERTYMAPHELPER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/SdtHelper.hxx 
b/writerfilter/source/dmapper/SdtHelper.hxx
index e5decd927ad0..13859aab0f2c 100644
--- a/writerfilter/source/dmapper/SdtHelper.hxx
+++ b/writerfilter/source/dmapper/SdtHelper.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_SDTHELPER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_SDTHELPER_HXX
+#pragma once
 
 #include <vector>
 
@@ -111,6 +110,4 @@ public:
 
 } // namespace writerfilter::dmapper
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/SectionColumnHandler.hxx 
b/writerfilter/source/dmapper/SectionColumnHandler.hxx
index 70c9d6d7209f..cbef67460ed7 100644
--- a/writerfilter/source/dmapper/SectionColumnHandler.hxx
+++ b/writerfilter/source/dmapper/SectionColumnHandler.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_WRITERFILTER_SOURCE_DMAPPER_SECTIONCOLUMNHANDLER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_SECTIONCOLUMNHANDLER_HXX
+#pragma once
 
 #include "LoggedResources.hxx"
 #include <vector>
@@ -60,6 +59,4 @@ public:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/SettingsTable.hxx 
b/writerfilter/source/dmapper/SettingsTable.hxx
index 79defda867df..431bb5d7c671 100644
--- a/writerfilter/source/dmapper/SettingsTable.hxx
+++ b/writerfilter/source/dmapper/SettingsTable.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_SETTINGSTABLE_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_SETTINGSTABLE_HXX
+#pragma once
 
 #include "LoggedResources.hxx"
 #include <com/sun/star/text/XTextDocument.hpp>
@@ -107,6 +106,4 @@ private:
 typedef tools::SvRef<SettingsTable> SettingsTablePtr;
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/SmartTagHandler.hxx 
b/writerfilter/source/dmapper/SmartTagHandler.hxx
index ef3dd1243231..7999b9dcc22a 100644
--- a/writerfilter/source/dmapper/SmartTagHandler.hxx
+++ b/writerfilter/source/dmapper/SmartTagHandler.hxx
@@ -6,8 +6,7 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
-#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_SMARTTAGHANDLER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_SMARTTAGHANDLER_HXX
+#pragma once
 
 #include <vector>
 
@@ -58,6 +57,4 @@ public:
 
 } // namespace writerfilter::dmapper
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/StyleSheetTable.hxx 
b/writerfilter/source/dmapper/StyleSheetTable.hxx
index 69469d19d37a..ade93bb5da4d 100644
--- a/writerfilter/source/dmapper/StyleSheetTable.hxx
+++ b/writerfilter/source/dmapper/StyleSheetTable.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_WRITERFILTER_SOURCE_DMAPPER_STYLESHEETTABLE_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_STYLESHEETTABLE_HXX
+#pragma once
 
 #include <memory>
 #include "TblStylePrHandler.hxx"
@@ -145,6 +144,4 @@ private:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/TDefTableHandler.hxx 
b/writerfilter/source/dmapper/TDefTableHandler.hxx
index 3c9ca8daf73f..17e6f2ed4fab 100644
--- a/writerfilter/source/dmapper/TDefTableHandler.hxx
+++ b/writerfilter/source/dmapper/TDefTableHandler.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_WRITERFILTER_SOURCE_DMAPPER_TDEFTABLEHANDLER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TDEFTABLEHANDLER_HXX
+#pragma once
 
 #include "LoggedResources.hxx"
 #include <vector>
@@ -70,6 +69,4 @@ public:
 };
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/TableData.hxx 
b/writerfilter/source/dmapper/TableData.hxx
index 78ddf86ec049..a863e9d9fdd7 100644
--- a/writerfilter/source/dmapper/TableData.hxx
+++ b/writerfilter/source/dmapper/TableData.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TABLEDATA_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TABLEDATA_HXX
+#pragma once
 
 #include <com/sun/star/text/XTextRange.hpp>
 
@@ -388,6 +387,4 @@ public:
 }
 
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_DMAPPER_RESOURCEMODEL_TABLEDATA_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/TableManager.hxx 
b/writerfilter/source/dmapper/TableManager.hxx
index 3bae3223d72a..aa611e412b59 100644
--- a/writerfilter/source/dmapper/TableManager.hxx
+++ b/writerfilter/source/dmapper/TableManager.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TABLEMANAGER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TABLEMANAGER_HXX
+#pragma once
 
 #include <memory>
 #include <stack>
@@ -528,6 +527,4 @@ public:
 
 
 
-#endif // INCLUDED_WRITERFILTER_INC_RESOURCEMODEL_TABLEMANAGER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/TablePositionHandler.hxx 
b/writerfilter/source/dmapper/TablePositionHandler.hxx
index 0a9a29d61f37..23d042b69d2a 100644
--- a/writerfilter/source/dmapper/TablePositionHandler.hxx
+++ b/writerfilter/source/dmapper/TablePositionHandler.hxx
@@ -6,8 +6,7 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
-#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TABLEPOSITIONHANDLER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TABLEPOSITIONHANDLER_HXX
+#pragma once
 
 #include "LoggedResources.hxx"
 
@@ -66,6 +65,4 @@ public:
 using TablePositionHandlerPtr = tools::SvRef<TablePositionHandler>;
 } // namespace writerfilter::dmapper
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/TablePropertiesHandler.hxx 
b/writerfilter/source/dmapper/TablePropertiesHandler.hxx
index 6ba81cf9010f..bd0901356418 100644
--- a/writerfilter/source/dmapper/TablePropertiesHandler.hxx
+++ b/writerfilter/source/dmapper/TablePropertiesHandler.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TABLEPROPERTIESHANDLER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TABLEPROPERTIESHANDLER_HXX
+#pragma once
 
 #include "PropertyMap.hxx"
 
@@ -92,6 +91,4 @@ private:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/TagLogger.hxx 
b/writerfilter/source/dmapper/TagLogger.hxx
index f28b58b59f26..33da346eec12 100644
--- a/writerfilter/source/dmapper/TagLogger.hxx
+++ b/writerfilter/source/dmapper/TagLogger.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TAGLOGGER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TAGLOGGER_HXX
+#pragma once
 
 #include <rtl/ustring.hxx>
 #include <tools/ref.hxx>
@@ -63,6 +62,4 @@ namespace writerfilter
     };
 }
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TAGLOGGER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/TblStylePrHandler.hxx 
b/writerfilter/source/dmapper/TblStylePrHandler.hxx
index df493eb11187..4be7d379a647 100644
--- a/writerfilter/source/dmapper/TblStylePrHandler.hxx
+++ b/writerfilter/source/dmapper/TblStylePrHandler.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TBLSTYLEPRHANDLER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TBLSTYLEPRHANDLER_HXX
+#pragma once
 
 #include "TablePropertiesHandler.hxx"
 
@@ -80,6 +79,4 @@ private:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/TextEffectsHandler.hxx 
b/writerfilter/source/dmapper/TextEffectsHandler.hxx
index d7df31d85515..22127c6c81b2 100644
--- a/writerfilter/source/dmapper/TextEffectsHandler.hxx
+++ b/writerfilter/source/dmapper/TextEffectsHandler.hxx
@@ -8,8 +8,7 @@
  *
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TEXTEFFECTSHANDLER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TEXTEFFECTSHANDLER_HXX
+#pragma once
 
 #include "LoggedResources.hxx"
 
@@ -67,6 +66,4 @@ public:
 };
 }
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TEXTEFFECTSHANDLER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/ThemeTable.hxx 
b/writerfilter/source/dmapper/ThemeTable.hxx
index eed737020247..164f083c9ea3 100644
--- a/writerfilter/source/dmapper/ThemeTable.hxx
+++ b/writerfilter/source/dmapper/ThemeTable.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_THEMETABLE_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_THEMETABLE_HXX
+#pragma once
 
 #include "LoggedResources.hxx"
 #include <com/sun/star/beans/PropertyValue.hpp>
@@ -56,6 +55,4 @@ private:
 typedef tools::SvRef<ThemeTable> ThemeTablePtr;
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/TrackChangesHandler.hxx 
b/writerfilter/source/dmapper/TrackChangesHandler.hxx
index bd29fc4a20b2..b3417ccced1f 100644
--- a/writerfilter/source/dmapper/TrackChangesHandler.hxx
+++ b/writerfilter/source/dmapper/TrackChangesHandler.hxx
@@ -6,8 +6,7 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
-#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TRACKCHANGESHANDLER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TRACKCHANGESHANDLER_HXX
+#pragma once
 
 #include "LoggedResources.hxx"
 #include <com/sun/star/beans/PropertyValue.hpp>
@@ -38,6 +37,4 @@ public:
 };
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/WrapPolygonHandler.hxx 
b/writerfilter/source/dmapper/WrapPolygonHandler.hxx
index 2267ce8f35e8..8d3e1a3d8493 100644
--- a/writerfilter/source/dmapper/WrapPolygonHandler.hxx
+++ b/writerfilter/source/dmapper/WrapPolygonHandler.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_WRAPPOLYGONHANDLER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_WRAPPOLYGONHANDLER_HXX
+#pragma once
 
 #include <com/sun/star/drawing/PointSequenceSequence.hpp>
 #include "LoggedResources.hxx"
@@ -80,6 +79,4 @@ private:
 };
 }
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_DMAPPER_WRAPPOLYGONHANDLER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/util.hxx 
b/writerfilter/source/dmapper/util.hxx
index 5a94a5d0932d..9d172331a7ca 100644
--- a/writerfilter/source/dmapper/util.hxx
+++ b/writerfilter/source/dmapper/util.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_UTIL_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_UTIL_HXX
+#pragma once
 
 #include <com/sun/star/text/XTextRange.hpp>
 #include <string>
@@ -30,6 +29,4 @@ std::string 
XTextRangeToString(css::uno::Reference<css::text::XTextRange> const&
 void resolveSprmProps(Properties& rHandler, Sprm& rSprm);
 }
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_DMAPPER_UTIL_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/ooxml/Handler.hxx 
b/writerfilter/source/ooxml/Handler.hxx
index 214820086a1e..42ea025538f0 100644
--- a/writerfilter/source/ooxml/Handler.hxx
+++ b/writerfilter/source/ooxml/Handler.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_WRITERFILTER_SOURCE_OOXML_HANDLER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_OOXML_HANDLER_HXX
+#pragma once
 
 #include <dmapper/resourcemodel.hxx>
 #include "OOXMLFastContextHandler.hxx"
@@ -175,6 +174,5 @@ public:
     virtual void sprm(Sprm& sprm) override;
 };
 }
-#endif // INCLUDED_WRITERFILTER_SOURCE_OOXML_HANDLER_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx 
b/writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx
index 92177d0b35ed..84940b625858 100644
--- a/writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx
+++ b/writerfilter/source/ooxml/OOXMLBinaryObjectReference.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_WRITERFILTER_SOURCE_OOXML_OOXMLBINARYOBJECTREFERENCE_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLBINARYOBJECTREFERENCE_HXX
+#pragma once
 
 #include <dmapper/resourcemodel.hxx>
 #include <ooxml/OOXMLDocument.hxx>
@@ -41,6 +40,4 @@ public:
 };
 }
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLBINARYOBJECTREFERENCE_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/ooxml/OOXMLDocumentImpl.hxx 
b/writerfilter/source/ooxml/OOXMLDocumentImpl.hxx
index 35a77989605b..93259997515b 100644
--- a/writerfilter/source/ooxml/OOXMLDocumentImpl.hxx
+++ b/writerfilter/source/ooxml/OOXMLDocumentImpl.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_WRITERFILTER_SOURCE_OOXML_OOXMLDOCUMENTIMPL_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLDOCUMENTIMPL_HXX
+#pragma once
 
 #include <ooxml/OOXMLDocument.hxx>
 
@@ -146,6 +145,5 @@ public:
 };
 
 }
-#endif // OOXML_DOCUMENT_IMPL_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/ooxml/OOXMLFactory.hxx 
b/writerfilter/source/ooxml/OOXMLFactory.hxx
index bf92bd6e2a51..79c375f2863e 100644
--- a/writerfilter/source/ooxml/OOXMLFactory.hxx
+++ b/writerfilter/source/ooxml/OOXMLFactory.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLFACTORY_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLFACTORY_HXX
+#pragma once
 
 #include <dmapper/resourcemodel.hxx>
 
@@ -103,6 +102,4 @@ private:
 }
 
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLFACTORY_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx 
b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
index ac8346d3dad2..aa67decdb55b 100644
--- a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
+++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLFASTCONTEXTHANDLER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLFASTCONTEXTHANDLER_HXX
+#pragma once
 
 #include <set>
 #include <cppuhelper/implbase.hxx>
@@ -601,6 +600,5 @@ protected:
 };
 
 }
-#endif // INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLFASTCONTEXTHANDLER_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx 
b/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx
index a6c3c58f3569..8bcbdb68fe05 100644
--- a/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx
+++ b/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLFASTDOCUMENTHANDLER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLFASTDOCUMENTHANDLER_HXX
+#pragma once
 
 #include <com/sun/star/uno/XComponentContext.hpp>
 #include <cppuhelper/implbase.hxx>
@@ -88,6 +87,4 @@ private:
 };
 }
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLFASTDOCUMENTHANDLER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/ooxml/OOXMLFastHelper.hxx 
b/writerfilter/source/ooxml/OOXMLFastHelper.hxx
index 89bbf0c850b6..ecb8b6943b11 100644
--- a/writerfilter/source/ooxml/OOXMLFastHelper.hxx
+++ b/writerfilter/source/ooxml/OOXMLFastHelper.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_WRITERFILTER_SOURCE_OOXML_OOXMLFASTHELPER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLFASTHELPER_HXX
+#pragma once
 
 #include "OOXMLFastContextHandler.hxx"
 
@@ -58,6 +57,5 @@ void OOXMLFastHelper<T>::newProperty(OOXMLFastContextHandler 
* pHandler,
 }
 
 }
-#endif // INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLFASTHELPER_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/ooxml/OOXMLParserState.hxx 
b/writerfilter/source/ooxml/OOXMLParserState.hxx
index 7d094dbd42b7..5bb9a7dc7900 100644
--- a/writerfilter/source/ooxml/OOXMLParserState.hxx
+++ b/writerfilter/source/ooxml/OOXMLParserState.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_WRITERFILTER_SOURCE_OOXML_OOXMLPARSERSTATE_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLPARSERSTATE_HXX
+#pragma once
 
 #include <stack>
 #include "OOXMLDocumentImpl.hxx"
@@ -119,6 +118,4 @@ public:
 };
 }
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLPARSERSTATE_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/ooxml/OOXMLPropertySet.hxx 
b/writerfilter/source/ooxml/OOXMLPropertySet.hxx
index 2df6fee85d9a..b30fbaf61f9b 100644
--- a/writerfilter/source/ooxml/OOXMLPropertySet.hxx
+++ b/writerfilter/source/ooxml/OOXMLPropertySet.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_WRITERFILTER_SOURCE_OOXML_OOXMLPROPERTYSET_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLPROPERTYSET_HXX
+#pragma once
 
 #include <vector>
 #include "OOXMLBinaryObjectReference.hxx"
@@ -411,6 +410,4 @@ public:
 };
 }
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLPROPERTYSET_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/ooxml/OOXMLStreamImpl.hxx 
b/writerfilter/source/ooxml/OOXMLStreamImpl.hxx
index 383cec85c22a..e09db3c4f5af 100644
--- a/writerfilter/source/ooxml/OOXMLStreamImpl.hxx
+++ b/writerfilter/source/ooxml/OOXMLStreamImpl.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_WRITERFILTER_SOURCE_OOXML_OOXMLSTREAMIMPL_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLSTREAMIMPL_HXX
+#pragma once
 
 #include <map>
 
@@ -80,6 +79,5 @@ public:
     const css::uno::Reference<css::io::XStream>& accessDocumentStream() { 
return mxDocumentStream;}
 };
 }
-#endif // INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLSTREAMIMPL_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/rtftok/rtfcharsets.hxx 
b/writerfilter/source/rtftok/rtfcharsets.hxx
index e83e2ef69633..865a9310289e 100644
--- a/writerfilter/source/rtftok/rtfcharsets.hxx
+++ b/writerfilter/source/rtftok/rtfcharsets.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFCHARSETS_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFCHARSETS_HXX
+#pragma once
 
 namespace writerfilter::rtftok
 {
@@ -22,6 +21,4 @@ extern RTFEncoding const aRTFEncodings[];
 extern int nRTFEncodings;
 } // namespace writerfilter::rtftok
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFCHARSETS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/rtftok/rtfcontrolwords.hxx 
b/writerfilter/source/rtftok/rtfcontrolwords.hxx
index 92dc10e61dc1..e0553b2a1351 100644
--- a/writerfilter/source/rtftok/rtfcontrolwords.hxx
+++ b/writerfilter/source/rtftok/rtfcontrolwords.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFCONTROLWORDS_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFCONTROLWORDS_HXX
+#pragma once
 
 namespace writerfilter::rtftok
 {
@@ -2048,6 +2047,4 @@ extern int nRTFMathControlWords;
 
 } // namespace writerfilter::rtftok
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFCONTROLWORDS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.hxx 
b/writerfilter/source/rtftok/rtfdocumentimpl.hxx
index ffe8a357f6b7..991cca90a562 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.hxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFDOCUMENTIMPL_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFDOCUMENTIMPL_HXX
+#pragma once
 
 #include <memory>
 #include <queue>
@@ -978,6 +977,4 @@ private:
 };
 } // namespace writerfilter::rtftok
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFDOCUMENTIMPL_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/rtftok/rtffly.hxx 
b/writerfilter/source/rtftok/rtffly.hxx
index 0960e17732e3..b1dec0c77b4f 100644
--- a/writerfilter/source/rtftok/rtffly.hxx
+++ b/writerfilter/source/rtftok/rtffly.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFFLY_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFFLY_HXX
+#pragma once
 
 #include <com/sun/star/text/HoriOrientation.hpp>
 #include <com/sun/star/text/RelOrientation.hpp>
@@ -136,6 +135,4 @@ private:
 };
 } // namespace writerfilter::rtftok
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFFLY_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/rtftok/rtflistener.hxx 
b/writerfilter/source/rtftok/rtflistener.hxx
index 44b95c2c4d23..150440afbb47 100644
--- a/writerfilter/source/rtftok/rtflistener.hxx
+++ b/writerfilter/source/rtftok/rtflistener.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFLISTENER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFLISTENER_HXX
+#pragma once
 
 #include "rtfcontrolwords.hxx"
 
@@ -67,6 +66,4 @@ public:
 };
 } // namespace writerfilter::rtftok
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFLISTENER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/rtftok/rtflookahead.hxx 
b/writerfilter/source/rtftok/rtflookahead.hxx
index 64d1176a0fd5..9ec213f624c3 100644
--- a/writerfilter/source/rtftok/rtflookahead.hxx
+++ b/writerfilter/source/rtftok/rtflookahead.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFLOOKAHEAD_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFLOOKAHEAD_HXX
+#pragma once
 
 #include <sal/types.h>
 #include <tools/ref.hxx>
@@ -55,6 +54,4 @@ private:
 };
 } // namespace writerfilter::rtftok
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFLOOKAHEAD_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/rtftok/rtfreferenceproperties.hxx 
b/writerfilter/source/rtftok/rtfreferenceproperties.hxx
index 33a8514bcf00..6a5e5618ba30 100644
--- a/writerfilter/source/rtftok/rtfreferenceproperties.hxx
+++ b/writerfilter/source/rtftok/rtfreferenceproperties.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFREFERENCEPROPERTIES_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFREFERENCEPROPERTIES_HXX
+#pragma once
 
 #include "rtfsprm.hxx"
 
@@ -31,6 +30,4 @@ private:
 };
 } // namespace writerfilter::rtftok
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFREFERENCEPROPERTIES_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/rtftok/rtfreferencetable.hxx 
b/writerfilter/source/rtftok/rtfreferencetable.hxx
index f5aebcc7f7b3..76cbaacf2371 100644
--- a/writerfilter/source/rtftok/rtfreferencetable.hxx
+++ b/writerfilter/source/rtftok/rtfreferencetable.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFREFERENCETABLE_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFREFERENCETABLE_HXX
+#pragma once
 
 #include <map>
 #include <dmapper/resourcemodel.hxx>
@@ -30,6 +29,4 @@ private:
 };
 } // namespace writerfilter::rtftok
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFREFERENCETABLE_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/rtftok/rtfsdrimport.hxx 
b/writerfilter/source/rtftok/rtfsdrimport.hxx
index 073244b913b1..c9bfd6ffa216 100644
--- a/writerfilter/source/rtftok/rtfsdrimport.hxx
+++ b/writerfilter/source/rtftok/rtfsdrimport.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFSDRIMPORT_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFSDRIMPORT_HXX
+#pragma once
 
 #include <stack>
 #include <vector>
@@ -101,6 +100,4 @@ private:
 };
 } // namespace writerfilter::rtftok
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFSDRIMPORT_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/rtftok/rtfskipdestination.hxx 
b/writerfilter/source/rtftok/rtfskipdestination.hxx
index e0188b6e069f..4a894373f1e4 100644
--- a/writerfilter/source/rtftok/rtfskipdestination.hxx
+++ b/writerfilter/source/rtftok/rtfskipdestination.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFSKIPDESTINATION_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFSKIPDESTINATION_HXX
+#pragma once
 
 namespace writerfilter::rtftok
 {
@@ -31,6 +30,4 @@ private:
 };
 } // namespace writerfilter::rtftok
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFSKIPDESTINATION_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/rtftok/rtfsprm.hxx 
b/writerfilter/source/rtftok/rtfsprm.hxx
index a84e57642c0f..9f3bbd78b37a 100644
--- a/writerfilter/source/rtftok/rtfsprm.hxx
+++ b/writerfilter/source/rtftok/rtfsprm.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFSPRM_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFSPRM_HXX
+#pragma once
 
 #include <string>
 #include <utility>
@@ -99,6 +98,4 @@ private:
 };
 } // namespace writerfilter::rtftok
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFSPRM_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/rtftok/rtftokenizer.hxx 
b/writerfilter/source/rtftok/rtftokenizer.hxx
index 319c39d04679..feb74fc63c57 100644
--- a/writerfilter/source/rtftok/rtftokenizer.hxx
+++ b/writerfilter/source/rtftok/rtftokenizer.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFTOKENIZER_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFTOKENIZER_HXX
+#pragma once
 
 #include "rtflistener.hxx"
 
@@ -70,6 +69,4 @@ private:
 };
 } // namespace writerfilter::rtftok
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFTOKENIZER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/rtftok/rtfvalue.hxx 
b/writerfilter/source/rtftok/rtfvalue.hxx
index 736c7d0470d1..af120d469ba1 100644
--- a/writerfilter/source/rtftok/rtfvalue.hxx
+++ b/writerfilter/source/rtftok/rtfvalue.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFVALUE_HXX
-#define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFVALUE_HXX
+#pragma once
 
 #include <dmapper/resourcemodel.hxx>
 
@@ -82,6 +81,4 @@ private:
 };
 } // namespace writerfilter::rtftok
 
-#endif // INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFVALUE_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/DirectoryStream.hxx 
b/writerperfect/inc/DirectoryStream.hxx
index 57e8380c6b22..200fa0d09db2 100644
--- a/writerperfect/inc/DirectoryStream.hxx
+++ b/writerperfect/inc/DirectoryStream.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERPERFECT_DIRECTORYSTREAM_HXX
-#define INCLUDED_WRITERPERFECT_DIRECTORYSTREAM_HXX
+#pragma once
 
 #include <librevenge-stream/librevenge-stream.h>
 #include <com/sun/star/uno/Reference.h>
@@ -54,6 +53,4 @@ private:
 };
 }
 
-#endif //  INCLUDED_WRITERPERFECT_DIRECTORYSTREAM_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/DocumentHandler.hxx 
b/writerperfect/inc/DocumentHandler.hxx
index 5fb769f9a134..dfe035d6515b 100644
--- a/writerperfect/inc/DocumentHandler.hxx
+++ b/writerperfect/inc/DocumentHandler.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_WRITERPERFECT_DOCUMENTHANDLER_HXX
-#define INCLUDED_WRITERPERFECT_DOCUMENTHANDLER_HXX
+#pragma once
 
 #include <libodfgen/libodfgen.hxx>
 
@@ -48,6 +47,4 @@ private:
 };
 }
 
-#endif // INCLUDED_WRITERPERFECT_DOCUMENTHANDLER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/DocumentHandlerFor.hxx 
b/writerperfect/inc/DocumentHandlerFor.hxx
index d90039e2c5c2..a7c7459fdced 100644
--- a/writerperfect/inc/DocumentHandlerFor.hxx
+++ b/writerperfect/inc/DocumentHandlerFor.hxx
@@ -5,8 +5,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERPERFECT_INC_WRITERPERFECT_DOCUMENTHANDLERFOR_HXX
-#define INCLUDED_WRITERPERFECT_INC_WRITERPERFECT_DOCUMENTHANDLERFOR_HXX
+#pragma once
 
 namespace writerperfect
 {
@@ -20,6 +19,4 @@ template <class Generator> struct DocumentHandlerFor
 };
 }
 
-#endif // INCLUDED_WRITERPERFECT_INC_WRITERPERFECT_DOCUMENTHANDLERFOR_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/DocumentHandlerForOdg.hxx 
b/writerperfect/inc/DocumentHandlerForOdg.hxx
index e7017513da84..7784dddcaefa 100644
--- a/writerperfect/inc/DocumentHandlerForOdg.hxx
+++ b/writerperfect/inc/DocumentHandlerForOdg.hxx
@@ -5,8 +5,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERPERFECT_INC_DOCUMENTHANDLERFORODG_HXX
-#define INCLUDED_WRITERPERFECT_INC_DOCUMENTHANDLERFORODG_HXX
+#pragma once
 
 #include <libodfgen/libodfgen.hxx>
 
@@ -22,6 +21,4 @@ template <> struct DocumentHandlerFor<OdgGenerator>
 };
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/DocumentHandlerForOdp.hxx 
b/writerperfect/inc/DocumentHandlerForOdp.hxx
index 6ee5a83e7506..970f129e6f1b 100644
--- a/writerperfect/inc/DocumentHandlerForOdp.hxx
+++ b/writerperfect/inc/DocumentHandlerForOdp.hxx
@@ -5,8 +5,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERPERFECT_INC_DOCUMENTHANDLERFORODP_HXX
-#define INCLUDED_WRITERPERFECT_INC_DOCUMENTHANDLERFORODP_HXX
+#pragma once
 
 #include <libodfgen/libodfgen.hxx>
 
@@ -22,6 +21,4 @@ template <> struct DocumentHandlerFor<OdpGenerator>
 };
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/DocumentHandlerForOds.hxx 
b/writerperfect/inc/DocumentHandlerForOds.hxx
index 48b78fa9ac86..226252f097d0 100644
--- a/writerperfect/inc/DocumentHandlerForOds.hxx
+++ b/writerperfect/inc/DocumentHandlerForOds.hxx
@@ -5,8 +5,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERPERFECT_INC_DOCUMENTHANDLERFORODS_HXX
-#define INCLUDED_WRITERPERFECT_INC_DOCUMENTHANDLERFORODS_HXX
+#pragma once
 
 #include <libodfgen/libodfgen.hxx>
 
@@ -22,6 +21,4 @@ template <> struct DocumentHandlerFor<OdsGenerator>
 };
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/DocumentHandlerForOdt.hxx 
b/writerperfect/inc/DocumentHandlerForOdt.hxx
index 55acf1fc79c6..49af6f9d597e 100644
--- a/writerperfect/inc/DocumentHandlerForOdt.hxx
+++ b/writerperfect/inc/DocumentHandlerForOdt.hxx
@@ -5,8 +5,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERPERFECT_INC_DOCUMENTHANDLERFORODT_HXX
-#define INCLUDED_WRITERPERFECT_INC_DOCUMENTHANDLERFORODT_HXX
+#pragma once
 
 #include <libodfgen/libodfgen.hxx>
 
@@ -22,6 +21,4 @@ template <> struct DocumentHandlerFor<OdtGenerator>
 };
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/ImportFilter.hxx 
b/writerperfect/inc/ImportFilter.hxx
index 56f352556c73..972bda6b7d0d 100644
--- a/writerperfect/inc/ImportFilter.hxx
+++ b/writerperfect/inc/ImportFilter.hxx
@@ -5,8 +5,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERPERFECT_INC_WRITERPERFECT_IMPORTFILTER_HXX
-#define INCLUDED_WRITERPERFECT_INC_WRITERPERFECT_IMPORTFILTER_HXX
+#pragma once
 
 #include <com/sun/star/awt/XWindow.hpp>
 #include <com/sun/star/beans/PropertyValue.hpp>
@@ -181,6 +180,4 @@ struct ImportFilter : public 
cppu::ImplInheritanceHelper<detail::ImportFilterImp
 };
 }
 
-#endif // INCLUDED_WRITERPERFECT_INC_WRITERPERFECT_IMPORTFILTER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/WPFTEncodingDialog.hxx 
b/writerperfect/inc/WPFTEncodingDialog.hxx
index 433141ebeac8..b13ae214e49b 100644
--- a/writerperfect/inc/WPFTEncodingDialog.hxx
+++ b/writerperfect/inc/WPFTEncodingDialog.hxx
@@ -9,8 +9,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERPERFECT_WPFTENCODINGDIALOG_HXX
-#define INCLUDED_WRITERPERFECT_WPFTENCODINGDIALOG_HXX
+#pragma once
 
 #include <vcl/weld.hxx>
 
@@ -43,6 +42,4 @@ private:
 };
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/WPFTResMgr.hxx b/writerperfect/inc/WPFTResMgr.hxx
index 0cff3e446c73..103b68a985a8 100644
--- a/writerperfect/inc/WPFTResMgr.hxx
+++ b/writerperfect/inc/WPFTResMgr.hxx
@@ -1,12 +1,9 @@
 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
-#ifndef INCLUDED_WRITERPERFECT_INC_WPFTRESMGR_HXX
-#define INCLUDED_WRITERPERFECT_INC_WPFTRESMGR_HXX
+#pragma once
 
 #include <unotools/resmgr.hxx>
 
 inline OUString WpResId(const char* pId) { return Translate::get(pId, 
Translate::Create("wpt")); }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/WPXSvInputStream.hxx 
b/writerperfect/inc/WPXSvInputStream.hxx
index 052cf4082ed7..1bf6a14937e0 100644
--- a/writerperfect/inc/WPXSvInputStream.hxx
+++ b/writerperfect/inc/WPXSvInputStream.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERPERFECT_WPXSVINPUTSTREAM_HXX
-#define INCLUDED_WRITERPERFECT_WPXSVINPUTSTREAM_HXX
+#pragma once
 
 #include <librevenge-stream/librevenge-stream.h>
 #include <com/sun/star/uno/Reference.h>
@@ -49,6 +48,4 @@ private:
 };
 }
 
-#endif // INCLUDED_WRITERPERFECT_WPXSVINPUTSTREAM_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/strings.hrc b/writerperfect/inc/strings.hrc
index a85c1fb7157c..822d4e129957 100644
--- a/writerperfect/inc/strings.hrc
+++ b/writerperfect/inc/strings.hrc
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERPERFECT_INC_STRINGS_HRC
-#define INCLUDED_WRITERPERFECT_INC_STRINGS_HRC
+#pragma once
 
 #define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" 
u8##String)
 
@@ -21,6 +20,4 @@
 #define STR_ENCODING_DIALOG_TITLE_SYMPHONY      
NC_("STR_ENCODING_DIALOG_TITLE_SYMPHONY", "Import Symphony file")
 #define STR_ENCODING_DIALOG_TITLE_QUATTROPRO    
NC_("STR_ENCODING_DIALOG_TITLE_QUATTROPRO", "Import Quattro Pro file")
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/writerperfectdllapi.h 
b/writerperfect/inc/writerperfectdllapi.h
index d5495717e7e1..29f708ffc217 100644
--- a/writerperfect/inc/writerperfectdllapi.h
+++ b/writerperfect/inc/writerperfectdllapi.h
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERPERFECT_WRITERPERFECTDLLAPI_H
-#define INCLUDED_WRITERPERFECT_WRITERPERFECTDLLAPI_H
+#pragma once
 
 #if defined WRITERPERFECT_DLLIMPLEMENTATION
 
@@ -18,6 +17,4 @@
 #endif
 #define WRITERPERFECT_DLLPRIVATE SAL_DLLPRIVATE
 
-#endif /* INCLUDED_WRITERPERFECT_WRITERPERFECTDLLAPI_H */
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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: */
diff --git a/writerperfect/source/draw/CDRImportFilter.hxx 
b/writerperfect/source/draw/CDRImportFilter.hxx
index 5d7c5334b990..0e824713124d 100644
--- a/writerperfect/source/draw/CDRImportFilter.hxx
+++ b/writerperfect/source/draw/CDRImportFilter.hxx
@@ -8,8 +8,7 @@
 /* "This product is not manufactured, approved, or supported by
  * Corel Corporation or Corel Corporation Limited."
  */
-#ifndef INCLUDED_WRITERPERFECT_SOURCE_DRAW_CDRIMPORTFILTER_HXX
-#define INCLUDED_WRITERPERFECT_SOURCE_DRAW_CDRIMPORTFILTER_HXX
+#pragma once
 
 #include <ImportFilter.hxx>
 
@@ -37,6 +36,4 @@ private:
                                   OdgGenerator& rGenerator, 
utl::MediaDescriptor&) override;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/CMXImportFilter.hxx 
b/writerperfect/source/draw/CMXImportFilter.hxx
index 0e6d9b46dfa5..cc3b194289ed 100644
--- a/writerperfect/source/draw/CMXImportFilter.hxx
+++ b/writerperfect/source/draw/CMXImportFilter.hxx
@@ -8,8 +8,7 @@
 /* "This product is not manufactured, approved, or supported by
  * Corel Corporation or Corel Corporation Limited."
  */
-#ifndef INCLUDED_WRITERPERFECT_SOURCE_DRAW_CMXIMPORTFILTER_HXX
-#define INCLUDED_WRITERPERFECT_SOURCE_DRAW_CMXIMPORTFILTER_HXX
+#pragma once
 
 #include <ImportFilter.hxx>
 
@@ -37,6 +36,4 @@ private:
                                   OdgGenerator& rGenerator, 
utl::MediaDescriptor&) override;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/FreehandImportFilter.hxx 
b/writerperfect/source/draw/FreehandImportFilter.hxx
index 99921bdf6255..083218117150 100644
--- a/writerperfect/source/draw/FreehandImportFilter.hxx
+++ b/writerperfect/source/draw/FreehandImportFilter.hxx
@@ -5,8 +5,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERPERFECT_SOURCE_DRAW_FREEHANDIMPORTFILTER_HXX
-#define INCLUDED_WRITERPERFECT_SOURCE_DRAW_FREEHANDIMPORTFILTER_HXX
+#pragma once
 
 #include <ImportFilter.hxx>
 
@@ -34,6 +33,4 @@ private:
                                   OdgGenerator& rGenerator, 
utl::MediaDescriptor&) override;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/MSPUBImportFilter.hxx 
b/writerperfect/source/draw/MSPUBImportFilter.hxx
index 3e2125198a4f..a843027030c0 100644
--- a/writerperfect/source/draw/MSPUBImportFilter.hxx
+++ b/writerperfect/source/draw/MSPUBImportFilter.hxx
@@ -5,8 +5,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERPERFECT_SOURCE_DRAW_MSPUBIMPORTFILTER_HXX
-#define INCLUDED_WRITERPERFECT_SOURCE_DRAW_MSPUBIMPORTFILTER_HXX
+#pragma once
 
 #include <ImportFilter.hxx>
 
@@ -34,6 +33,4 @@ private:
                                   OdgGenerator& rGenerator, 
utl::MediaDescriptor&) override;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/MWAWDrawImportFilter.hxx 
b/writerperfect/source/draw/MWAWDrawImportFilter.hxx
index ddc305830989..ed0571dad7d4 100644
--- a/writerperfect/source/draw/MWAWDrawImportFilter.hxx
+++ b/writerperfect/source/draw/MWAWDrawImportFilter.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERPERFECT_SOURCE_DRAW_MWAWDRAWIMPORTFILTER_HXX
-#define INCLUDED_WRITERPERFECT_SOURCE_DRAW_MWAWDRAWIMPORTFILTER_HXX
+#pragma once
 
 #include <com/sun/star/uno/XComponentContext.hpp>
 
@@ -39,6 +38,4 @@ private:
     virtual void doRegisterHandlers(OdgGenerator& rGenerator) override;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/PageMakerImportFilter.hxx 
b/writerperfect/source/draw/PageMakerImportFilter.hxx
index a333924bf9c9..b98213a27989 100644
--- a/writerperfect/source/draw/PageMakerImportFilter.hxx
+++ b/writerperfect/source/draw/PageMakerImportFilter.hxx
@@ -5,8 +5,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERPERFECT_SOURCE_DRAW_PAGEMAKERIMPORTFILTER_HXX
-#define INCLUDED_WRITERPERFECT_SOURCE_DRAW_PAGEMAKERIMPORTFILTER_HXX
+#pragma once
 
 #include <ImportFilter.hxx>
 
@@ -35,6 +34,4 @@ private:
                                   OdgGenerator& rGenerator, 
utl::MediaDescriptor&) override;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/QXPImportFilter.hxx 
b/writerperfect/source/draw/QXPImportFilter.hxx
index 8a2538b8bdd9..5854125d6363 100644
--- a/writerperfect/source/draw/QXPImportFilter.hxx
+++ b/writerperfect/source/draw/QXPImportFilter.hxx
@@ -5,8 +5,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERPERFECT_SOURCE_DRAW_QXPIMPORTFILTER_HXX
-#define INCLUDED_WRITERPERFECT_SOURCE_DRAW_QXPIMPORTFILTER_HXX
+#pragma once
 
 #include <ImportFilter.hxx>
 
@@ -34,6 +33,4 @@ private:
                                   OdgGenerator& rGenerator, 
utl::MediaDescriptor&) override;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/StarOfficeDrawImportFilter.hxx 
b/writerperfect/source/draw/StarOfficeDrawImportFilter.hxx
index 2526a96a9358..ca44ceb48e68 100644
--- a/writerperfect/source/draw/StarOfficeDrawImportFilter.hxx
+++ b/writerperfect/source/draw/StarOfficeDrawImportFilter.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERPERFECT_SOURCE_DRAW_STAROFFICEDRAWIMPORTFILTER_HXX
-#define INCLUDED_WRITERPERFECT_SOURCE_DRAW_STAROFFICEDRAWIMPORTFILTER_HXX
+#pragma once
 
 #include <com/sun/star/uno/XComponentContext.hpp>
 
@@ -40,6 +39,4 @@ private:
     virtual void doRegisterHandlers(OdgGenerator& rGenerator) override;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/VisioImportFilter.hxx 
b/writerperfect/source/draw/VisioImportFilter.hxx
index 387827a4a94d..9d0e8cadbdbe 100644
--- a/writerperfect/source/draw/VisioImportFilter.hxx
+++ b/writerperfect/source/draw/VisioImportFilter.hxx
@@ -5,8 +5,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERPERFECT_SOURCE_DRAW_VISIOIMPORTFILTER_HXX
-#define INCLUDED_WRITERPERFECT_SOURCE_DRAW_VISIOIMPORTFILTER_HXX
+#pragma once
 
 #include <ImportFilter.hxx>
 
@@ -34,6 +33,4 @@ private:
                                   OdgGenerator& rGenerator, 
utl::MediaDescriptor&) override;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/WPGImportFilter.hxx 
b/writerperfect/source/draw/WPGImportFilter.hxx
index 3e75f08eed14..c4777573dfdc 100644
--- a/writerperfect/source/draw/WPGImportFilter.hxx
+++ b/writerperfect/source/draw/WPGImportFilter.hxx
@@ -10,8 +10,7 @@
 /* "This product is not manufactured, approved, or supported by
  * Corel Corporation or Corel Corporation Limited."
  */
-#ifndef INCLUDED_WRITERPERFECT_SOURCE_DRAW_WPGIMPORTFILTER_HXX
-#define INCLUDED_WRITERPERFECT_SOURCE_DRAW_WPGIMPORTFILTER_HXX
+#pragma once
 
 #include <ImportFilter.hxx>
 
@@ -39,6 +38,4 @@ private:
                                   OdgGenerator& rGenerator, 
utl::MediaDescriptor&) override;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/ZMFImportFilter.hxx 
b/writerperfect/source/draw/ZMFImportFilter.hxx
index 6fef0180d415..686a1fb40e77 100644
--- a/writerperfect/source/draw/ZMFImportFilter.hxx
+++ b/writerperfect/source/draw/ZMFImportFilter.hxx
@@ -5,8 +5,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERPERFECT_SOURCE_DRAW_ZMFIMPORTFILTER_HXX
-#define INCLUDED_WRITERPERFECT_SOURCE_DRAW_ZMFIMPORTFILTER_HXX
+#pragma once
 
 #include <ImportFilter.hxx>
 
@@ -34,6 +33,4 @@ private:
                                   OdgGenerator& rGenerator, 
utl::MediaDescriptor&) override;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/impress/KeynoteImportFilter.hxx 
b/writerperfect/source/impress/KeynoteImportFilter.hxx
index 1ae6002a58e4..7180a8c86483 100644
--- a/writerperfect/source/impress/KeynoteImportFilter.hxx
+++ b/writerperfect/source/impress/KeynoteImportFilter.hxx
@@ -5,8 +5,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERPERFECT_SOURCE_IMPRESS_KEYNOTEIMPORTFILTER_HXX
-#define INCLUDED_WRITERPERFECT_SOURCE_IMPRESS_KEYNOTEIMPORTFILTER_HXX
+#pragma once
 
 #include <com/sun/star/uno/XComponentContext.hpp>
 
@@ -39,6 +38,4 @@ private:
                                   OdpGenerator& rGenerator, 
utl::MediaDescriptor&) override;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/impress/MWAWPresentationImportFilter.hxx 
b/writerperfect/source/impress/MWAWPresentationImportFilter.hxx
index 4bb1afb55023..ba6874834a5a 100644
--- a/writerperfect/source/impress/MWAWPresentationImportFilter.hxx
+++ b/writerperfect/source/impress/MWAWPresentationImportFilter.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_WRITERPERFECT_SOURCE_IMPRESS_MWAWPRESENTATIONIMPORTFILTER_HXX
-#define INCLUDED_WRITERPERFECT_SOURCE_IMPRESS_MWAWPRESENTATIONIMPORTFILTER_HXX
+#pragma once
 
 #include <com/sun/star/uno/XComponentContext.hpp>
 
@@ -40,6 +39,4 @@ private:
     virtual void doRegisterHandlers(OdpGenerator& rGenerator) override;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

... etc. - the rest is truncated
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to