[Libreoffice-commits] core.git: sd/inc sd/qa sd/source sd/workben

Vincent LE GARREC (via logerrit) logerrit at kemper.freedesktop.org
Wed Mar 24 06:40:25 UTC 2021


 sd/inc/AnnotationEnumeration.hxx                                                |    5 +----
 sd/inc/CustomAnimationCloner.hxx                                                |    5 +----
 sd/inc/CustomAnimationEffect.hxx                                                |    5 +----
 sd/inc/CustomAnimationPreset.hxx                                                |    5 +----
 sd/inc/DocumentRenderer.hrc                                                     |    5 +----
 sd/inc/EffectMigration.hxx                                                      |    5 +----
 sd/inc/FactoryIds.hxx                                                           |    5 +----
 sd/inc/Outliner.hxx                                                             |    5 +----
 sd/inc/OutlinerIterator.hxx                                                     |    5 +----
 sd/inc/SdShapeTypes.hxx                                                         |    5 +----
 sd/inc/TransitionPreset.hxx                                                     |    5 +----
 sd/inc/animations.hxx                                                           |    5 +----
 sd/inc/anminfo.hxx                                                              |    5 +----
 sd/inc/app.hrc                                                                  |    4 +---
 sd/inc/bitmaps.hlst                                                             |    5 +----
 sd/inc/createpresentation.hxx                                                   |    5 +----
 sd/inc/createunocustomshow.hxx                                                  |    5 +----
 sd/inc/createunopageimpl.hxx                                                    |    5 +----
 sd/inc/cusshow.hxx                                                              |    5 +----
 sd/inc/customshowlist.hxx                                                       |    5 +----
 sd/inc/diadef.h                                                                 |    5 +----
 sd/inc/drawdoc.hxx                                                              |    5 +----
 sd/inc/errhdl.hrc                                                               |    5 +----
 sd/inc/fadedef.h                                                                |    5 +----
 sd/inc/family.hrc                                                               |    5 +----
 sd/inc/glob.hxx                                                                 |    5 +----
 sd/inc/helper/simplereferencecomponent.hxx                                      |    5 +----
 sd/inc/helpids.h                                                                |    5 +----
 sd/inc/misc/scopelock.hxx                                                       |    5 +----
 sd/inc/notifydocumentevent.hxx                                                  |    5 +----
 sd/inc/pageformatpanel.hrc                                                      |    5 +----
 sd/inc/pglink.hxx                                                               |    5 +----
 sd/inc/pres.hxx                                                                 |    5 +----
 sd/inc/prlayout.hxx                                                             |    5 +----
 sd/inc/randomnode.hxx                                                           |    5 +----
 sd/inc/resltn.hxx                                                               |    5 +----
 sd/inc/sdabstdlg.hxx                                                            |    4 +---
 sd/inc/sdattr.hrc                                                               |    5 +----
 sd/inc/sdattr.hxx                                                               |    5 +----
 sd/inc/sdcgmfilter.hxx                                                          |    5 +----
 sd/inc/sdcommands.h                                                             |    5 +----
 sd/inc/sddll.hxx                                                                |    5 +----
 sd/inc/sddllapi.h                                                               |    5 +----
 sd/inc/sdenumdef.hxx                                                            |    5 +----
 sd/inc/sderror.hxx                                                              |    5 +----
 sd/inc/sdfilter.hxx                                                             |    5 +----
 sd/inc/sdgrffilter.hxx                                                          |    5 +----
 sd/inc/sdhtmlfilter.hxx                                                         |    5 +----
 sd/inc/sdiocmpt.hxx                                                             |    5 +----
 sd/inc/sdmod.hxx                                                                |    5 +----
 sd/inc/sdpdffilter.hxx                                                          |    5 +----
 sd/inc/sdpptwrp.hxx                                                             |    5 +----
 sd/inc/sdundo.hxx                                                               |    5 +----
 sd/inc/sdxmlwrp.hxx                                                             |    5 +----
 sd/inc/shapelist.hxx                                                            |    5 +----
 sd/inc/stlfamily.hxx                                                            |    5 +----
 sd/inc/stlpool.hxx                                                              |    5 +----
 sd/inc/stlsheet.hxx                                                             |    5 +----
 sd/inc/strings.hrc                                                              |    5 +----
 sd/inc/strings.hxx                                                              |    4 +---
 sd/inc/textapi.hxx                                                              |    5 +----
 sd/inc/undo/undofactory.hxx                                                     |    5 +----
 sd/inc/undo/undomanager.hxx                                                     |    5 +----
 sd/inc/undo/undoobjects.hxx                                                     |    5 +----
 sd/inc/undoanim.hxx                                                             |    5 +----
 sd/qa/unit/sdmodeltestbase.hxx                                                  |    5 +----
 sd/source/core/PageListWatcher.hxx                                              |    5 +----
 sd/source/filter/eppt/eppt.hxx                                                  |    5 +----
 sd/source/filter/eppt/epptbase.hxx                                              |    5 +----
 sd/source/filter/eppt/epptdef.hxx                                               |    5 +----
 sd/source/filter/eppt/epptooxml.hxx                                             |    5 +----
 sd/source/filter/eppt/escherex.hxx                                              |    5 +----
 sd/source/filter/eppt/grouptable.hxx                                            |    5 +----
 sd/source/filter/eppt/pptexanimations.hxx                                       |    5 +----
 sd/source/filter/eppt/pptexsoundcollection.hxx                                  |    5 +----
 sd/source/filter/eppt/pptx-animations.hxx                                       |    4 +---
 sd/source/filter/eppt/text.hxx                                                  |    5 +----
 sd/source/filter/html/buttonset.hxx                                             |    5 +----
 sd/source/filter/html/htmlattr.hxx                                              |    5 +----
 sd/source/filter/html/htmlex.hxx                                                |    5 +----
 sd/source/filter/html/htmlpublishmode.hxx                                       |    5 +----
 sd/source/filter/ppt/ppt97animations.hxx                                        |    5 +----
 sd/source/filter/ppt/pptanimations.hxx                                          |    5 +----
 sd/source/filter/ppt/pptatom.hxx                                                |    5 +----
 sd/source/filter/ppt/pptin.hxx                                                  |    5 +----
 sd/source/filter/ppt/pptinanimations.hxx                                        |    5 +----
 sd/source/filter/ppt/propread.hxx                                               |    5 +----
 sd/source/filter/xml/sdtransform.hxx                                            |    5 +----
 sd/source/ui/animations/CustomAnimationDialog.hxx                               |    5 +----
 sd/source/ui/animations/STLPropertySet.hxx                                      |    5 +----
 sd/source/ui/animations/motionpathtag.hxx                                       |    5 +----
 sd/source/ui/annotations/annotationmanagerimpl.hxx                              |    5 +----
 sd/source/ui/annotations/annotationtag.hxx                                      |    5 +----
 sd/source/ui/controller/slidelayoutcontroller.hxx                               |    5 +----
 sd/source/ui/dlg/PhotoAlbumDialog.hxx                                           |    4 +---
 sd/source/ui/dlg/RemoteDialog.hxx                                               |    5 +----
 sd/source/ui/dlg/RemoteDialogClientBox.hxx                                      |    5 +----
 sd/source/ui/dlg/sddlgfact.hxx                                                  |    5 +----
 sd/source/ui/framework/configuration/ChangeRequestQueue.hxx                     |    5 +----
 sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx            |    5 +----
 sd/source/ui/framework/configuration/ConfigurationClassifier.hxx                |    5 +----
 sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx     |    5 +----
 sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx |    5 +----
 sd/source/ui/framework/configuration/ConfigurationTracer.hxx                    |    5 +----
 sd/source/ui/framework/configuration/ConfigurationUpdater.hxx                   |    5 +----
 sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx      |    5 +----
 sd/source/ui/framework/configuration/ResourceFactoryManager.hxx                 |    5 +----
 sd/source/ui/framework/configuration/UpdateRequest.hxx                          |    5 +----
 sd/source/ui/framework/configuration/debugtrace.hxx                             |    5 +----
 sd/source/ui/framework/factories/BasicPaneFactory.hxx                           |    5 +----
 sd/source/ui/framework/factories/BasicToolBarFactory.hxx                        |    5 +----
 sd/source/ui/framework/factories/BasicViewFactory.hxx                           |    5 +----
 sd/source/ui/framework/factories/ChildWindowPane.hxx                            |    5 +----
 sd/source/ui/framework/factories/FrameWindowPane.hxx                            |    5 +----
 sd/source/ui/framework/factories/FullScreenPane.hxx                             |    5 +----
 sd/source/ui/framework/module/CenterViewFocusModule.hxx                         |    5 +----
 sd/source/ui/framework/module/ShellStackGuard.hxx                               |    5 +----
 sd/source/ui/framework/module/SlideSorterModule.hxx                             |    5 +----
 sd/source/ui/framework/module/ToolBarModule.hxx                                 |    5 +----
 sd/source/ui/framework/module/ViewTabBarModule.hxx                              |    5 +----
 sd/source/ui/inc/AccessibleDrawDocumentView.hxx                                 |    5 +----
 sd/source/ui/inc/AccessibleOutlineEditSource.hxx                                |    5 +----
 sd/source/ui/inc/AccessibleOutlineView.hxx                                      |    5 +----
 sd/source/ui/inc/AccessiblePageShape.hxx                                        |    5 +----
 sd/source/ui/inc/AccessiblePresentationGraphicShape.hxx                         |    5 +----
 sd/source/ui/inc/AccessiblePresentationOLEShape.hxx                             |    5 +----
 sd/source/ui/inc/AccessiblePresentationShape.hxx                                |    5 +----
 sd/source/ui/inc/AccessibleSlideSorterObject.hxx                                |    5 +----
 sd/source/ui/inc/AccessibleSlideSorterView.hxx                                  |    5 +----
 sd/source/ui/inc/AccessibleViewForwarder.hxx                                    |    5 +----
 sd/source/ui/inc/BezierObjectBar.hxx                                            |    5 +----
 sd/source/ui/inc/BreakDlg.hxx                                                   |    5 +----
 sd/source/ui/inc/BulletAndPositionDlg.hxx                                       |    5 +----
 sd/source/ui/inc/Client.hxx                                                     |    5 +----
 sd/source/ui/inc/ClientView.hxx                                                 |    5 +----
 sd/source/ui/inc/CustomAnimationList.hxx                                        |    5 +----
 sd/source/ui/inc/CustomAnimationPane.hxx                                        |    5 +----
 sd/source/ui/inc/DocumentRenderer.hxx                                           |    5 +----
 sd/source/ui/inc/DrawController.hxx                                             |    5 +----
 sd/source/ui/inc/DrawDocShell.hxx                                               |    5 +----
 sd/source/ui/inc/DrawSubController.hxx                                          |    5 +----
 sd/source/ui/inc/DrawViewShell.hxx                                              |    5 +----
 sd/source/ui/inc/EventMultiplexer.hxx                                           |    5 +----
 sd/source/ui/inc/FormShellManager.hxx                                           |    5 +----
 sd/source/ui/inc/FrameView.hxx                                                  |    5 +----
 sd/source/ui/inc/GraphicDocShell.hxx                                            |    5 +----
 sd/source/ui/inc/GraphicObjectBar.hxx                                           |    5 +----
 sd/source/ui/inc/GraphicViewShell.hxx                                           |    5 +----
 sd/source/ui/inc/GraphicViewShellBase.hxx                                       |    5 +----
 sd/source/ui/inc/ImpressViewShellBase.hxx                                       |    5 +----
 sd/source/ui/inc/LayerTabBar.hxx                                                |    5 +----
 sd/source/ui/inc/MasterPageObserver.hxx                                         |    5 +----
 sd/source/ui/inc/MediaObjectBar.hxx                                             |    5 +----
 sd/source/ui/inc/MutexOwner.hxx                                                 |    5 +----
 sd/source/ui/inc/OutlineBulletDlg.hxx                                           |    5 +----
 sd/source/ui/inc/OutlineView.hxx                                                |    5 +----
 sd/source/ui/inc/OutlineViewShell.hxx                                           |    5 +----
 sd/source/ui/inc/OutlineViewShellBase.hxx                                       |    5 +----
 sd/source/ui/inc/OutlinerIteratorImpl.hxx                                       |    5 +----
 sd/source/ui/inc/PaneChildWindows.hxx                                           |    5 +----
 sd/source/ui/inc/PaneDockingWindow.hxx                                          |    5 +----
 sd/source/ui/inc/PaneShells.hxx                                                 |    5 +----
 sd/source/ui/inc/PresentationViewShell.hxx                                      |    5 +----
 sd/source/ui/inc/PresentationViewShellBase.hxx                                  |    5 +----
 sd/source/ui/inc/PreviewRenderer.hxx                                            |    5 +----
 sd/source/ui/inc/RemoteServer.hxx                                               |    4 +---
 sd/source/ui/inc/Ruler.hxx                                                      |    5 +----
 sd/source/ui/inc/SdUnoDrawView.hxx                                              |    5 +----
 sd/source/ui/inc/SdUnoOutlineView.hxx                                           |    5 +----
 sd/source/ui/inc/SdUnoSlideView.hxx                                             |    5 +----
 sd/source/ui/inc/ShellFactory.hxx                                               |    5 +----
 sd/source/ui/inc/SlideSorter.hxx                                                |    5 +----
 sd/source/ui/inc/SlideSorterViewShell.hxx                                       |    5 +----
 sd/source/ui/inc/SlideSorterViewShellBase.hxx                                   |    5 +----
 sd/source/ui/inc/SlideTransitionPane.hxx                                        |    4 +---
 sd/source/ui/inc/SpellDialogChildWindow.hxx                                     |    5 +----
 sd/source/ui/inc/TabControl.hxx                                                 |    5 +----
 sd/source/ui/inc/TableDesignPane.hxx                                            |    5 +----
 sd/source/ui/inc/TemplateScanner.hxx                                            |    5 +----
 sd/source/ui/inc/TextObjectBar.hxx                                              |    5 +----
 sd/source/ui/inc/ToolBarManager.hxx                                             |    5 +----
 sd/source/ui/inc/View.hxx                                                       |    5 +----
 sd/source/ui/inc/ViewClipboard.hxx                                              |    5 +----
 sd/source/ui/inc/ViewShell.hxx                                                  |    5 +----
 sd/source/ui/inc/ViewShellBase.hxx                                              |    5 +----
 sd/source/ui/inc/ViewShellHint.hxx                                              |    5 +----
 sd/source/ui/inc/ViewShellImplementation.hxx                                    |    5 +----
 sd/source/ui/inc/ViewShellManager.hxx                                           |    5 +----
 sd/source/ui/inc/ViewTabBar.hxx                                                 |    5 +----
 sd/source/ui/inc/Window.hxx                                                     |    5 +----
 sd/source/ui/inc/WindowUpdater.hxx                                              |    5 +----
 sd/source/ui/inc/animobjs.hxx                                                   |    5 +----
 sd/source/ui/inc/annotationmanager.hxx                                          |    5 +----
 sd/source/ui/inc/assclass.hxx                                                   |    5 +----
 sd/source/ui/inc/copydlg.hxx                                                    |    5 +----
 sd/source/ui/inc/custsdlg.hxx                                                   |    5 +----
 sd/source/ui/inc/diactrl.hxx                                                    |    5 +----
 sd/source/ui/inc/dlg_char.hxx                                                   |    5 +----
 sd/source/ui/inc/dlgfield.hxx                                                   |    5 +----
 sd/source/ui/inc/dlgpage.hxx                                                    |    5 +----
 sd/source/ui/inc/dlgsnap.hxx                                                    |    5 +----
 sd/source/ui/inc/drawview.hxx                                                   |    5 +----
 sd/source/ui/inc/filedlg.hxx                                                    |    5 +----
 sd/source/ui/inc/framework/Configuration.hxx                                    |    5 +----
 sd/source/ui/inc/framework/ConfigurationController.hxx                          |    5 +----
 sd/source/ui/inc/framework/DrawModule.hxx                                       |    5 +----
 sd/source/ui/inc/framework/ImpressModule.hxx                                    |    5 +----
 sd/source/ui/inc/framework/ModuleController.hxx                                 |    5 +----
 sd/source/ui/inc/framework/Pane.hxx                                             |    5 +----
 sd/source/ui/inc/framework/PresentationFactory.hxx                              |    5 +----
 sd/source/ui/inc/framework/PresentationModule.hxx                               |    5 +----
 sd/source/ui/inc/framework/ResourceId.hxx                                       |    5 +----
 sd/source/ui/inc/framework/ViewShellWrapper.hxx                                 |    5 +----
 sd/source/ui/inc/fuarea.hxx                                                     |    5 +----
 sd/source/ui/inc/fubullet.hxx                                                   |    5 +----
 sd/source/ui/inc/fuchar.hxx                                                     |    5 +----
 sd/source/ui/inc/fucon3d.hxx                                                    |    5 +----
 sd/source/ui/inc/fuconarc.hxx                                                   |    5 +----
 sd/source/ui/inc/fuconbez.hxx                                                   |    5 +----
 sd/source/ui/inc/fuconcs.hxx                                                    |    5 +----
 sd/source/ui/inc/fuconnct.hxx                                                   |    5 +----
 sd/source/ui/inc/fuconrec.hxx                                                   |    5 +----
 sd/source/ui/inc/fuconstr.hxx                                                   |    5 +----
 sd/source/ui/inc/fuconuno.hxx                                                   |    5 +----
 sd/source/ui/inc/fucopy.hxx                                                     |    5 +----
 sd/source/ui/inc/fucushow.hxx                                                   |    5 +----
 sd/source/ui/inc/fudraw.hxx                                                     |    5 +----
 sd/source/ui/inc/fudspord.hxx                                                   |    5 +----
 sd/source/ui/inc/fuediglu.hxx                                                   |    5 +----
 sd/source/ui/inc/fuexpand.hxx                                                   |    5 +----
 sd/source/ui/inc/fuformatpaintbrush.hxx                                         |    5 +----
 sd/source/ui/inc/fuhhconv.hxx                                                   |    5 +----
 sd/source/ui/inc/fuinsert.hxx                                                   |    5 +----
 sd/source/ui/inc/fuinsfil.hxx                                                   |    5 +----
 sd/source/ui/inc/fuline.hxx                                                     |    5 +----
 sd/source/ui/inc/fulinend.hxx                                                   |    5 +----
 sd/source/ui/inc/fulink.hxx                                                     |    5 +----
 sd/source/ui/inc/fumeasur.hxx                                                   |    5 +----
 sd/source/ui/inc/fumorph.hxx                                                    |    5 +----
 sd/source/ui/inc/funavig.hxx                                                    |    5 +----
 sd/source/ui/inc/fuoaprms.hxx                                                   |    5 +----
 sd/source/ui/inc/fuolbull.hxx                                                   |    5 +----
 sd/source/ui/inc/fuoltext.hxx                                                   |    5 +----
 sd/source/ui/inc/fupage.hxx                                                     |    5 +----
 sd/source/ui/inc/fuparagr.hxx                                                   |    5 +----
 sd/source/ui/inc/fupoor.hxx                                                     |    5 +----
 sd/source/ui/inc/fuprlout.hxx                                                   |    5 +----
 sd/source/ui/inc/fuprobjs.hxx                                                   |    5 +----
 sd/source/ui/inc/fuscale.hxx                                                    |    5 +----
 sd/source/ui/inc/fusearch.hxx                                                   |    5 +----
 sd/source/ui/inc/fusel.hxx                                                      |    5 +----
 sd/source/ui/inc/fusldlg.hxx                                                    |    5 +----
 sd/source/ui/inc/fusnapln.hxx                                                   |    5 +----
 sd/source/ui/inc/fusumry.hxx                                                    |    5 +----
 sd/source/ui/inc/futempl.hxx                                                    |    5 +----
 sd/source/ui/inc/futext.hxx                                                     |    5 +----
 sd/source/ui/inc/futhes.hxx                                                     |    5 +----
 sd/source/ui/inc/futransf.hxx                                                   |    5 +----
 sd/source/ui/inc/futxtatt.hxx                                                   |    5 +----
 sd/source/ui/inc/fuvect.hxx                                                     |    5 +----
 sd/source/ui/inc/fuzoom.hxx                                                     |    5 +----
 sd/source/ui/inc/gluectrl.hxx                                                   |    5 +----
 sd/source/ui/inc/headerfooterdlg.hxx                                            |    5 +----
 sd/source/ui/inc/ins_paste.hxx                                                  |    5 +----
 sd/source/ui/inc/inspagob.hxx                                                   |    5 +----
 sd/source/ui/inc/layeroptionsdlg.hxx                                            |    5 +----
 sd/source/ui/inc/masterlayoutdlg.hxx                                            |    5 +----
 sd/source/ui/inc/morphdlg.hxx                                                   |    5 +----
 sd/source/ui/inc/navigatr.hxx                                                   |    5 +----
 sd/source/ui/inc/optsitem.hxx                                                   |    5 +----
 sd/source/ui/inc/paragr.hxx                                                     |    5 +----
 sd/source/ui/inc/pgjump.hxx                                                     |    5 +----
 sd/source/ui/inc/present.hxx                                                    |    5 +----
 sd/source/ui/inc/prltempl.hxx                                                   |    5 +----
 sd/source/ui/inc/prntopts.hxx                                                   |    5 +----
 sd/source/ui/inc/pubdlg.hxx                                                     |    5 +----
 sd/source/ui/inc/registerinterfaces.hxx                                         |    5 +----
 sd/source/ui/inc/sdpopup.hxx                                                    |    5 +----
 sd/source/ui/inc/sdpreslt.hxx                                                   |    5 +----
 sd/source/ui/inc/sdtreelb.hxx                                                   |    5 +----
 sd/source/ui/inc/sdundogr.hxx                                                   |    5 +----
 sd/source/ui/inc/sdxfer.hxx                                                     |    5 +----
 sd/source/ui/inc/slideshow.hxx                                                  |    5 +----
 sd/source/ui/inc/smarttag.hxx                                                   |    5 +----
 sd/source/ui/inc/tablefunction.hxx                                              |    5 +----
 sd/source/ui/inc/tabtempl.hxx                                                   |    5 +----
 sd/source/ui/inc/tmplctrl.hxx                                                   |    5 +----
 sd/source/ui/inc/tools/AsynchronousCall.hxx                                     |    5 +----
 sd/source/ui/inc/tools/AsynchronousTask.hxx                                     |    5 +----
 sd/source/ui/inc/tools/ConfigurationAccess.hxx                                  |    5 +----
 sd/source/ui/inc/tools/IconCache.hxx                                            |    5 +----
 sd/source/ui/inc/tools/IdleDetection.hxx                                        |    5 +----
 sd/source/ui/inc/tools/PropertySet.hxx                                          |    5 +----
 sd/source/ui/inc/tools/SdGlobalResourceContainer.hxx                            |    5 +----
 sd/source/ui/inc/tools/SlotStateListener.hxx                                    |    5 +----
 sd/source/ui/inc/tools/TimerBasedTaskExecution.hxx                              |    5 +----
 sd/source/ui/inc/tpaction.hxx                                                   |    5 +----
 sd/source/ui/inc/tpoption.hxx                                                   |    5 +----
 sd/source/ui/inc/unchss.hxx                                                     |    5 +----
 sd/source/ui/inc/undoback.hxx                                                   |    5 +----
 sd/source/ui/inc/undoheaderfooter.hxx                                           |    5 +----
 sd/source/ui/inc/undolayer.hxx                                                  |    5 +----
 sd/source/ui/inc/undopage.hxx                                                   |    5 +----
 sd/source/ui/inc/unmodpg.hxx                                                    |    5 +----
 sd/source/ui/inc/unmovss.hxx                                                    |    5 +----
 sd/source/ui/inc/unoaprms.hxx                                                   |    5 +----
 sd/source/ui/inc/unokywds.hxx                                                   |    4 +---
 sd/source/ui/inc/unomodel.hxx                                                   |    5 +----
 sd/source/ui/inc/unopage.hxx                                                    |    5 +----
 sd/source/ui/inc/unoprnms.hxx                                                   |    5 +----
 sd/source/ui/inc/unosrch.hxx                                                    |    5 +----
 sd/source/ui/inc/unprlout.hxx                                                   |    5 +----
 sd/source/ui/inc/vectdlg.hxx                                                    |    5 +----
 sd/source/ui/inc/view/viewoverlaymanager.hxx                                    |    5 +----
 sd/source/ui/inc/zoomlist.hxx                                                   |    5 +----
 sd/source/ui/presenter/CanvasUpdateRequester.hxx                                |    5 +----
 sd/source/ui/presenter/PresenterCanvas.hxx                                      |    5 +----
 sd/source/ui/presenter/PresenterHelper.hxx                                      |    5 +----
 sd/source/ui/presenter/PresenterPreviewCache.hxx                                |    5 +----
 sd/source/ui/presenter/PresenterTextView.hxx                                    |    5 +----
 sd/source/ui/presenter/SlideRenderer.hxx                                        |    5 +----
 sd/source/ui/remotecontrol/AvahiNetworkService.hxx                              |    4 +---
 sd/source/ui/remotecontrol/BluetoothServer.hxx                                  |    4 +---
 sd/source/ui/remotecontrol/BluetoothServiceRecord.hxx                           |    4 +---
 sd/source/ui/remotecontrol/BufferedStreamSocket.hxx                             |    4 +---
 sd/source/ui/remotecontrol/Communicator.hxx                                     |    5 +----
 sd/source/ui/remotecontrol/DiscoveryService.hxx                                 |    4 +---
 sd/source/ui/remotecontrol/IBluetoothSocket.hxx                                 |    5 +----
 sd/source/ui/remotecontrol/ImagePreparer.hxx                                    |    4 +---
 sd/source/ui/remotecontrol/Listener.hxx                                         |    4 +---
 sd/source/ui/remotecontrol/OSXBluetooth.h                                       |    5 +----
 sd/source/ui/remotecontrol/OSXBluetoothWrapper.hxx                              |    5 +----
 sd/source/ui/remotecontrol/OSXNetworkService.h                                  |    5 +----
 sd/source/ui/remotecontrol/OSXNetworkService.hxx                                |    4 +---
 sd/source/ui/remotecontrol/Receiver.hxx                                         |    4 +---
 sd/source/ui/remotecontrol/Transmitter.hxx                                      |    4 +---
 sd/source/ui/remotecontrol/WINNetworkService.hxx                                |    4 +---
 sd/source/ui/sidebar/AllMasterPagesSelector.hxx                                 |    5 +----
 sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx                             |    5 +----
 sd/source/ui/sidebar/DocumentHelper.hxx                                         |    5 +----
 sd/source/ui/sidebar/IDisposable.hxx                                            |    5 +----
 sd/source/ui/sidebar/ISidebarReceiver.hxx                                       |    5 +----
 sd/source/ui/sidebar/LayoutMenu.hxx                                             |    5 +----
 sd/source/ui/sidebar/MasterPageContainer.hxx                                    |    5 +----
 sd/source/ui/sidebar/MasterPageContainerFiller.hxx                              |    5 +----
 sd/source/ui/sidebar/MasterPageContainerProviders.hxx                           |    5 +----
 sd/source/ui/sidebar/MasterPageContainerQueue.hxx                               |    5 +----
 sd/source/ui/sidebar/MasterPageDescriptor.hxx                                   |    5 +----
 sd/source/ui/sidebar/MasterPagesSelector.hxx                                    |    5 +----
 sd/source/ui/sidebar/NavigatorWrapper.hxx                                       |    5 +----
 sd/source/ui/sidebar/PanelFactory.hxx                                           |    5 +----
 sd/source/ui/sidebar/PreviewValueSet.hxx                                        |    5 +----
 sd/source/ui/sidebar/RecentMasterPagesSelector.hxx                              |    5 +----
 sd/source/ui/sidebar/RecentlyUsedMasterPages.hxx                                |    5 +----
 sd/source/ui/sidebar/SlideBackground.hxx                                        |    5 +----
 sd/source/ui/slideshow/PaneHider.hxx                                            |    5 +----
 sd/source/ui/slideshow/SlideShowRestarter.hxx                                   |    5 +----
 sd/source/ui/slideshow/showwindow.hxx                                           |    5 +----
 sd/source/ui/slideshow/slideshowimpl.hxx                                        |    5 +----
 sd/source/ui/slideshow/slideshowviewimpl.hxx                                    |    5 +----
 sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx                               |    5 +----
 sd/source/ui/slidesorter/cache/SlsBitmapCompressor.hxx                          |    5 +----
 sd/source/ui/slidesorter/cache/SlsBitmapFactory.hxx                             |    5 +----
 sd/source/ui/slidesorter/cache/SlsCacheCompactor.hxx                            |    5 +----
 sd/source/ui/slidesorter/cache/SlsCacheConfiguration.hxx                        |    5 +----
 sd/source/ui/slidesorter/cache/SlsGenericPageCache.hxx                          |    5 +----
 sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx                            |    5 +----
 sd/source/ui/slidesorter/cache/SlsRequestFactory.hxx                            |    5 +----
 sd/source/ui/slidesorter/cache/SlsRequestPriorityClass.hxx                      |    5 +----
 sd/source/ui/slidesorter/cache/SlsRequestQueue.hxx                              |    5 +----
 sd/source/ui/slidesorter/controller/SlsDragAndDropContext.hxx                   |    5 +----
 sd/source/ui/slidesorter/controller/SlsListener.hxx                             |    5 +----
 sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx                          |    5 +----
 sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx                             |    5 +----
 sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx                      |    5 +----
 sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx               |    5 +----
 sd/source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx                |    5 +----
 sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx                         |    5 +----
 sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx                        |    5 +----
 sd/source/ui/slidesorter/inc/controller/SlsCurrentSlideManager.hxx              |    5 +----
 sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx                     |    5 +----
 sd/source/ui/slidesorter/inc/controller/SlsInsertionIndicatorHandler.hxx        |    5 +----
 sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx                     |    5 +----
 sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx                       |    5 +----
 sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx                 |    5 +----
 sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx                |    5 +----
 sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx                 |    5 +----
 sd/source/ui/slidesorter/inc/controller/SlsSelectionObserver.hxx                |    5 +----
 sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx                      |    5 +----
 sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx                 |    5 +----
 sd/source/ui/slidesorter/inc/controller/SlsVisibleAreaManager.hxx               |    5 +----
 sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx                         |    5 +----
 sd/source/ui/slidesorter/inc/model/SlsEnumeration.hxx                           |    5 +----
 sd/source/ui/slidesorter/inc/model/SlsPageDescriptor.hxx                        |    5 +----
 sd/source/ui/slidesorter/inc/model/SlsPageEnumeration.hxx                       |    5 +----
 sd/source/ui/slidesorter/inc/model/SlsPageEnumerationProvider.hxx               |    5 +----
 sd/source/ui/slidesorter/inc/model/SlsSharedPageDescriptor.hxx                  |    5 +----
 sd/source/ui/slidesorter/inc/model/SlsVisualState.hxx                           |    5 +----
 sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx                           |    5 +----
 sd/source/ui/slidesorter/inc/view/SlsILayerPainter.hxx                          |    5 +----
 sd/source/ui/slidesorter/inc/view/SlsInsertAnimator.hxx                         |    5 +----
 sd/source/ui/slidesorter/inc/view/SlsInsertionIndicatorOverlay.hxx              |    5 +----
 sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx                               |    5 +----
 sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx                     |    5 +----
 sd/source/ui/slidesorter/inc/view/SlsPageObjectPainter.hxx                      |    5 +----
 sd/source/ui/slidesorter/inc/view/SlsTheme.hxx                                  |    5 +----
 sd/source/ui/slidesorter/inc/view/SlsToolTip.hxx                                |    5 +----
 sd/source/ui/slidesorter/shell/SlideSorterService.hxx                           |    5 +----
 sd/source/ui/slidesorter/view/SlsFramePainter.hxx                               |    5 +----
 sd/source/ui/slidesorter/view/SlsLayeredDevice.hxx                              |    5 +----
 sd/source/ui/slidesorter/view/SlsViewCacheContext.hxx                           |    5 +----
 sd/source/ui/table/tableobjectbar.hxx                                           |    5 +----
 sd/source/ui/unoidl/UnoDocumentSettings.hxx                                     |    5 +----
 sd/source/ui/unoidl/sddetect.hxx                                                |    5 +----
 sd/source/ui/unoidl/unocpres.hxx                                                |    5 +----
 sd/source/ui/unoidl/unolayer.hxx                                                |    5 +----
 sd/source/ui/unoidl/unomodule.hxx                                               |    5 +----
 sd/source/ui/unoidl/unoobj.hxx                                                  |    5 +----
 sd/source/ui/unoidl/unopback.hxx                                                |    5 +----
 sd/source/ui/unoidl/unopool.hxx                                                 |    5 +----
 sd/source/ui/unoidl/unowcntr.hxx                                                |    5 +----
 sd/workben/custompanel/ctp_panel.hxx                                            |    5 +----
 422 files changed, 422 insertions(+), 1669 deletions(-)

New commits:
commit 7fb85fa0f0a85384f085b13e7d08113f63392445
Author:     Vincent LE GARREC <libreoffice at le-garrec.fr>
AuthorDate: Tue Mar 23 20:02:02 2021 +0100
Commit:     Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
CommitDate: Wed Mar 24 07:39:31 2021 +0100

    tdf#124176 Use pragma once in sd
    
    Change-Id: Ic439140d9ecdcdee9272185bd3c2d11e11288f07
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112051
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>

diff --git a/sd/inc/AnnotationEnumeration.hxx b/sd/inc/AnnotationEnumeration.hxx
index 3acc18e9a131..6dbc7250e92f 100644
--- a/sd/inc/AnnotationEnumeration.hxx
+++ b/sd/inc/AnnotationEnumeration.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_ANNOTATIONENUMERATION_HXX
-#define INCLUDED_SD_INC_ANNOTATIONENUMERATION_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -35,6 +34,4 @@ css::uno::Reference<css::office::XAnnotationEnumeration>
 createAnnotationEnumeration(const AnnotationVector&);
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/CustomAnimationCloner.hxx b/sd/inc/CustomAnimationCloner.hxx
index 52b727c97289..5cc71b0e69ab 100644
--- a/sd/inc/CustomAnimationCloner.hxx
+++ b/sd/inc/CustomAnimationCloner.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_CUSTOMANIMATIONCLONER_HXX
-#define INCLUDED_SD_INC_CUSTOMANIMATIONCLONER_HXX
+#pragma once
 
 #include <com/sun/star/animations/XAnimationNode.hpp>
 
@@ -31,6 +30,4 @@ Clone(const css::uno::Reference<css::animations::XAnimationNode>& xSourceNode,
       const SdPage* pSource = nullptr, const SdPage* pTarget = nullptr);
 }
 
-#endif // INCLUDED_SD_INC_CUSTOMANIMATIONCLONER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/CustomAnimationEffect.hxx b/sd/inc/CustomAnimationEffect.hxx
index 59c29717995a..eebda95f01b8 100644
--- a/sd/inc/CustomAnimationEffect.hxx
+++ b/sd/inc/CustomAnimationEffect.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_CUSTOMANIMATIONEFFECT_HXX
-#define INCLUDED_SD_INC_CUSTOMANIMATIONEFFECT_HXX
+#pragma once
 
 #include <com/sun/star/animations/XAnimationNode.hpp>
 #include <com/sun/star/animations/XTimeContainer.hpp>
@@ -452,6 +451,4 @@ private:
 
 }
 
-#endif // INCLUDED_SD_INC_CUSTOMANIMATIONEFFECT_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/CustomAnimationPreset.hxx b/sd/inc/CustomAnimationPreset.hxx
index e2739fd3213c..6894a7c7af77 100644
--- a/sd/inc/CustomAnimationPreset.hxx
+++ b/sd/inc/CustomAnimationPreset.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_CUSTOMANIMATIONPRESET_HXX
-#define INCLUDED_SD_INC_CUSTOMANIMATIONPRESET_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -140,6 +139,4 @@ void implImportLabels( const css::uno::Reference< css::lang::XMultiServiceFactor
 }
 
 
-#endif // _SD_CUSTOMANIMATIONEFFECTS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/DocumentRenderer.hrc b/sd/inc/DocumentRenderer.hrc
index 1b2cefe4732f..3cdd5b004f55 100644
--- a/sd/inc/DocumentRenderer.hrc
+++ b/sd/inc/DocumentRenderer.hrc
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_DOCUMENTRENDERER_HRC
-#define INCLUDED_SD_INC_DOCUMENTRENDERER_HRC
+#pragma once
 
 #define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
 
@@ -91,6 +90,4 @@ const char* STR_DRAW_PRINT_UI_PAGE_RANGE_CHOICE[] =
     NC_("STR_DRAW_PRINT_UI_PAGE_RANGE_CHOICE", "~Selection")
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/EffectMigration.hxx b/sd/inc/EffectMigration.hxx
index adc8bbd4eaa3..7d803cb16bd9 100644
--- a/sd/inc/EffectMigration.hxx
+++ b/sd/inc/EffectMigration.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_EFFECTMIGRATION_HXX
-#define INCLUDED_SD_INC_EFFECTMIGRATION_HXX
+#pragma once
 
 #include <com/sun/star/presentation/AnimationEffect.hpp>
 #include <com/sun/star/presentation/AnimationSpeed.hpp>
@@ -73,6 +72,4 @@ public:
 
 } // end of namespace sd
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/FactoryIds.hxx b/sd/inc/FactoryIds.hxx
index b6a5284b479c..cc257b20a94b 100644
--- a/sd/inc/FactoryIds.hxx
+++ b/sd/inc/FactoryIds.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_FACTORYIDS_HXX
-#define INCLUDED_SD_INC_FACTORYIDS_HXX
+#pragma once
 
 #include <sfx2/shell.hxx>
 
@@ -38,6 +37,4 @@ constexpr auto PRESENTATION_FACTORY_ID     = SfxInterfaceId(4);
 
 } // end of namespace sd
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/Outliner.hxx b/sd/inc/Outliner.hxx
index adee254359e1..40a25641be4c 100644
--- a/sd/inc/Outliner.hxx
+++ b/sd/inc/Outliner.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_OUTLINER_HXX
-#define INCLUDED_SD_INC_OUTLINER_HXX
+#pragma once
 
 #include <svx/svdoutl.hxx>
 #include "pres.hxx"
@@ -529,6 +528,4 @@ private:
     weld::Window* GetMessageBoxParent();
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/OutlinerIterator.hxx b/sd/inc/OutlinerIterator.hxx
index 84ab712073ba..d160609d885b 100644
--- a/sd/inc/OutlinerIterator.hxx
+++ b/sd/inc/OutlinerIterator.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_OUTLINERITERATOR_HXX
-#define INCLUDED_SD_INC_OUTLINERITERATOR_HXX
+#pragma once
 
 #include <svx/svdobj.hxx>
 
@@ -312,6 +311,4 @@ public:
 
 } } // end of namespace ::sd::outliner
 
-#endif // _ INCLUDED_SD_INC_OUTLINERITERATOR_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/SdShapeTypes.hxx b/sd/inc/SdShapeTypes.hxx
index daf11f6d4b96..ef944e59333e 100644
--- a/sd/inc/SdShapeTypes.hxx
+++ b/sd/inc/SdShapeTypes.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_SDSHAPETYPES_HXX
-#define INCLUDED_SD_INC_SDSHAPETYPES_HXX
+#pragma once
 
 namespace accessibility
 {
@@ -49,6 +48,4 @@ enum SdShapeTypes
 
 } // end of namespace accessibility
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/TransitionPreset.hxx b/sd/inc/TransitionPreset.hxx
index 0549289e820b..0075e32057fb 100644
--- a/sd/inc/TransitionPreset.hxx
+++ b/sd/inc/TransitionPreset.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_TRANSITIONPRESET_HXX
-#define INCLUDED_SD_INC_TRANSITIONPRESET_HXX
+#pragma once
 
 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
 
@@ -76,6 +75,4 @@ private:
 
 }
 
-#endif // INCLUDED_SD_INC_TRANSITIONPRESET_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/animations.hxx b/sd/inc/animations.hxx
index 72d31be5e9c1..cb7863473206 100644
--- a/sd/inc/animations.hxx
+++ b/sd/inc/animations.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_ANIMATIONS_HXX
-#define INCLUDED_SD_INC_ANIMATIONS_HXX
+#pragma once
 
 #include "sddllapi.h"
 
@@ -48,6 +47,4 @@ SD_DLLPUBLIC void stl_process_after_effect_node_func(AfterEffectNode const & rNo
 
 } // namespace sd;
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/anminfo.hxx b/sd/inc/anminfo.hxx
index 1c27e7745df1..8abc54c90dc6 100644
--- a/sd/inc/anminfo.hxx
+++ b/sd/inc/anminfo.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_ANMINFO_HXX
-#define INCLUDED_SD_INC_ANMINFO_HXX
+#pragma once
 
 #include <com/sun/star/presentation/AnimationEffect.hpp>
 #include <com/sun/star/presentation/AnimationSpeed.hpp>
@@ -65,6 +64,4 @@ public:
     SAL_DLLPRIVATE virtual std::unique_ptr<SdrObjUserData> Clone(SdrObject* pObject) const override;
 };
 
-#endif // INCLUDED_SD_INC_ANMINFO_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/app.hrc b/sd/inc/app.hrc
index 4a20807138b9..f88e7ad0d434 100644
--- a/sd/inc/app.hrc
+++ b/sd/inc/app.hrc
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_APP_HRC
-#define INCLUDED_SD_INC_APP_HRC
+#pragma once
 
 #include <svl/solar.hrc>
 
@@ -466,6 +465,5 @@
 #define SID_PRESENTATION_MINIMIZER          (SID_SD_START+450)
 #define SID_REGENERATE_DIAGRAM              (SID_SD_START+451)
 #define SID_EDIT_DIAGRAM                    (SID_SD_START+452)
-#endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/bitmaps.hlst b/sd/inc/bitmaps.hlst
index 6986085a8992..030028124152 100644
--- a/sd/inc/bitmaps.hlst
+++ b/sd/inc/bitmaps.hlst
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_SD_INC_BITMAPS_HRC
-#define INCLUDED_SD_INC_BITMAPS_HRC
+#pragma once
 
 // preview bitmaps for layouts
 #define BMP_LAYOUT_EMPTY                                        "sd/res/layout_empty.png"
@@ -209,6 +208,4 @@
 #define BMP_MENU_FIRST                                          "cmd/sc_firstrecord.png"
 #define BMP_MENU_LAST                                           "cmd/sc_lastrecord.png"
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/sd/inc/createpresentation.hxx b/sd/inc/createpresentation.hxx
index de1a79c71d55..b1c3016e4da9 100644
--- a/sd/inc/createpresentation.hxx
+++ b/sd/inc/createpresentation.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_CREATEPRESENTATION_HXX
-#define INCLUDED_SD_INC_CREATEPRESENTATION_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -33,6 +32,4 @@ class SdDrawDocument;
 css::uno::Reference<css::presentation::XPresentation2>
 CreatePresentation(SdDrawDocument const& rDocument);
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/createunocustomshow.hxx b/sd/inc/createunocustomshow.hxx
index dbe19babeb0c..334aa867acdf 100644
--- a/sd/inc/createunocustomshow.hxx
+++ b/sd/inc/createunocustomshow.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_CREATEUNOCUSTOMSHOW_HXX
-#define INCLUDED_SD_INC_CREATEUNOCUSTOMSHOW_HXX
+#pragma once
 
 #include <com/sun/star/uno/Reference.hxx>
 
@@ -28,6 +27,4 @@ class SdCustomShow;
 css::uno::Reference<css::uno::XInterface> createUnoCustomShow(
     SdCustomShow * pShow);
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/createunopageimpl.hxx b/sd/inc/createunopageimpl.hxx
index 2d8159f0fe2e..8707704c1470 100644
--- a/sd/inc/createunopageimpl.hxx
+++ b/sd/inc/createunopageimpl.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_CREATEUNOPAGEIMPL_HXX
-#define INCLUDED_SD_INC_CREATEUNOPAGEIMPL_HXX
+#pragma once
 
 #include <com/sun/star/uno/Reference.hxx>
 
@@ -30,6 +29,4 @@ class SdPage;
 
 css::uno::Reference<css::uno::XInterface> createUnoPageImpl(SdPage* pPage);
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/cusshow.hxx b/sd/inc/cusshow.hxx
index a30894c943a4..c0115c310a75 100644
--- a/sd/inc/cusshow.hxx
+++ b/sd/inc/cusshow.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_CUSSHOW_HXX
-#define INCLUDED_SD_INC_CUSSHOW_HXX
+#pragma once
 
 #include <vector>
 #include <cppuhelper/weakref.hxx>
@@ -63,6 +62,4 @@ public:
     css::uno::Reference<css::uno::XInterface> getUnoCustomShow();
 };
 
-#endif // INCLUDED_SD_INC_CUSSHOW_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/customshowlist.hxx b/sd/inc/customshowlist.hxx
index c612ce4bf93e..8a1706ec2ee3 100644
--- a/sd/inc/customshowlist.hxx
+++ b/sd/inc/customshowlist.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_CUSTOMSHOWLIST_HXX
-#define INCLUDED_SD_INC_CUSTOMSHOWLIST_HXX
+#pragma once
 
 #include "sddllapi.h"
 #include "cusshow.hxx"
@@ -87,6 +86,4 @@ public:
     }
 };
 
-#endif // INCLUDED_SD_INC_CUSTOMSHOWLIST_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/diadef.h b/sd/inc/diadef.h
index e09cab69649d..6d0f9a266c7c 100644
--- a/sd/inc/diadef.h
+++ b/sd/inc/diadef.h
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_DIADEF_H
-#define INCLUDED_SD_INC_DIADEF_H
+#pragma once
 
 enum class PresChange
 {
@@ -28,6 +27,4 @@ enum class PresChange
     LAST = SemiAuto
 };
 
-#endif // INCLUDED_SD_INC_DIADEF_H
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/drawdoc.hxx b/sd/inc/drawdoc.hxx
index e51886931fd7..7d4c3c92ce5c 100644
--- a/sd/inc/drawdoc.hxx
+++ b/sd/inc/drawdoc.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_DRAWDOC_HXX
-#define INCLUDED_SD_INC_DRAWDOC_HXX
+#pragma once
 
 #include <com/sun/star/text/WritingMode.hpp>
 #include <svl/style.hxx>
@@ -711,6 +710,4 @@ private:
 
 }
 
-#endif // INCLUDED_SD_INC_DRAWDOC_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/errhdl.hrc b/sd/inc/errhdl.hrc
index 57119cc730e9..affe12ac4331 100644
--- a/sd/inc/errhdl.hrc
+++ b/sd/inc/errhdl.hrc
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_ERRHDL_HRC
-#define INCLUDED_SD_INC_ERRHDL_HRC
+#pragma once
 
 #define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
 
@@ -37,6 +36,4 @@ const ErrMsgCode RID_SD_ERRHDL[] =
     { nullptr, ERRCODE_NONE }
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/fadedef.h b/sd/inc/fadedef.h
index 2754990ca564..84100f944ff7 100644
--- a/sd/inc/fadedef.h
+++ b/sd/inc/fadedef.h
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_FADEDEF_H
-#define INCLUDED_SD_INC_FADEDEF_H
+#pragma once
 
 // has to be adjusted!
 #define FADE_EFFECT_COUNT 57
@@ -26,6 +25,4 @@
 // has to be adjusted!
 #define FADE_SPEED_COUNT 3
 
-#endif // INCLUDED_SD_INC_FADEDEF_H
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/family.hrc b/sd/inc/family.hrc
index fdf02a73729d..28a1d4429b81 100644
--- a/sd/inc/family.hrc
+++ b/sd/inc/family.hrc
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_FAMILY_HRC
-#define INCLUDED_SD_INC_FAMILY_HRC
+#pragma once
 
 #include <svl/style.hxx>
 
@@ -40,6 +39,4 @@ const std::pair<const char*, SfxStyleSearchBits> RID_PRESENTATIONSTYLEFAMILY[] =
     { nullptr, SfxStyleSearchBits::Auto }
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/glob.hxx b/sd/inc/glob.hxx
index b4560c0a8a5a..e4173d39ab72 100644
--- a/sd/inc/glob.hxx
+++ b/sd/inc/glob.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_GLOB_HXX
-#define INCLUDED_SD_INC_GLOB_HXX
+#pragma once
 
 #define SD_IF_SDAPP                     SFX_INTERFACE_SD_START + SfxInterfaceId(0)
 #define SD_IF_SDDRAWDOCSHELL            SFX_INTERFACE_SD_START + SfxInterfaceId(1)
@@ -51,6 +50,4 @@
 #define SD_OPTION_MORPHING  u"Morph"
 #define SD_OPTION_VECTORIZE u"Vectorize"
 
-#endif // _ INCLUDED_SD_INC_GLOB_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/helper/simplereferencecomponent.hxx b/sd/inc/helper/simplereferencecomponent.hxx
index 3417f4bda1f7..89e43639e466 100644
--- a/sd/inc/helper/simplereferencecomponent.hxx
+++ b/sd/inc/helper/simplereferencecomponent.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_HELPER_SIMPLEREFERENCECOMPONENT_HXX
-#define INCLUDED_SD_INC_HELPER_SIMPLEREFERENCECOMPONENT_HXX
+#pragma once
 
 #include <osl/interlck.h>
 
@@ -61,6 +60,4 @@ private:
 };
 }
 
-#endif // _SALHELPER_SimpleReferenceComponent_HXX_
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/helpids.h b/sd/inc/helpids.h
index 25b4625d06e6..5a694dfab928 100644
--- a/sd/inc/helpids.h
+++ b/sd/inc/helpids.h
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_HELPIDS_H
-#define INCLUDED_SD_INC_HELPIDS_H
+#pragma once
 
 #define HID_SDDRAWVIEWSHELL                                     "SD_HID_SDDRAWVIEWSHELL"
 #define HID_SDGRAPHICVIEWSHELL                                  "SD_HID_SDGRAPHICVIEWSHELL"
@@ -58,6 +57,4 @@
 #define HID_SD_RULER_HORIZONTAL                                 "SD_HID_SD_RULER_HORIZONTAL"
 #define HID_SD_RULER_VERTICAL                                   "SD_HID_SD_RULER_VERTICAL"
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/misc/scopelock.hxx b/sd/inc/misc/scopelock.hxx
index 5b25ff062c0f..544bb5873f32 100644
--- a/sd/inc/misc/scopelock.hxx
+++ b/sd/inc/misc/scopelock.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_MISC_SCOPELOCK_HXX
-#define INCLUDED_SD_INC_MISC_SCOPELOCK_HXX
+#pragma once
 
 #include <sal/types.h>
 
@@ -49,6 +48,4 @@ private:
 
 } // namespace sd
 
-#endif // INCLUDED_SD_INC_MISC_SCOPELOCK_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/notifydocumentevent.hxx b/sd/inc/notifydocumentevent.hxx
index 16c74a318522..11847a7f9eb1 100644
--- a/sd/inc/notifydocumentevent.hxx
+++ b/sd/inc/notifydocumentevent.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_NOTIFYDOCUMENTEVENT_HXX
-#define INCLUDED_SD_INC_NOTIFYDOCUMENTEVENT_HXX
+#pragma once
 
 #include <sal/config.h>
 #include <rtl/ustring.hxx>
@@ -30,6 +29,4 @@ void NotifyDocumentEvent( SdDrawDocument const & rDocument, const OUString& rEve
 
 void NotifyDocumentEvent( SdDrawDocument const & rDocument, const OUString& rEventName, const css::uno::Reference< css::uno::XInterface >& xSource );
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/pageformatpanel.hrc b/sd/inc/pageformatpanel.hrc
index 979864a0f5f7..3eb2f5763ae2 100644
--- a/sd/inc/pageformatpanel.hrc
+++ b/sd/inc/pageformatpanel.hrc
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_SD_INC_PAGEFORMATPANEL_HRC
-#define INCLUDED_SD_INC_PAGEFORMATPANEL_HRC
+#pragma once
 
 #include <utility>
 
@@ -49,6 +48,4 @@ const std::pair<const char*, int> RID_PAGEFORMATPANEL_MARGINS_CM[] =
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/sd/inc/pglink.hxx b/sd/inc/pglink.hxx
index c36b2afcda3a..5d4a31451740 100644
--- a/sd/inc/pglink.hxx
+++ b/sd/inc/pglink.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_PGLINK_HXX
-#define INCLUDED_SD_INC_PGLINK_HXX
+#pragma once
 
 #include <sfx2/lnkbase.hxx>
 
@@ -38,6 +37,4 @@ public:
     void         Connect() { SvBaseLink::GetRealObject(); }
 };
 
-#endif // INCLUDED_SD_INC_PGLINK_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/pres.hxx b/sd/inc/pres.hxx
index 6019283af66b..ab2b44adf6c5 100644
--- a/sd/inc/pres.hxx
+++ b/sd/inc/pres.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_SD_INC_PRES_HXX
-#define INCLUDED_SD_INC_PRES_HXX
+#pragma once
 
 enum class PresObjKind
 {
@@ -71,6 +70,4 @@ enum NavigatorDragType
 };
 #define NAVIGATOR_DRAGTYPE_COUNT 4
 
-#endif // INCLUDED_SD_INC_PRES_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/prlayout.hxx b/sd/inc/prlayout.hxx
index 54c62dda96dc..7cf768eae8ea 100644
--- a/sd/inc/prlayout.hxx
+++ b/sd/inc/prlayout.hxx
@@ -23,8 +23,7 @@
 |* checked in and does only contain the enumerator.
 \************************************************************************/
 
-#ifndef INCLUDED_SD_INC_PRLAYOUT_HXX
-#define INCLUDED_SD_INC_PRLAYOUT_HXX
+#pragma once
 
 enum class PresentationObjects
 {
@@ -44,6 +43,4 @@ enum class PresentationObjects
     Subtitle
 };
 
-#endif // INCLUDED_SD_INC_PRLAYOUT_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/randomnode.hxx b/sd/inc/randomnode.hxx
index 62cd3805747c..6bccc738b7e1 100644
--- a/sd/inc/randomnode.hxx
+++ b/sd/inc/randomnode.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_RANDOMNODE_HXX
-#define INCLUDED_SD_INC_RANDOMNODE_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -33,6 +32,4 @@ SD_DLLPUBLIC css::uno::Reference<css::uno::XInterface>
 RandomAnimationNode_createInstance(sal_Int16 nPresetClass);
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/resltn.hxx b/sd/inc/resltn.hxx
index b5e1894e776b..cac2602b69f1 100644
--- a/sd/inc/resltn.hxx
+++ b/sd/inc/resltn.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_RESLTN_HXX
-#define INCLUDED_SD_INC_RESLTN_HXX
+#pragma once
 
 enum PublishingFormat
 {
@@ -33,6 +32,4 @@ enum PublishingScript
     SCRIPT_PERL
 };
 
-#endif // INCLUDED_SD_INC_RESLTN_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/sdabstdlg.hxx b/sd/inc/sdabstdlg.hxx
index 820c3666214b..c5c8c3a38ad4 100644
--- a/sd/inc/sdabstdlg.hxx
+++ b/sd/inc/sdabstdlg.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_SD_INC_SDABSTDLG_HXX
-#define INCLUDED_SD_INC_SDABSTDLG_HXX
+#pragma once
 
 #include <vector>
 
@@ -211,6 +210,5 @@ public:
 protected:
     ~SdAbstractDialogFactory() {}
 };
-#endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/sdattr.hrc b/sd/inc/sdattr.hrc
index 8c7629460a4c..90dc0964322b 100644
--- a/sd/inc/sdattr.hrc
+++ b/sd/inc/sdattr.hrc
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_SDATTR_HRC
-#define INCLUDED_SD_INC_SDATTR_HRC
+#pragma once
 
 #include <svl/solar.hrc>
 
@@ -119,6 +118,4 @@
 #define ATTR_NUMBER_NEWSTART_AT         ATTR_PARANUMBERING_START + 1
 #define ATTR_PARANUMBERING_END          ATTR_NUMBER_NEWSTART_AT
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/sdattr.hxx b/sd/inc/sdattr.hxx
index 44e0eb0d20a4..bff52726ebdf 100644
--- a/sd/inc/sdattr.hxx
+++ b/sd/inc/sdattr.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_SDATTR_HXX
-#define INCLUDED_SD_INC_SDATTR_HXX
+#pragma once
 
 #include <svl/eitem.hxx>
 #include <svl/stritem.hxx>
@@ -58,6 +57,4 @@ inline SfxBoolItem makeSdAttrLayerLocked(bool bValue = false)
 
 inline SfxBoolItem makeSdAttrLayerThisPage() { return SfxBoolItem(ATTR_LAYER_THISPAGE, false); }
 
-#endif // INCLUDED_SD_INC_SDATTR_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/sdcgmfilter.hxx b/sd/inc/sdcgmfilter.hxx
index 000a50bde63d..6d5022f3c43c 100644
--- a/sd/inc/sdcgmfilter.hxx
+++ b/sd/inc/sdcgmfilter.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_SDCGMFILTER_HXX
-#define INCLUDED_SD_INC_SDCGMFILTER_HXX
+#pragma once
 
 #include "sdfilter.hxx"
 
@@ -35,6 +34,4 @@ public:
     bool        Export() override;
 };
 
-#endif // INCLUDED_SD_INC_SDCGMFILTER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/sdcommands.h b/sd/inc/sdcommands.h
index 30dfaf035686..84f439197a32 100644
--- a/sd/inc/sdcommands.h
+++ b/sd/inc/sdcommands.h
@@ -16,12 +16,9 @@
  *   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_SD_INC_SDCOMMANDS_H
-#define INCLUDED_SD_INC_SDCOMMANDS_H
+#pragma once
 
 #define CMD_SID_HANDOUT_MASTER_MODE                 ".uno:HandoutMode"
 #define CMD_SID_NOTES_MODE                          ".uno:NotesMode"
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/sddll.hxx b/sd/inc/sddll.hxx
index 082445e2ca28..7f1258500ee3 100644
--- a/sd/inc/sddll.hxx
+++ b/sd/inc/sddll.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_SDDLL_HXX
-#define INCLUDED_SD_INC_SDDLL_HXX
+#pragma once
 
 #include "sddllapi.h"
 
@@ -52,6 +51,4 @@ public:
     static void     Init();     // called directly after loading the DLL
 };
 
-#endif // INCLUDED_SD_INC_SDDLL_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/sddllapi.h b/sd/inc/sddllapi.h
index bcf377dbff25..d8d4e1938b5a 100644
--- a/sd/inc/sddllapi.h
+++ b/sd/inc/sddllapi.h
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_SDDLLAPI_H
-#define INCLUDED_SD_INC_SDDLLAPI_H
+#pragma once
 
 #include <sal/types.h>
 
@@ -28,6 +27,4 @@
 #define SD_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
 #endif
 
-#endif // INCLUDED_SD_INC_SDDLLAPI_H
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/sdenumdef.hxx b/sd/inc/sdenumdef.hxx
index d307f3d7128e..bd04c67a9e07 100644
--- a/sd/inc/sdenumdef.hxx
+++ b/sd/inc/sdenumdef.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_SDENUMDEF_HXX
-#define INCLUDED_SD_INC_SDENUMDEF_HXX
+#pragma once
 
 #define RET_SNAP_DELETE 111
 
@@ -29,6 +28,4 @@ enum class SnapKind
     Point
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/sderror.hxx b/sd/inc/sderror.hxx
index a337c3018917..07ee1d7fa801 100644
--- a/sd/inc/sderror.hxx
+++ b/sd/inc/sderror.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_SDERROR_HXX
-#define INCLUDED_SD_INC_SDERROR_HXX
+#pragma once
 
 #include <vcl/errcode.hxx>
 
@@ -29,6 +28,4 @@
 // Warnings
 #define WARN_FORMAT_FILE_ROWCOL         ErrCode(WarningFlag::Yes, ErrCodeArea::Sd, ErrCodeClass::Read, 100)
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/sdfilter.hxx b/sd/inc/sdfilter.hxx
index 47f07378cc4b..8d7782e4fc92 100644
--- a/sd/inc/sdfilter.hxx
+++ b/sd/inc/sdfilter.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_SDFILTER_HXX
-#define INCLUDED_SD_INC_SDFILTER_HXX
+#pragma once
 
 #include <osl/module.h>
 #include <rtl/ustring.hxx>
@@ -64,6 +63,4 @@ private:
 
 };
 
-#endif // INCLUDED_SD_INC_SDFILTER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/sdgrffilter.hxx b/sd/inc/sdgrffilter.hxx
index 90366e2df7da..dc9027f94ca3 100644
--- a/sd/inc/sdgrffilter.hxx
+++ b/sd/inc/sdgrffilter.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_SDGRFFILTER_HXX
-#define INCLUDED_SD_INC_SDGRFFILTER_HXX
+#pragma once
 
 #include "sdfilter.hxx"
 class ErrCode;
@@ -37,6 +36,4 @@ public:
     static void HandleGraphicFilterError(ErrCode nFilterError, ErrCode nStreamError);
 };
 
-#endif // INCLUDED_SD_INC_SDGRFFILTER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/sdhtmlfilter.hxx b/sd/inc/sdhtmlfilter.hxx
index 788a87ed569a..84b9c5d48e0f 100644
--- a/sd/inc/sdhtmlfilter.hxx
+++ b/sd/inc/sdhtmlfilter.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_SDHTMLFILTER_HXX
-#define INCLUDED_SD_INC_SDHTMLFILTER_HXX
+#pragma once
 
 #include "sdfilter.hxx"
 
@@ -32,6 +31,4 @@ public:
     virtual bool Export() override;
 };
 
-#endif // INCLUDED_SD_INC_SDHTMLFILTER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/sdiocmpt.hxx b/sd/inc/sdiocmpt.hxx
index fb1872f16832..9f1395fd7c22 100644
--- a/sd/inc/sdiocmpt.hxx
+++ b/sd/inc/sdiocmpt.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_SDIOCMPT_HXX
-#define INCLUDED_SD_INC_SDIOCMPT_HXX
+#pragma once
 
 #include <tools/stream.hxx>
 #include "sddllapi.h"
@@ -55,6 +54,4 @@ public:
             ~SdIOCompat();
 };
 
-#endif // INCLUDED_SD_INC_SDIOCMPT_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/sdmod.hxx b/sd/inc/sdmod.hxx
index 7789b896b871..218913a1b69a 100644
--- a/sd/inc/sdmod.hxx
+++ b/sd/inc/sdmod.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_SDMOD_HXX
-#define INCLUDED_SD_INC_SDMOD_HXX
+#pragma once
 
 #include "glob.hxx"
 #include "pres.hxx"
@@ -172,6 +171,4 @@ private:
 
 #define SD_MOD() ( static_cast<SdModule*>(SfxApplication::GetModule(SfxToolsModule::Draw)) )
 
-#endif // INCLUDED_SD_INC_SDMOD_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/sdpdffilter.hxx b/sd/inc/sdpdffilter.hxx
index 44cae287d19f..685a3485ac35 100644
--- a/sd/inc/sdpdffilter.hxx
+++ b/sd/inc/sdpdffilter.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_SDPDFIUMFILTER_HXX
-#define INCLUDED_SD_INC_SDPDFIUMFILTER_HXX
+#pragma once
 
 #include "sdfilter.hxx"
 
@@ -39,6 +38,4 @@ public:
     bool Export() override;
 };
 
-#endif // INCLUDED_SD_INC_SDGRFFILTER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/sdpptwrp.hxx b/sd/inc/sdpptwrp.hxx
index 9126f814d585..7ff62a5c05e7 100644
--- a/sd/inc/sdpptwrp.hxx
+++ b/sd/inc/sdpptwrp.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_SDPPTWRP_HXX
-#define INCLUDED_SD_INC_SDPPTWRP_HXX
+#pragma once
 
 #include "sdfilter.hxx"
 
@@ -44,6 +43,4 @@ private:
     SvMemoryStream*         pBas;
 };
 
-#endif // INCLUDED_SD_INC_SDPPTWRP_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/sdundo.hxx b/sd/inc/sdundo.hxx
index d2959cf9a159..fbcc03574c56 100644
--- a/sd/inc/sdundo.hxx
+++ b/sd/inc/sdundo.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_SDUNDO_HXX
-#define INCLUDED_SD_INC_SDUNDO_HXX
+#pragma once
 
 #include <svl/undo.hxx>
 #include "sddllapi.h"
@@ -43,6 +42,4 @@ private:
     OUString maComment;
 };
 
-#endif // INCLUDED_SD_INC_SDUNDO_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/sdxmlwrp.hxx b/sd/inc/sdxmlwrp.hxx
index 0c42447be28f..9a1bf82c028a 100644
--- a/sd/inc/sdxmlwrp.hxx
+++ b/sd/inc/sdxmlwrp.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_SD_INC_SDXMLWRP_HXX
-#define INCLUDED_SD_INC_SDXMLWRP_HXX
+#pragma once
 
 #include <comphelper/fileformat.h>
 #include <tools/solar.h>
@@ -50,6 +49,4 @@ private:
     sal_uLong mnStoreVer;
 };
 
-#endif // INCLUDED_SD_INC_SDXMLWRP_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/shapelist.hxx b/sd/inc/shapelist.hxx
index c151fa6d2fcd..6528cc073286 100644
--- a/sd/inc/shapelist.hxx
+++ b/sd/inc/shapelist.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_SHAPELIST_HXX
-#define INCLUDED_SD_INC_SHAPELIST_HXX
+#pragma once
 
 #include <sal/types.h>
 #include <svx/sdrobjectuser.hxx>
@@ -69,6 +68,4 @@ namespace sd
     };
 }
 
-#endif // INCLUDED_SD_INC_SHAPELIST_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/stlfamily.hxx b/sd/inc/stlfamily.hxx
index aff19d1f1739..df7ded613a4e 100644
--- a/sd/inc/stlfamily.hxx
+++ b/sd/inc/stlfamily.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_STLFAMILY_HXX
-#define INCLUDED_SD_INC_STLFAMILY_HXX
+#pragma once
 
 #include <memory>
 #include <com/sun/star/uno/Any.hxx>
@@ -114,6 +113,4 @@ private:
 
 typedef rtl::Reference< SdStyleFamily > SdStyleFamilyRef;
 
-#endif // INCLUDED_SD_INC_STLFAMILY_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/stlpool.hxx b/sd/inc/stlpool.hxx
index dbe38d63828f..bb73e157ed3f 100644
--- a/sd/inc/stlpool.hxx
+++ b/sd/inc/stlpool.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_STLPOOL_HXX
-#define INCLUDED_SD_INC_STLPOOL_HXX
+#pragma once
 
 #include <com/sun/star/lang/XServiceInfo.hpp>
 #include <com/sun/star/container/XIndexAccess.hpp>
@@ -139,6 +138,4 @@ private:
     OUString                msTableFamilyName;
 };
 
-#endif // INCLUDED_SD_INC_STLPOOL_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/stlsheet.hxx b/sd/inc/stlsheet.hxx
index b6b693d4f937..e0eced36a280 100644
--- a/sd/inc/stlsheet.hxx
+++ b/sd/inc/stlsheet.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_STLSHEET_HXX
-#define INCLUDED_SD_INC_STLSHEET_HXX
+#pragma once
 
 #include <rtl/ref.hxx>
 
@@ -166,6 +165,4 @@ struct StyleSheetCopyResult
 
 typedef std::vector<StyleSheetCopyResult> StyleSheetCopyResultVector;
 
-#endif // INCLUDED_SD_INC_STLSHEET_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/strings.hrc b/sd/inc/strings.hrc
index 751b576ec0ec..d55bf8824568 100644
--- a/sd/inc/strings.hrc
+++ b/sd/inc/strings.hrc
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_STRINGS_HRC
-#define INCLUDED_SD_INC_STRINGS_HRC
+#pragma once
 
 #define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
 #define NNC_(Context, StringSingular, StringPlural) reinterpret_cast<char const *>(Context "\004" u8##StringSingular "\004" u8##StringPlural)
@@ -486,6 +485,4 @@
 #define RID_SVXSTR_MENU_FIRST                           NC_("RID_SVXSTR_MENU_FIRST", "~First Slide")
 #define RID_SVXSTR_MENU_LAST                            NC_("RID_SVXSTR_MENU_LAST", "~Last Slide")
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/strings.hxx b/sd/inc/strings.hxx
index 47eb130897f0..b5c01c0d89cf 100644
--- a/sd/inc/strings.hxx
+++ b/sd/inc/strings.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_SD_INC_STRINGS_HXX
-#define INCLUDED_SD_INC_STRINGS_HXX
+#pragma once
 
 /* do not translate */
 #define STR_LAYOUT_TITLE                "Titel"
@@ -18,6 +17,5 @@
 #define STR_LAYOUT_NOTES                "Notizen"
 #define STR_LAYOUT_SUBTITLE             "Untertitel"
 #define STR_HTMLEXP_DEFAULT_EXTENSION   ".html"
-#endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/sd/inc/textapi.hxx b/sd/inc/textapi.hxx
index 40449c2f0cc2..4b2d1a751d9e 100644
--- a/sd/inc/textapi.hxx
+++ b/sd/inc/textapi.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_TEXTAPI_HXX
-#define INCLUDED_SD_INC_TEXTAPI_HXX
+#pragma once
 
 #include <editeng/unotext.hxx>
 #include <rtl/ref.hxx>
@@ -53,6 +52,4 @@ private:
 
 } // namespace sd
 
-#endif // INCLUDED_SD_INC_TEXTAPI_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/undo/undofactory.hxx b/sd/inc/undo/undofactory.hxx
index 6341b006a568..92b875c78f3b 100644
--- a/sd/inc/undo/undofactory.hxx
+++ b/sd/inc/undo/undofactory.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_UNDO_UNDOFACTORY_HXX
-#define INCLUDED_SD_INC_UNDO_UNDOFACTORY_HXX
+#pragma once
 
 #include <svx/svdundo.hxx>
 
@@ -38,6 +37,4 @@ public:
 
 }
 
-#endif // INCLUDED_SD_INC_UNDO_UNDOFACTORY_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/undo/undomanager.hxx b/sd/inc/undo/undomanager.hxx
index 771af280103f..f4b2e6dd4e6f 100644
--- a/sd/inc/undo/undomanager.hxx
+++ b/sd/inc/undo/undomanager.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_UNDO_UNDOMANAGER_HXX
-#define INCLUDED_SD_INC_UNDO_UNDOMANAGER_HXX
+#pragma once
 
 #include <svx/sdrundomanager.hxx>
 
@@ -59,6 +58,4 @@ private:
 
 }
 
-#endif // INCLUDED_SD_INC_UNDO_UNDOMANAGER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/undo/undoobjects.hxx b/sd/inc/undo/undoobjects.hxx
index b7eae9b85d66..4602187ec28e 100644
--- a/sd/inc/undo/undoobjects.hxx
+++ b/sd/inc/undo/undoobjects.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_UNDO_UNDOOBJECTS_HXX
-#define INCLUDED_SD_INC_UNDO_UNDOOBJECTS_HXX
+#pragma once
 
 #include <memory>
 #include <svx/svdundo.hxx>
@@ -173,6 +172,4 @@ private:
 
 } // namespace sd
 
-#endif // INCLUDED_SD_INC_UNDO_UNDOOBJECTS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/undoanim.hxx b/sd/inc/undoanim.hxx
index 44b0fa67fcac..2d329b50da45 100644
--- a/sd/inc/undoanim.hxx
+++ b/sd/inc/undoanim.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_INC_UNDOANIM_HXX
-#define INCLUDED_SD_INC_UNDOANIM_HXX
+#pragma once
 
 #include <com/sun/star/animations/XAnimationNode.hpp>
 #include <svx/svdundo.hxx>
@@ -82,6 +81,4 @@ private:
 };
 }
 
-#endif // INCLUDED_SD_INC_UNDOANIM_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/qa/unit/sdmodeltestbase.hxx b/sd/qa/unit/sdmodeltestbase.hxx
index 4b715d029bbd..8f8110b16e2f 100644
--- a/sd/qa/unit/sdmodeltestbase.hxx
+++ b/sd/qa/unit/sdmodeltestbase.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_SD_QA_UNIT_SDMODELTESTBASE_HXX
-#define INCLUDED_SD_QA_UNIT_SDMODELTESTBASE_HXX
+#pragma once
 
 #include <memory>
 #include <string_view>
@@ -503,6 +502,4 @@ template<> struct assertion_traits<tools::Rectangle>
 
 CPPUNIT_NS_END
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/core/PageListWatcher.hxx b/sd/source/core/PageListWatcher.hxx
index 11ab612e6067..252d18615305 100644
--- a/sd/source/core/PageListWatcher.hxx
+++ b/sd/source/core/PageListWatcher.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_CORE_PAGELISTWATCHER_HXX
-#define INCLUDED_SD_SOURCE_CORE_PAGELISTWATCHER_HXX
+#pragma once
 
 #include <pres.hxx>
 #include <sal/types.h>
@@ -85,6 +84,4 @@ public:
     virtual ~ImpMasterPageListWatcher() override;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/filter/eppt/eppt.hxx b/sd/source/filter/eppt/eppt.hxx
index bed711891345..eec83929002f 100644
--- a/sd/source/filter/eppt/eppt.hxx
+++ b/sd/source/filter/eppt/eppt.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_FILTER_EPPT_EPPT_HXX
-#define INCLUDED_SD_SOURCE_FILTER_EPPT_EPPT_HXX
+#pragma once
 #include <memory>
 #include <vector>
 #include "escherex.hxx"
@@ -230,6 +229,4 @@ class PPTWriter final : public PPTWriterBase, public PPTExBulletProvider
         virtual void        exportPPTPost( ) override;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/filter/eppt/epptbase.hxx b/sd/source/filter/eppt/epptbase.hxx
index 96665991e152..e8ac992e3f1d 100644
--- a/sd/source/filter/eppt/epptbase.hxx
+++ b/sd/source/filter/eppt/epptbase.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_FILTER_EPPT_EPPTBASE_HXX
-#define INCLUDED_SD_SOURCE_FILTER_EPPT_EPPTBASE_HXX
+#pragma once
 
 #include <memory>
 #include <vector>
@@ -410,6 +409,4 @@ public:
     static sal_Int8 GetTransition( css::presentation::FadeEffect eEffect, sal_uInt8& nDirection );
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/filter/eppt/epptdef.hxx b/sd/source/filter/eppt/epptdef.hxx
index 4bad4320561d..f5059681c1d9 100644
--- a/sd/source/filter/eppt/epptdef.hxx
+++ b/sd/source/filter/eppt/epptdef.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_FILTER_EPPT_EPPTDEF_HXX
-#define INCLUDED_SD_SOURCE_FILTER_EPPT_EPPTDEF_HXX
+#pragma once
 
 #define EPP_Document                    1000
 #define EPP_DocumentAtom                1001
@@ -143,6 +142,4 @@
 #define EPP_SLIDESIZE_TYPEBANNER            5
 #define EPP_SLIDESIZE_TYPECUSTOM            6
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/filter/eppt/epptooxml.hxx b/sd/source/filter/eppt/epptooxml.hxx
index 56b70a0d9d58..42f9f5817b5c 100644
--- a/sd/source/filter/eppt/epptooxml.hxx
+++ b/sd/source/filter/eppt/epptooxml.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_FILTER_EPPT_EPPTOOXML_HXX
-#define INCLUDED_SD_SOURCE_FILTER_EPPT_EPPTOOXML_HXX
+#pragma once
 
 #include <oox/core/xmlfilterbase.hxx>
 #include <oox/vml/vmldrawing.hxx>
@@ -155,6 +154,4 @@ private:
 }
 
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/filter/eppt/escherex.hxx b/sd/source/filter/eppt/escherex.hxx
index 58b48fa7379d..8f64419f4824 100644
--- a/sd/source/filter/eppt/escherex.hxx
+++ b/sd/source/filter/eppt/escherex.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_FILTER_EPPT_ESCHEREX_HXX
-#define INCLUDED_SD_SOURCE_FILTER_EPPT_ESCHEREX_HXX
+#pragma once
 #include <filter/msfilter/escherex.hxx>
 
 /// Values for the sal_uLong in PPT_PST_TextHeaderAtom.
@@ -62,6 +61,4 @@ class PptEscherEx : public EscherEx
         using EscherEx::EnterGroup;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/filter/eppt/grouptable.hxx b/sd/source/filter/eppt/grouptable.hxx
index a23283aa663b..6d252ceb8f29 100644
--- a/sd/source/filter/eppt/grouptable.hxx
+++ b/sd/source/filter/eppt/grouptable.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_FILTER_EPPT_GROUPTABLE_HXX
-#define INCLUDED_SD_SOURCE_FILTER_EPPT_GROUPTABLE_HXX
+#pragma once
 
 #include <com/sun/star/container/XIndexAccess.hpp>
 #include <memory>
@@ -68,6 +67,4 @@ class GroupTable
                                 ~GroupTable();
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/filter/eppt/pptexanimations.hxx b/sd/source/filter/eppt/pptexanimations.hxx
index 90916711f1c6..dd09acd5ad3c 100644
--- a/sd/source/filter/eppt/pptexanimations.hxx
+++ b/sd/source/filter/eppt/pptexanimations.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_FILTER_EPPT_PPTEXANIMATIONS_HXX
-#define INCLUDED_SD_SOURCE_FILTER_EPPT_PPTEXANIMATIONS_HXX
+#pragma once
 
 #ifdef DBG_ANIM_LOG
 #include <stdio.h>
@@ -132,6 +131,4 @@ public:
 };
 } // namespace ppt
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/filter/eppt/pptexsoundcollection.hxx b/sd/source/filter/eppt/pptexsoundcollection.hxx
index 2e990aba06b2..d81bb8118202 100644
--- a/sd/source/filter/eppt/pptexsoundcollection.hxx
+++ b/sd/source/filter/eppt/pptexsoundcollection.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_FILTER_EPPT_PPTEXSOUNDCOLLECTION_HXX
-#define INCLUDED_SD_SOURCE_FILTER_EPPT_PPTEXSOUNDCOLLECTION_HXX
+#pragma once
 
 #include <vector>
 
@@ -69,6 +68,4 @@ private:
 
 } // namespace ppt
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/filter/eppt/pptx-animations.hxx b/sd/source/filter/eppt/pptx-animations.hxx
index 7f9cb6f1ca8a..24654abb8d04 100644
--- a/sd/source/filter/eppt/pptx-animations.hxx
+++ b/sd/source/filter/eppt/pptx-animations.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_SD_SOURCE_FILTER_EPPT_EPPTANIMATIONS_HXX
-#define INCLUDED_SD_SOURCE_FILTER_EPPT_EPPTANIMATIONS_HXX
+#pragma once
 
 #include <sax/fshelper.hxx>
 
@@ -22,6 +21,5 @@ void WriteAnimations(const ::sax_fastparser::FSHelperPtr& pFS,
                      const css::uno::Reference<css::drawing::XDrawPage>& rXDrawPage,
                      PowerPointExport& rExport);
 }
-#endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/filter/eppt/text.hxx b/sd/source/filter/eppt/text.hxx
index 2b9a4dd90a9d..ee2fc537cd35 100644
--- a/sd/source/filter/eppt/text.hxx
+++ b/sd/source/filter/eppt/text.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_FILTER_EPPT_TEXT_HXX
-#define INCLUDED_SD_SOURCE_FILTER_EPPT_TEXT_HXX
+#pragma once
 
 #include "epptbase.hxx"
 
@@ -252,6 +251,4 @@ public:
     bool            HasExtendedBullets() const;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/filter/html/buttonset.hxx b/sd/source/filter/html/buttonset.hxx
index 5e384276dbb7..4289c10e9805 100644
--- a/sd/source/filter/html/buttonset.hxx
+++ b/sd/source/filter/html/buttonset.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_FILTER_HTML_BUTTONSET_HXX
-#define INCLUDED_SD_SOURCE_FILTER_HTML_BUTTONSET_HXX
+#pragma once
 
 #include <sddllapi.h>
 
@@ -44,6 +43,4 @@ private:
     std::unique_ptr<ButtonSetImpl> mpImpl;
 };
 
-#endif // INCLUDED_SD_SOURCE_FILTER_HTML_BUTTONSET_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/filter/html/htmlattr.hxx b/sd/source/filter/html/htmlattr.hxx
index 5c91e700f205..bf80b9e4b689 100644
--- a/sd/source/filter/html/htmlattr.hxx
+++ b/sd/source/filter/html/htmlattr.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_FILTER_HTML_HTMLATTR_HXX
-#define INCLUDED_SD_SOURCE_FILTER_HTML_HTMLATTR_HXX
+#pragma once
 
 #include <vcl/customweld.hxx>
 #include <tools/color.hxx>
@@ -38,6 +37,4 @@ public:
                        Color const & aVLink, Color const & aALink );
 };
 
-#endif // INCLUDED_SD_SOURCE_FILTER_HTML_HTMLATTR_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/filter/html/htmlex.hxx b/sd/source/filter/html/htmlex.hxx
index 8d9ccdc275f9..cad0c0cd45cf 100644
--- a/sd/source/filter/html/htmlex.hxx
+++ b/sd/source/filter/html/htmlex.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_FILTER_HTML_HTMLEX_HXX
-#define INCLUDED_SD_SOURCE_FILTER_HTML_HTMLEX_HXX
+#pragma once
 
 #include <resltn.hxx>
 #include <rtl/ustrbuf.hxx>
@@ -233,6 +232,4 @@ class HtmlExport final
     static OUString StringToHTMLString( const OUString& rString );
 };
 
-#endif // INCLUDED_SD_SOURCE_FILTER_HTML_HTMLEX_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/filter/html/htmlpublishmode.hxx b/sd/source/filter/html/htmlpublishmode.hxx
index 95740c0b4a6d..3ba7eeb80949 100644
--- a/sd/source/filter/html/htmlpublishmode.hxx
+++ b/sd/source/filter/html/htmlpublishmode.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_FILTER_HTML_HTMLPUBLISHMODE_HXX
-#define INCLUDED_SD_SOURCE_FILTER_HTML_HTMLPUBLISHMODE_HXX
+#pragma once
 
 enum HtmlPublishMode
 {
@@ -29,6 +28,4 @@ enum HtmlPublishMode
     PUBLISH_SINGLE_DOCUMENT
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/filter/ppt/ppt97animations.hxx b/sd/source/filter/ppt/ppt97animations.hxx
index 0baef8965ecb..1811d93a3938 100644
--- a/sd/source/filter/ppt/ppt97animations.hxx
+++ b/sd/source/filter/ppt/ppt97animations.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_FILTER_PPT_PPT97ANIMATIONS_HXX
-#define INCLUDED_SD_SOURCE_FILTER_PPT_PPT97ANIMATIONS_HXX
+#pragma once
 
 #include <rtl/ustring.hxx>
 #include <sal/types.h>
@@ -154,6 +153,4 @@ private: //private member
     mutable double          m_fDurationInSeconds;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/filter/ppt/pptanimations.hxx b/sd/source/filter/ppt/pptanimations.hxx
index a35f742f53ca..7fda1bb68d20 100644
--- a/sd/source/filter/ppt/pptanimations.hxx
+++ b/sd/source/filter/ppt/pptanimations.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_FILTER_PPT_PPTANIMATIONS_HXX
-#define INCLUDED_SD_SOURCE_FILTER_PPT_PPTANIMATIONS_HXX
+#pragma once
 
 #include <com/sun/star/uno/Any.h>
 
@@ -207,6 +206,4 @@ public:
 
 } // namespace ppt
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/filter/ppt/pptatom.hxx b/sd/source/filter/ppt/pptatom.hxx
index 6976e2c70cc8..55ee7f6874cf 100644
--- a/sd/source/filter/ppt/pptatom.hxx
+++ b/sd/source/filter/ppt/pptatom.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_FILTER_PPT_PPTATOM_HXX
-#define INCLUDED_SD_SOURCE_FILTER_PPT_PPTATOM_HXX
+#pragma once
 
 #include <filter/msfilter/dffrecordheader.hxx>
 
@@ -104,6 +103,4 @@ inline sal_uInt32 Atom::getLength() const { return maRecordHeader.nRecLen; }
 
 } // namespace ppt
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/filter/ppt/pptin.hxx b/sd/source/filter/ppt/pptin.hxx
index f7bf91472e10..39eff289045f 100644
--- a/sd/source/filter/ppt/pptin.hxx
+++ b/sd/source/filter/ppt/pptin.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_FILTER_PPT_PPTIN_HXX
-#define INCLUDED_SD_SOURCE_FILTER_PPT_PPTIN_HXX
+#pragma once
 
 #include <filter/msfilter/svdfppt.hxx>
 #include <diadef.h>
@@ -90,6 +89,4 @@ public:
     bool Import();
 };
 
-#endif // INCLUDED_SD_SOURCE_FILTER_PPT_PPTIN_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/filter/ppt/pptinanimations.hxx b/sd/source/filter/ppt/pptinanimations.hxx
index b82072cdaf72..ed79144b96c5 100644
--- a/sd/source/filter/ppt/pptinanimations.hxx
+++ b/sd/source/filter/ppt/pptinanimations.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_FILTER_PPT_PPTINANIMATIONS_HXX
-#define INCLUDED_SD_SOURCE_FILTER_PPT_PPTINANIMATIONS_HXX
+#pragma once
 
 #include <com/sun/star/uno/Reference.hxx>
 
@@ -113,6 +112,4 @@ private:
 
 } // namespace ppt
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/filter/ppt/propread.hxx b/sd/source/filter/ppt/propread.hxx
index f0edafb72802..402a046241c4 100644
--- a/sd/source/filter/ppt/propread.hxx
+++ b/sd/source/filter/ppt/propread.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_FILTER_PPT_PROPREAD_HXX
-#define INCLUDED_SD_SOURCE_FILTER_PPT_PROPREAD_HXX
+#pragma once
 
 #include <map>
 #include <vector>
@@ -149,6 +148,4 @@ class PropRead
         void                    Read();
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/filter/xml/sdtransform.hxx b/sd/source/filter/xml/sdtransform.hxx
index d1f8ae038f07..64bb1c0a1dda 100644
--- a/sd/source/filter/xml/sdtransform.hxx
+++ b/sd/source/filter/xml/sdtransform.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_FILTER_XML_SDTRANSFORM_HXX
-#define INCLUDED_SD_SOURCE_FILTER_XML_SDTRANSFORM_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -26,6 +25,4 @@
 
 void TransformOOo2xDocument(SdDrawDocument* pDocument);
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/animations/CustomAnimationDialog.hxx b/sd/source/ui/animations/CustomAnimationDialog.hxx
index 1b4d345f7db3..b8a8abcff00a 100644
--- a/sd/source/ui/animations/CustomAnimationDialog.hxx
+++ b/sd/source/ui/animations/CustomAnimationDialog.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_ANIMATIONS_CUSTOMANIMATIONDIALOG_HXX
-#define INCLUDED_SD_SOURCE_UI_ANIMATIONS_CUSTOMANIMATIONDIALOG_HXX
+#pragma once
 
 #include <vcl/weld.hxx>
 
@@ -139,6 +138,4 @@ private:
 
 }
 
-#endif // INCLUDED_SD_SOURCE_UI_ANIMATIONS_CUSTOMANIMATIONDIALOG_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/animations/STLPropertySet.hxx b/sd/source/ui/animations/STLPropertySet.hxx
index 5b7388edfdf9..3096e7c7832e 100644
--- a/sd/source/ui/animations/STLPropertySet.hxx
+++ b/sd/source/ui/animations/STLPropertySet.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_ANIMATIONS_STLPROPERTYSET_HXX
-#define INCLUDED_SD_SOURCE_UI_ANIMATIONS_STLPROPERTYSET_HXX
+#pragma once
 
 #include <map>
 #include <com/sun/star/uno/Any.hxx>
@@ -71,6 +70,4 @@ private:
 
 }
 
-#endif // INCLUDED_SD_SOURCE_UI_ANIMATIONS_STLPROPERTYSET_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/animations/motionpathtag.hxx b/sd/source/ui/animations/motionpathtag.hxx
index 9c2a493fa728..8e12ed71bfb5 100644
--- a/sd/source/ui/animations/motionpathtag.hxx
+++ b/sd/source/ui/animations/motionpathtag.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_ANIMATIONS_MOTIONPATHTAG_HXX
-#define INCLUDED_SD_SOURCE_UI_ANIMATIONS_MOTIONPATHTAG_HXX
+#pragma once
 
 #include <com/sun/star/util/XChangesListener.hpp>
 #include <basegfx/polygon/b2dpolypolygon.hxx>
@@ -112,6 +111,4 @@ private:
 
 } // end of namespace sd
 
-#endif // INCLUDED_SD_SOURCE_UI_ANIMATIONS_MOTIONPATHTAG_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/annotations/annotationmanagerimpl.hxx b/sd/source/ui/annotations/annotationmanagerimpl.hxx
index ab5904146807..63e6ead48fd3 100644
--- a/sd/source/ui/annotations/annotationmanagerimpl.hxx
+++ b/sd/source/ui/annotations/annotationmanagerimpl.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_ANNOTATIONS_ANNOTATIONMANAGERIMPL_HXX
-#define INCLUDED_SD_SOURCE_UI_ANNOTATIONS_ANNOTATIONMANAGERIMPL_HXX
+#pragma once
 
 #include <com/sun/star/document/XEventListener.hpp>
 
@@ -139,6 +138,4 @@ css::util::DateTime getCurrentDateTime();
 
 }
 
-#endif // INCLUDED_SD_SOURCE_UI_ANNOTATIONS_ANNOTATIONMANAGERIMPL_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/annotations/annotationtag.hxx b/sd/source/ui/annotations/annotationtag.hxx
index 9eea78838eda..1c10a2db3c97 100644
--- a/sd/source/ui/annotations/annotationtag.hxx
+++ b/sd/source/ui/annotations/annotationtag.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_ANNOTATIONS_ANNOTATIONTAG_HXX
-#define INCLUDED_SD_SOURCE_UI_ANNOTATIONS_ANNOTATIONTAG_HXX
+#pragma once
 
 #include <smarttag.hxx>
 #include "annotationwindow.hxx"
@@ -85,6 +84,4 @@ private:
 
 } // end of namespace sd
 
-#endif // INCLUDED_SD_SOURCE_UI_ANNOTATIONS_ANNOTATIONTAG_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/controller/slidelayoutcontroller.hxx b/sd/source/ui/controller/slidelayoutcontroller.hxx
index bff9eed17962..ae4a3a09fa78 100644
--- a/sd/source/ui/controller/slidelayoutcontroller.hxx
+++ b/sd/source/ui/controller/slidelayoutcontroller.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_CONTROLLER_SLIDELAYOUTCONTROLLER_HXX
-#define INCLUDED_SD_SOURCE_UI_CONTROLLER_SLIDELAYOUTCONTROLLER_HXX
+#pragma once
 
 #include <svtools/popupwindowcontroller.hxx>
 
@@ -45,6 +44,4 @@ private:
 };
 }
 
-#endif // INCLUDED_SD_SOURCE_UI_CONTROLLER_SLIDELAYOUTCONTROLLER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/dlg/PhotoAlbumDialog.hxx b/sd/source/ui/dlg/PhotoAlbumDialog.hxx
index dc83b89ab586..f84ff5cc37df 100644
--- a/sd/source/ui/dlg/PhotoAlbumDialog.hxx
+++ b/sd/source/ui/dlg/PhotoAlbumDialog.hxx
@@ -7,8 +7,7 @@
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
 
-#ifndef INCLUDED_SD_SOURCE_UI_DLG_PHOTOALBUMDIALOG_HXX
-#define INCLUDED_SD_SOURCE_UI_DLG_PHOTOALBUMDIALOG_HXX
+#pragma once
 
 #include <tools/link.hxx>
 
@@ -89,5 +88,4 @@ private:
 
 } // end of namespace sd
 
-#endif // INCLUDED_SD_SOURCE_UI_DLG_PHOTOALBUMDIALOG_HXX
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/dlg/RemoteDialog.hxx b/sd/source/ui/dlg/RemoteDialog.hxx
index 20644ed3fa68..6c3f94ff8680 100644
--- a/sd/source/ui/dlg/RemoteDialog.hxx
+++ b/sd/source/ui/dlg/RemoteDialog.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_SD_SOURCE_UI_DLG_REMOTEDIALOG_HXX
-#define INCLUDED_SD_SOURCE_UI_DLG_REMOTEDIALOG_HXX
+#pragma once
 
 #include <vcl/weld.hxx>
 
@@ -30,6 +29,4 @@ public:
 };
 }
 
-#endif // INCLUDED_SD_SOURCE_UI_DLG_REMOTEDIALOG_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/dlg/RemoteDialogClientBox.hxx b/sd/source/ui/dlg/RemoteDialogClientBox.hxx
index b2876f417889..c7a916dc934a 100644
--- a/sd/source/ui/dlg/RemoteDialogClientBox.hxx
+++ b/sd/source/ui/dlg/RemoteDialogClientBox.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_DLG_REMOTEDIALOGCLIENTBOX_HXX
-#define INCLUDED_SD_SOURCE_UI_DLG_REMOTEDIALOGCLIENTBOX_HXX
+#pragma once
 
 #include <vcl/weld.hxx>
 
@@ -83,6 +82,4 @@ public:
 
 } // end namespace sd
 
-#endif // INCLUDED_SD_SOURCE_UI_DLG_REMOTEDIALOGCLIENTBOX_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/dlg/sddlgfact.hxx b/sd/source/ui/dlg/sddlgfact.hxx
index 52bcf2efb631..c637eab5d6bc 100644
--- a/sd/source/ui/dlg/sddlgfact.hxx
+++ b/sd/source/ui/dlg/sddlgfact.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_SD_SOURCE_UI_DLG_SDDLGFACT_HXX
-#define INCLUDED_SD_SOURCE_UI_DLG_SDDLGFACT_HXX
+#pragma once
 
 #include <sdabstdlg.hxx>
 #include <sfx2/basedlgs.hxx>
@@ -447,6 +446,4 @@ public:
 
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/framework/configuration/ChangeRequestQueue.hxx b/sd/source/ui/framework/configuration/ChangeRequestQueue.hxx
index 27fa5d2b6abf..e60b5b527eec 100644
--- a/sd/source/ui/framework/configuration/ChangeRequestQueue.hxx
+++ b/sd/source/ui/framework/configuration/ChangeRequestQueue.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_FRAMEWORK_CONFIGURATION_CHANGEREQUESTQUEUE_HXX
-#define INCLUDED_SD_SOURCE_UI_FRAMEWORK_CONFIGURATION_CHANGEREQUESTQUEUE_HXX
+#pragma once
 
 #include <com/sun/star/uno/Reference.hxx>
 
@@ -46,6 +45,4 @@ public:
 
 } // end of namespace sd::framework
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx b/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx
index ebb08b41cfd7..4afd5af767a2 100644
--- a/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx
+++ b/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_FRAMEWORK_CONFIGURATION_CHANGEREQUESTQUEUEPROCESSOR_HXX
-#define INCLUDED_SD_SOURCE_UI_FRAMEWORK_CONFIGURATION_CHANGEREQUESTQUEUEPROCESSOR_HXX
+#pragma once
 
 #include "ChangeRequestQueue.hxx"
 #include <osl/mutex.hxx>
@@ -124,6 +123,4 @@ private:
 
 } // end of namespace sd::framework
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/framework/configuration/ConfigurationClassifier.hxx b/sd/source/ui/framework/configuration/ConfigurationClassifier.hxx
index 0dd9ef32a62e..e9384713be59 100644
--- a/sd/source/ui/framework/configuration/ConfigurationClassifier.hxx
+++ b/sd/source/ui/framework/configuration/ConfigurationClassifier.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_FRAMEWORK_CONFIGURATION_CONFIGURATIONCLASSIFIER_HXX
-#define INCLUDED_SD_SOURCE_UI_FRAMEWORK_CONFIGURATION_CONFIGURATIONCLASSIFIER_HXX
+#pragma once
 
 #include "debugtrace.hxx"
 #include <com/sun/star/uno/Reference.hxx>
@@ -163,6 +162,4 @@ private:
 
 } // end of namespace sd::framework
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx
index a15ca145fea5..5dfd6843d38a 100644
--- a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx
+++ b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_FRAMEWORK_CONFIGURATION_CONFIGURATIONCONTROLLERBROADCASTER_HXX
-#define INCLUDED_SD_SOURCE_UI_FRAMEWORK_CONFIGURATION_CONFIGURATIONCONTROLLERBROADCASTER_HXX
+#pragma once
 
 #include <com/sun/star/uno/Reference.hxx>
 
@@ -136,6 +135,4 @@ private:
 
 } // end of namespace sd::framework
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx
index 0d7c6b6284a9..f3a3d6d76712 100644
--- a/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx
+++ b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_FRAMEWORK_CONFIGURATION_CONFIGURATIONCONTROLLERRESOURCEMANAGER_HXX
-#define INCLUDED_SD_SOURCE_UI_FRAMEWORK_CONFIGURATION_CONFIGURATIONCONTROLLERRESOURCEMANAGER_HXX
+#pragma once
 
 #include <osl/mutex.hxx>
 
@@ -139,6 +138,4 @@ private:
 
 } // end of namespace sd::framework
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/framework/configuration/ConfigurationTracer.hxx b/sd/source/ui/framework/configuration/ConfigurationTracer.hxx
index d8ca76ccdd9d..337fae5696a7 100644
--- a/sd/source/ui/framework/configuration/ConfigurationTracer.hxx
+++ b/sd/source/ui/framework/configuration/ConfigurationTracer.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_FRAMEWORK_CONFIGURATION_CONFIGURATIONTRACER_HXX
-#define INCLUDED_SD_SOURCE_UI_FRAMEWORK_CONFIGURATION_CONFIGURATIONTRACER_HXX
+#pragma once
 
 #include <sal/types.h>
 
@@ -56,6 +55,4 @@ public:
 
 } // end of namespace sd::framework
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/framework/configuration/ConfigurationUpdater.hxx b/sd/source/ui/framework/configuration/ConfigurationUpdater.hxx
index 84c81fc13ee1..9fba364b13d7 100644
--- a/sd/source/ui/framework/configuration/ConfigurationUpdater.hxx
+++ b/sd/source/ui/framework/configuration/ConfigurationUpdater.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_FRAMEWORK_CONFIGURATION_CONFIGURATIONUPDATER_HXX
-#define INCLUDED_SD_SOURCE_UI_FRAMEWORK_CONFIGURATION_CONFIGURATIONUPDATER_HXX
+#pragma once
 
 #include <com/sun/star/uno/Reference.hxx>
 #include <vcl/timer.hxx>
@@ -207,6 +206,4 @@ private:
 
 } // end of namespace sd::framework
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx
index 7d446e997ff1..f46275fb0aaf 100644
--- a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx
+++ b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_FRAMEWORK_CONFIGURATION_GENERICCONFIGURATIONCHANGEREQUEST_HXX
-#define INCLUDED_SD_SOURCE_UI_FRAMEWORK_CONFIGURATION_GENERICCONFIGURATIONCHANGEREQUEST_HXX
+#pragma once
 
 #include <MutexOwner.hxx>
 #include <com/sun/star/drawing/framework/XConfigurationChangeRequest.hpp>
@@ -98,6 +97,4 @@ private:
 
 } // end of namespace sd::framework
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx b/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx
index 4684d3baffee..46875735ff77 100644
--- a/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx
+++ b/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_FRAMEWORK_CONFIGURATION_RESOURCEFACTORYMANAGER_HXX
-#define INCLUDED_SD_SOURCE_UI_FRAMEWORK_CONFIGURATION_RESOURCEFACTORYMANAGER_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -118,6 +117,4 @@ private:
 
 } // end of namespace sd::framework
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/framework/configuration/UpdateRequest.hxx b/sd/source/ui/framework/configuration/UpdateRequest.hxx
index de48e60e03b2..68cdecbd3276 100644
--- a/sd/source/ui/framework/configuration/UpdateRequest.hxx
+++ b/sd/source/ui/framework/configuration/UpdateRequest.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_FRAMEWORK_CONFIGURATION_UPDATEREQUEST_HXX
-#define INCLUDED_SD_SOURCE_UI_FRAMEWORK_CONFIGURATION_UPDATEREQUEST_HXX
+#pragma once
 
 #include <MutexOwner.hxx>
 #include <com/sun/star/drawing/framework/XConfigurationChangeRequest.hpp>
@@ -70,6 +69,4 @@ public:
 
 } // end of namespace sd::framework
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/framework/configuration/debugtrace.hxx b/sd/source/ui/framework/configuration/debugtrace.hxx
index b99887051cec..b520d0ff3024 100644
--- a/sd/source/ui/framework/configuration/debugtrace.hxx
+++ b/sd/source/ui/framework/configuration/debugtrace.hxx
@@ -7,12 +7,9 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_FRAMEWORK_CONFIGURATION_DEBUGTRACE_HXX
-#define INCLUDED_SD_SOURCE_UI_FRAMEWORK_CONFIGURATION_DEBUGTRACE_HXX
+#pragma once
 
 /// Centrally define activation of configuration debug traces.
 #define DEBUG_SD_CONFIGURATION_TRACE 0
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/framework/factories/BasicPaneFactory.hxx b/sd/source/ui/framework/factories/BasicPaneFactory.hxx
index af8786a6717d..1027bbec2592 100644
--- a/sd/source/ui/framework/factories/BasicPaneFactory.hxx
+++ b/sd/source/ui/framework/factories/BasicPaneFactory.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_FRAMEWORK_FACTORIES_BASICPANEFACTORY_HXX
-#define INCLUDED_SD_SOURCE_UI_FRAMEWORK_FACTORIES_BASICPANEFACTORY_HXX
+#pragma once
 
 #include <com/sun/star/drawing/framework/XResourceFactory.hpp>
 #include <com/sun/star/drawing/framework/XConfigurationChangeListener.hpp>
@@ -130,6 +129,4 @@ private:
 
 } // end of namespace sd::framework
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/framework/factories/BasicToolBarFactory.hxx b/sd/source/ui/framework/factories/BasicToolBarFactory.hxx
index fd237fca74c6..717edceb24b8 100644
--- a/sd/source/ui/framework/factories/BasicToolBarFactory.hxx
+++ b/sd/source/ui/framework/factories/BasicToolBarFactory.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_FRAMEWORK_FACTORIES_BASICTOOLBARFACTORY_HXX
-#define INCLUDED_SD_SOURCE_UI_FRAMEWORK_FACTORIES_BASICTOOLBARFACTORY_HXX
+#pragma once
 
 #include <com/sun/star/lang/XInitialization.hpp>
 #include <com/sun/star/drawing/framework/XResourceFactory.hpp>
@@ -84,6 +83,4 @@ private:
 
 } // end of namespace sd::framework
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/framework/factories/BasicViewFactory.hxx b/sd/source/ui/framework/factories/BasicViewFactory.hxx
index b89bc1fa0b48..327abf1b2617 100644
--- a/sd/source/ui/framework/factories/BasicViewFactory.hxx
+++ b/sd/source/ui/framework/factories/BasicViewFactory.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_FRAMEWORK_FACTORIES_BASICVIEWFACTORY_HXX
-#define INCLUDED_SD_SOURCE_UI_FRAMEWORK_FACTORIES_BASICVIEWFACTORY_HXX
+#pragma once
 
 #include <MutexOwner.hxx>
 
@@ -130,6 +129,4 @@ private:
 
 } // end of namespace sd::framework
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/framework/factories/ChildWindowPane.hxx b/sd/source/ui/framework/factories/ChildWindowPane.hxx
index 72724690d731..08217775780e 100644
--- a/sd/source/ui/framework/factories/ChildWindowPane.hxx
+++ b/sd/source/ui/framework/factories/ChildWindowPane.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_FRAMEWORK_FACTORIES_CHILDWINDOWPANE_HXX
-#define INCLUDED_SD_SOURCE_UI_FRAMEWORK_FACTORIES_CHILDWINDOWPANE_HXX
+#pragma once
 
 #include <framework/Pane.hxx>
 
@@ -99,6 +98,4 @@ private:
 
 } // end of namespace sd::framework
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/framework/factories/FrameWindowPane.hxx b/sd/source/ui/framework/factories/FrameWindowPane.hxx
index 236b3381cf7f..a3808ee12042 100644
--- a/sd/source/ui/framework/factories/FrameWindowPane.hxx
+++ b/sd/source/ui/framework/factories/FrameWindowPane.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_FRAMEWORK_FACTORIES_FRAMEWINDOWPANE_HXX
-#define INCLUDED_SD_SOURCE_UI_FRAMEWORK_FACTORIES_FRAMEWINDOWPANE_HXX
+#pragma once
 
 #include <framework/Pane.hxx>
 
@@ -48,6 +47,4 @@ public:
 
 } // end of namespace sd::framework
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/framework/factories/FullScreenPane.hxx b/sd/source/ui/framework/factories/FullScreenPane.hxx
index 73e560d08635..984ca96cfdec 100644
--- a/sd/source/ui/framework/factories/FullScreenPane.hxx
+++ b/sd/source/ui/framework/factories/FullScreenPane.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_FRAMEWORK_FACTORIES_FULLSCREENPANE_HXX
-#define INCLUDED_SD_SOURCE_UI_FRAMEWORK_FACTORIES_FULLSCREENPANE_HXX
+#pragma once
 
 #include "FrameWindowPane.hxx"
 #include <tools/link.hxx>
@@ -83,6 +82,4 @@ private:
 
 } // end of namespace sd::framework
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/framework/module/CenterViewFocusModule.hxx b/sd/source/ui/framework/module/CenterViewFocusModule.hxx
index ad27922c0eb3..968e8ced12ad 100644
--- a/sd/source/ui/framework/module/CenterViewFocusModule.hxx
+++ b/sd/source/ui/framework/module/CenterViewFocusModule.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_FRAMEWORK_MODULE_CENTERVIEWFOCUSMODULE_HXX
-#define INCLUDED_SD_SOURCE_UI_FRAMEWORK_MODULE_CENTERVIEWFOCUSMODULE_HXX
+#pragma once
 
 #include <MutexOwner.hxx>
 
@@ -90,6 +89,4 @@ private:
 
 } // end of namespace sd::framework
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/framework/module/ShellStackGuard.hxx b/sd/source/ui/framework/module/ShellStackGuard.hxx
index e1e3b7fd9558..20db60339f94 100644
--- a/sd/source/ui/framework/module/ShellStackGuard.hxx
+++ b/sd/source/ui/framework/module/ShellStackGuard.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_FRAMEWORK_MODULE_SHELLSTACKGUARD_HXX
-#define INCLUDED_SD_SOURCE_UI_FRAMEWORK_MODULE_SHELLSTACKGUARD_HXX
+#pragma once
 
 #include <cppuhelper/basemutex.hxx>
 
@@ -94,6 +93,4 @@ private:
 
 } // end of namespace sd::framework
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/framework/module/SlideSorterModule.hxx b/sd/source/ui/framework/module/SlideSorterModule.hxx
index ef671d264d2b..45dfa13f0252 100644
--- a/sd/source/ui/framework/module/SlideSorterModule.hxx
+++ b/sd/source/ui/framework/module/SlideSorterModule.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_FRAMEWORK_MODULE_SLIDESORTERMODULE_HXX
-#define INCLUDED_SD_SOURCE_UI_FRAMEWORK_MODULE_SLIDESORTERMODULE_HXX
+#pragma once
 
 #include <MutexOwner.hxx>
 #include <com/sun/star/drawing/framework/XConfigurationChangeListener.hpp>
@@ -97,6 +96,4 @@ private:
 
 } // end of namespace sd::framework
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/framework/module/ToolBarModule.hxx b/sd/source/ui/framework/module/ToolBarModule.hxx
index 96b2dd377802..cb1b22ca3979 100644
--- a/sd/source/ui/framework/module/ToolBarModule.hxx
+++ b/sd/source/ui/framework/module/ToolBarModule.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_FRAMEWORK_MODULE_TOOLBARMODULE_HXX
-#define INCLUDED_SD_SOURCE_UI_FRAMEWORK_MODULE_TOOLBARMODULE_HXX
+#pragma once
 
 #include <ToolBarManager.hxx>
 #include <com/sun/star/drawing/framework/XConfigurationChangeListener.hpp>
@@ -81,6 +80,4 @@ private:
 
 } // end of namespace sd::framework
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/framework/module/ViewTabBarModule.hxx b/sd/source/ui/framework/module/ViewTabBarModule.hxx
index 0de368e256ec..e7327d6c9722 100644
--- a/sd/source/ui/framework/module/ViewTabBarModule.hxx
+++ b/sd/source/ui/framework/module/ViewTabBarModule.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_FRAMEWORK_MODULE_VIEWTABBARMODULE_HXX
-#define INCLUDED_SD_SOURCE_UI_FRAMEWORK_MODULE_VIEWTABBARMODULE_HXX
+#pragma once
 
 #include <MutexOwner.hxx>
 
@@ -84,6 +83,4 @@ private:
 
 } // end of namespace sd::framework
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/AccessibleDrawDocumentView.hxx b/sd/source/ui/inc/AccessibleDrawDocumentView.hxx
index a98c092dc440..376aac51342c 100644
--- a/sd/source/ui/inc/AccessibleDrawDocumentView.hxx
+++ b/sd/source/ui/inc/AccessibleDrawDocumentView.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_ACCESSIBLEDRAWDOCUMENTVIEW_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_ACCESSIBLEDRAWDOCUMENTVIEW_HXX
+#pragma once
 
 #include "AccessibleDocumentViewBase.hxx"
 
@@ -163,6 +162,4 @@ private:
 
 } // end of namespace accessibility
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/AccessibleOutlineEditSource.hxx b/sd/source/ui/inc/AccessibleOutlineEditSource.hxx
index 08ae8efab64a..4b1a5903104a 100644
--- a/sd/source/ui/inc/AccessibleOutlineEditSource.hxx
+++ b/sd/source/ui/inc/AccessibleOutlineEditSource.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_ACCESSIBLEOUTLINEEDITSOURCE_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_ACCESSIBLEOUTLINEEDITSOURCE_HXX
+#pragma once
 
 #include <svl/SfxBroadcaster.hxx>
 #include <svl/lstner.hxx>
@@ -88,6 +87,4 @@ namespace accessibility
 
 } // end of namespace accessibility
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/AccessibleOutlineView.hxx b/sd/source/ui/inc/AccessibleOutlineView.hxx
index b7cd34d114c6..5fa1df7c505c 100644
--- a/sd/source/ui/inc/AccessibleOutlineView.hxx
+++ b/sd/source/ui/inc/AccessibleOutlineView.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_ACCESSIBLEOUTLINEVIEW_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_ACCESSIBLEOUTLINEVIEW_HXX
+#pragma once
 
 #include "AccessibleDocumentViewBase.hxx"
 #include <svx/AccessibleTextHelper.hxx>
@@ -117,6 +116,4 @@ private:
 
 } // end of namespace accessibility
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/AccessiblePageShape.hxx b/sd/source/ui/inc/AccessiblePageShape.hxx
index 9941ee4679f3..164fb96fe866 100644
--- a/sd/source/ui/inc/AccessiblePageShape.hxx
+++ b/sd/source/ui/inc/AccessiblePageShape.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_ACCESSIBLEPAGESHAPE_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_ACCESSIBLEPAGESHAPE_HXX
+#pragma once
 
 #include <svx/AccessibleShape.hxx>
 
@@ -115,6 +114,4 @@ private:
 
 } // end of namespace accessibility
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/AccessiblePresentationGraphicShape.hxx b/sd/source/ui/inc/AccessiblePresentationGraphicShape.hxx
index a523a4055577..91e573835cf5 100644
--- a/sd/source/ui/inc/AccessiblePresentationGraphicShape.hxx
+++ b/sd/source/ui/inc/AccessiblePresentationGraphicShape.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_ACCESSIBLEPRESENTATIONGRAPHICSHAPE_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_ACCESSIBLEPRESENTATIONGRAPHICSHAPE_HXX
+#pragma once
 
 #include <svx/AccessibleGraphicShape.hxx>
 
@@ -58,6 +57,4 @@ public:
 
 } // end of namespace accessibility
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx b/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx
index f3ecf6f46919..a8ac60deb45e 100644
--- a/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx
+++ b/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_ACCESSIBLEPRESENTATIONOLESHAPE_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_ACCESSIBLEPRESENTATIONOLESHAPE_HXX
+#pragma once
 
 #include <svx/AccessibleOLEShape.hxx>
 
@@ -55,6 +54,4 @@ public:
 
 } // end of namespace accessibility
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/AccessiblePresentationShape.hxx b/sd/source/ui/inc/AccessiblePresentationShape.hxx
index 004faed98284..1fd7d86b064f 100644
--- a/sd/source/ui/inc/AccessiblePresentationShape.hxx
+++ b/sd/source/ui/inc/AccessiblePresentationShape.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_ACCESSIBLEPRESENTATIONSHAPE_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_ACCESSIBLEPRESENTATIONSHAPE_HXX
+#pragma once
 
 #include <svx/AccessibleShape.hxx>
 
@@ -59,6 +58,4 @@ private:
 
 } // end of namespace accessibility
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/AccessibleSlideSorterObject.hxx b/sd/source/ui/inc/AccessibleSlideSorterObject.hxx
index 916ccd3d66cf..e21ef2143120 100644
--- a/sd/source/ui/inc/AccessibleSlideSorterObject.hxx
+++ b/sd/source/ui/inc/AccessibleSlideSorterObject.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_ACCESSIBLESLIDESORTEROBJECT_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_ACCESSIBLESLIDESORTEROBJECT_HXX
+#pragma once
 
 #include "MutexOwner.hxx"
 #include <cppuhelper/compbase.hxx>
@@ -189,6 +188,4 @@ private:
 
 } // end of namespace ::accessibility
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/AccessibleSlideSorterView.hxx b/sd/source/ui/inc/AccessibleSlideSorterView.hxx
index f19b7cd14501..2e8a4fc41ca4 100644
--- a/sd/source/ui/inc/AccessibleSlideSorterView.hxx
+++ b/sd/source/ui/inc/AccessibleSlideSorterView.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_ACCESSIBLESLIDESORTERVIEW_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_ACCESSIBLESLIDESORTERVIEW_HXX
+#pragma once
 
 #include "MutexOwner.hxx"
 #include <cppuhelper/compbase.hxx>
@@ -253,6 +252,4 @@ private:
 
 } // end of namespace ::accessibility
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/AccessibleViewForwarder.hxx b/sd/source/ui/inc/AccessibleViewForwarder.hxx
index a8f350b3f4fc..974fdbf93ca3 100644
--- a/sd/source/ui/inc/AccessibleViewForwarder.hxx
+++ b/sd/source/ui/inc/AccessibleViewForwarder.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_ACCESSIBLEVIEWFORWARDER_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_ACCESSIBLEVIEWFORWARDER_HXX
+#pragma once
 
 #include <svx/IAccessibleViewForwarder.hxx>
 
@@ -90,6 +89,4 @@ private:
 
 } // end of namespace accessibility
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/BezierObjectBar.hxx b/sd/source/ui/inc/BezierObjectBar.hxx
index 3ecff3432e0a..a030576ebb91 100644
--- a/sd/source/ui/inc/BezierObjectBar.hxx
+++ b/sd/source/ui/inc/BezierObjectBar.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_BEZIEROBJECTBAR_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_BEZIEROBJECTBAR_HXX
+#pragma once
 
 #include <sfx2/shell.hxx>
 #include <glob.hxx>
@@ -49,6 +48,4 @@ private:
 
 } // end of namespace sd
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/BreakDlg.hxx b/sd/source/ui/inc/BreakDlg.hxx
index b7aaf3da835c..ee2a8b15dc99 100644
--- a/sd/source/ui/inc/BreakDlg.hxx
+++ b/sd/source/ui/inc/BreakDlg.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_BREAKDLG_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_BREAKDLG_HXX
+#pragma once
 
 #include <sfx2/basedlgs.hxx>
 #include <sfx2/progress.hxx>
@@ -62,6 +61,4 @@ private:
 
 } // end of namespace sd
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/BulletAndPositionDlg.hxx b/sd/source/ui/inc/BulletAndPositionDlg.hxx
index 87cd14ad8370..d6f5a69c3de3 100644
--- a/sd/source/ui/inc/BulletAndPositionDlg.hxx
+++ b/sd/source/ui/inc/BulletAndPositionDlg.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_BULLETANDPOSITIONDIALOG_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_BULLETANDPOSITIONDIALOG_HXX
+#pragma once
 
 #include <vector>
 #include <memory>
@@ -159,6 +158,4 @@ public:
     void SetModified(bool bRepaint = true);
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/Client.hxx b/sd/source/ui/inc/Client.hxx
index 34d6b83cd322..6b999068e5dc 100644
--- a/sd/source/ui/inc/Client.hxx
+++ b/sd/source/ui/inc/Client.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_CLIENT_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_CLIENT_HXX
+#pragma once
 
 #include <sfx2/ipclient.hxx>
 class SdrOle2Obj;
@@ -43,6 +42,4 @@ public:
 
 } // end of namespace sd
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/ClientView.hxx b/sd/source/ui/inc/ClientView.hxx
index 677f5a811210..7a52053bab47 100644
--- a/sd/source/ui/inc/ClientView.hxx
+++ b/sd/source/ui/inc/ClientView.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_CLIENTVIEW_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_CLIENTVIEW_HXX
+#pragma once
 
 #include "drawview.hxx"
 
@@ -41,6 +40,4 @@ public:
 
 } // end of namespace sd
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/CustomAnimationList.hxx b/sd/source/ui/inc/CustomAnimationList.hxx
index 56cfafcf5176..ca9673fd7772 100644
--- a/sd/source/ui/inc/CustomAnimationList.hxx
+++ b/sd/source/ui/inc/CustomAnimationList.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_ANIMATIONS_CUSTOMANIMATIONLIST_HXX
-#define INCLUDED_SD_SOURCE_UI_ANIMATIONS_CUSTOMANIMATIONLIST_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -167,6 +166,4 @@ OUString getShapeDescription( const css::uno::Reference< css::drawing::XShape >&
 
 }
 
-#endif // INCLUDED_SD_SOURCE_UI_ANIMATIONS_CUSTOMANIMATIONLIST_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/CustomAnimationPane.hxx b/sd/source/ui/inc/CustomAnimationPane.hxx
index edb1a0b634dc..ff6fa75609e1 100644
--- a/sd/source/ui/inc/CustomAnimationPane.hxx
+++ b/sd/source/ui/inc/CustomAnimationPane.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_ANIMATIONS_CUSTOMANIMATIONPANE_HXX
-#define INCLUDED_SD_SOURCE_UI_ANIMATIONS_CUSTOMANIMATIONPANE_HXX
+#pragma once
 
 #include <sfx2/sidebar/ILayoutableWindow.hxx>
 #include <sfx2/sidebar/PanelLayout.hxx>
@@ -176,6 +175,4 @@ void fillRepeatComboBox(weld::ComboBox& rBox);
 
 }
 
-#endif // INCLUDED_SD_SOURCE_UI_ANIMATIONS_CUSTOMANIMATIONPANE_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/DocumentRenderer.hxx b/sd/source/ui/inc/DocumentRenderer.hxx
index f0ac5669d218..cb87b03bd22f 100644
--- a/sd/source/ui/inc/DocumentRenderer.hxx
+++ b/sd/source/ui/inc/DocumentRenderer.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_DOCUMENTRENDERER_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_DOCUMENTRENDERER_HXX
+#pragma once
 
 #include <com/sun/star/view/XRenderable.hpp>
 #include <cppuhelper/compbase.hxx>
@@ -63,6 +62,4 @@ private:
 
 } // end of namespace sd
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/DrawController.hxx b/sd/source/ui/inc/DrawController.hxx
index 5adf9fa50206..fe8d52466ba9 100644
--- a/sd/source/ui/inc/DrawController.hxx
+++ b/sd/source/ui/inc/DrawController.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_DRAWCONTROLLER_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_DRAWCONTROLLER_HXX
+#pragma once
 
 #include <cppuhelper/propshlp.hxx>
 #include <sfx2/sfxbasecontroller.hxx>
@@ -325,6 +324,4 @@ private:
 
 } // end of namespace sd
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/DrawDocShell.hxx b/sd/source/ui/inc/DrawDocShell.hxx
index 9634c3d6c97f..90c9fba80d62 100644
--- a/sd/source/ui/inc/DrawDocShell.hxx
+++ b/sd/source/ui/inc/DrawDocShell.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_DRAWDOCSHELL_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_DRAWDOCSHELL_HXX
+#pragma once
 
 #include <o3tl/span.hxx>
 #include <sfx2/docfac.hxx>
@@ -231,6 +230,4 @@ typedef ::tools::SvRef<DrawDocShell> DrawDocShellRef;
 
 } // end of namespace sd
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/DrawSubController.hxx b/sd/source/ui/inc/DrawSubController.hxx
index 1f13425969a8..d748d6378434 100644
--- a/sd/source/ui/inc/DrawSubController.hxx
+++ b/sd/source/ui/inc/DrawSubController.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_DRAWSUBCONTROLLER_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_DRAWSUBCONTROLLER_HXX
+#pragma once
 
 #include <com/sun/star/drawing/XDrawSubController.hpp>
 #include <com/sun/star/lang/XServiceInfo.hpp>
@@ -44,6 +43,4 @@ namespace sd {
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/DrawViewShell.hxx b/sd/source/ui/inc/DrawViewShell.hxx
index 384600f94771..7f8e9b576529 100644
--- a/sd/source/ui/inc/DrawViewShell.hxx
+++ b/sd/source/ui/inc/DrawViewShell.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_DRAWVIEWSHELL_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_DRAWVIEWSHELL_HXX
+#pragma once
 
 #include <memory>
 #include "ViewShell.hxx"
@@ -509,6 +508,4 @@ private:
 
 } // end of namespace sd
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/EventMultiplexer.hxx b/sd/source/ui/inc/EventMultiplexer.hxx
index 01bc543f9681..d6d79d11b279 100644
--- a/sd/source/ui/inc/EventMultiplexer.hxx
+++ b/sd/source/ui/inc/EventMultiplexer.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_EVENTMULTIPLEXER_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_EVENTMULTIPLEXER_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -170,6 +169,4 @@ private:
 
 } // end of namespace ::sd::tools
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/FormShellManager.hxx b/sd/source/ui/inc/FormShellManager.hxx
index 341c81527ffd..b2c03b3deefb 100644
--- a/sd/source/ui/inc/FormShellManager.hxx
+++ b/sd/source/ui/inc/FormShellManager.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_FORMSHELLMANAGER_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_FORMSHELLMANAGER_HXX
+#pragma once
 
 #include "ViewShellManager.hxx"
 
@@ -137,6 +136,4 @@ private:
 
 } // end of namespace sd
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/FrameView.hxx b/sd/source/ui/inc/FrameView.hxx
index 0f45db761a74..8226746a3807 100644
--- a/sd/source/ui/inc/FrameView.hxx
+++ b/sd/source/ui/inc/FrameView.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_FRAMEVIEW_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_FRAMEVIEW_HXX
+#pragma once
 
 #include "ViewShell.hxx"
 #include <svx/svdview.hxx>
@@ -211,6 +210,4 @@ private:
 
 } // end of namespace sd
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/GraphicDocShell.hxx b/sd/source/ui/inc/GraphicDocShell.hxx
index d215d0fccc8e..40df981cffab 100644
--- a/sd/source/ui/inc/GraphicDocShell.hxx
+++ b/sd/source/ui/inc/GraphicDocShell.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_GRAPHICDOCSHELL_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_GRAPHICDOCSHELL_HXX
+#pragma once
 
 #include <sfx2/docfac.hxx>
 #include <sfx2/objsh.hxx>
@@ -52,6 +51,4 @@ public:
 
 } // end of namespace sd
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/GraphicObjectBar.hxx b/sd/source/ui/inc/GraphicObjectBar.hxx
index 6d4906fc3de9..7d53a86d2bdf 100644
--- a/sd/source/ui/inc/GraphicObjectBar.hxx
+++ b/sd/source/ui/inc/GraphicObjectBar.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_GRAPHICOBJECTBAR_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_GRAPHICOBJECTBAR_HXX
+#pragma once
 
 #include <sfx2/shell.hxx>
 #include <glob.hxx>
@@ -52,6 +51,4 @@ private:
 
 } // end of namespace sd
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/GraphicViewShell.hxx b/sd/source/ui/inc/GraphicViewShell.hxx
index 65fb74443294..d730c2dd98cf 100644
--- a/sd/source/ui/inc/GraphicViewShell.hxx
+++ b/sd/source/ui/inc/GraphicViewShell.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_GRAPHICVIEWSHELL_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_GRAPHICVIEWSHELL_HXX
+#pragma once
 
 #include "DrawViewShell.hxx"
 
@@ -70,6 +69,4 @@ private:
 
 } // end of namespace sd
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/GraphicViewShellBase.hxx b/sd/source/ui/inc/GraphicViewShellBase.hxx
index 37e76b40dae0..89a96cf51887 100644
--- a/sd/source/ui/inc/GraphicViewShellBase.hxx
+++ b/sd/source/ui/inc/GraphicViewShellBase.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_GRAPHICVIEWSHELLBASE_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_GRAPHICVIEWSHELLBASE_HXX
+#pragma once
 
 #include "ViewShellBase.hxx"
 
@@ -48,6 +47,4 @@ protected:
 
 } // end of namespace sd
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/ImpressViewShellBase.hxx b/sd/source/ui/inc/ImpressViewShellBase.hxx
index cd964c2aaba6..80070e7c8022 100644
--- a/sd/source/ui/inc/ImpressViewShellBase.hxx
+++ b/sd/source/ui/inc/ImpressViewShellBase.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_IMPRESSVIEWSHELLBASE_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_IMPRESSVIEWSHELLBASE_HXX
+#pragma once
 
 #include "ViewShellBase.hxx"
 
@@ -48,6 +47,4 @@ protected:
 
 } // end of namespace sd
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/LayerTabBar.hxx b/sd/source/ui/inc/LayerTabBar.hxx
index 50e565166118..297a9302d5d9 100644
--- a/sd/source/ui/inc/LayerTabBar.hxx
+++ b/sd/source/ui/inc/LayerTabBar.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_LAYERTABBAR_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_LAYERTABBAR_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -106,6 +105,4 @@ private:
 
 } // end of namespace sd
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/MasterPageObserver.hxx b/sd/source/ui/inc/MasterPageObserver.hxx
index c7c121e0818e..96f4a374101b 100644
--- a/sd/source/ui/inc/MasterPageObserver.hxx
+++ b/sd/source/ui/inc/MasterPageObserver.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_MASTERPAGEOBSERVER_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_MASTERPAGEOBSERVER_HXX
+#pragma once
 
 #include <rtl/ustring.hxx>
 #include <tools/link.hxx>
@@ -117,6 +116,4 @@ public:
 
 } // end of namespace sd
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/MediaObjectBar.hxx b/sd/source/ui/inc/MediaObjectBar.hxx
index ef0b12964a53..b7c56ef00f26 100644
--- a/sd/source/ui/inc/MediaObjectBar.hxx
+++ b/sd/source/ui/inc/MediaObjectBar.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_MEDIAOBJECTBAR_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_MEDIAOBJECTBAR_HXX
+#pragma once
 
 #include <sfx2/shell.hxx>
 #include <glob.hxx>
@@ -54,6 +53,4 @@ private:
 
 } // end of namespace sd
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/MutexOwner.hxx b/sd/source/ui/inc/MutexOwner.hxx
index f941798c5d8f..ce68902deeef 100644
--- a/sd/source/ui/inc/MutexOwner.hxx
+++ b/sd/source/ui/inc/MutexOwner.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_MUTEXOWNER_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_MUTEXOWNER_HXX
+#pragma once
 
 #include <osl/mutex.hxx>
 
@@ -36,6 +35,4 @@ protected:
 
 } // end of namespace ::sd
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/OutlineBulletDlg.hxx b/sd/source/ui/inc/OutlineBulletDlg.hxx
index b7d8555c48fd..512d45f9a103 100644
--- a/sd/source/ui/inc/OutlineBulletDlg.hxx
+++ b/sd/source/ui/inc/OutlineBulletDlg.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_OUTLINEBULLETDLG_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_OUTLINEBULLETDLG_HXX
+#pragma once
 
 #include <sfx2/tabdlg.hxx>
 
@@ -49,6 +48,4 @@ private:
 
 } // end of namespace sd
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/OutlineView.hxx b/sd/source/ui/inc/OutlineView.hxx
index ec1e7fb9ec81..5fbcf3476337 100644
--- a/sd/source/ui/inc/OutlineView.hxx
+++ b/sd/source/ui/inc/OutlineView.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SD_SOURCE_UI_INC_OUTLINEVIEW_HXX
-#define INCLUDED_SD_SOURCE_UI_INC_OUTLINEVIEW_HXX
+#pragma once
 
 #include <memory>
 #include <vcl/image.hxx>
@@ -227,6 +226,4 @@ private:
 
 } // end of namespace sd
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/OutlineViewShell.hxx b/sd/source/ui/inc/OutlineViewShell.hxx
index b9825118866b..6bc230189127 100644
--- a/sd/source/ui/inc/OutlineViewShell.hxx
+++ b/sd/source/ui/inc/OutlineViewShell.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 

... etc. - the rest is truncated


More information about the Libreoffice-commits mailing list