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

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Sat May 9 18:03:17 UTC 2020


 sd/inc/Annotation.hxx                                                           |    6 +-
 sd/inc/AnnotationEnumeration.hxx                                                |    4 -
 sd/inc/TransitionPreset.hxx                                                     |    4 -
 sd/inc/createpresentation.hxx                                                   |    4 -
 sd/inc/createunocustomshow.hxx                                                  |    2 
 sd/inc/createunopageimpl.hxx                                                    |    2 
 sd/inc/drawdoc.hxx                                                              |    4 -
 sd/inc/sdmod.hxx                                                                |    4 -
 sd/inc/sdpage.hxx                                                               |    4 -
 sd/source/filter/eppt/eppt.hxx                                                  |   14 ++---
 sd/source/filter/eppt/epptbase.hxx                                              |   22 +++----
 sd/source/filter/eppt/pptexanimations.hxx                                       |   10 +--
 sd/source/filter/eppt/text.hxx                                                  |   12 ++--
 sd/source/filter/html/htmlex.hxx                                                |    6 +-
 sd/source/filter/ppt/pptinanimations.hxx                                        |    4 -
 sd/source/ui/animations/CustomAnimationList.hxx                                 |    2 
 sd/source/ui/animations/CustomAnimationPane.hxx                                 |   15 +----
 sd/source/ui/animations/motionpathtag.hxx                                       |    2 
 sd/source/ui/annotations/annotationmanagerimpl.hxx                              |    6 +-
 sd/source/ui/annotations/annotationtag.hxx                                      |    2 
 sd/source/ui/annotations/annotationwindow.hxx                                   |    2 
 sd/source/ui/dlg/PhotoAlbumDialog.hxx                                           |    6 +-
 sd/source/ui/framework/configuration/ChangeRequestQueue.hxx                     |    6 +-
 sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx            |    8 +-
 sd/source/ui/framework/configuration/ConfigurationClassifier.hxx                |    8 +-
 sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx     |   14 ++---
 sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx |   12 ++--
 sd/source/ui/framework/configuration/ConfigurationTracer.hxx                    |   10 +--
 sd/source/ui/framework/configuration/ConfigurationUpdater.hxx                   |   10 +--
 sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx      |    8 +-
 sd/source/ui/framework/configuration/ResourceFactoryManager.hxx                 |   10 +--
 sd/source/ui/framework/configuration/UpdateRequest.hxx                          |    6 +-
 sd/source/ui/framework/factories/BasicPaneFactory.hxx                           |    8 +-
 sd/source/ui/framework/factories/BasicToolBarFactory.hxx                        |   10 +--
 sd/source/ui/framework/factories/BasicViewFactory.hxx                           |    8 +-
 sd/source/ui/framework/factories/ChildWindowPane.hxx                            |    8 +-
 sd/source/ui/framework/factories/FrameWindowPane.hxx                            |    6 +-
 sd/source/ui/framework/factories/FullScreenPane.hxx                             |    6 +-
 sd/source/ui/framework/module/CenterViewFocusModule.hxx                         |    8 +-
 sd/source/ui/framework/module/ShellStackGuard.hxx                               |    8 +-
 sd/source/ui/framework/module/SlideSorterModule.hxx                             |   12 ++--
 sd/source/ui/framework/module/ToolBarModule.hxx                                 |    8 +-
 sd/source/ui/framework/module/ViewTabBarModule.hxx                              |   10 +--
 sd/source/ui/inc/AccessibleDocumentViewBase.hxx                                 |    6 +-
 sd/source/ui/inc/AccessiblePageShape.hxx                                        |    4 -
 sd/source/ui/inc/AccessibleSlideSorterObject.hxx                                |    5 -
 sd/source/ui/inc/AccessibleSlideSorterView.hxx                                  |    4 -
 sd/source/ui/inc/DrawController.hxx                                             |    8 +-
 sd/source/ui/inc/DrawViewShell.hxx                                              |    6 +-
 sd/source/ui/inc/EventMultiplexer.hxx                                           |    4 -
 sd/source/ui/inc/FormShellManager.hxx                                           |    2 
 sd/source/ui/inc/OutlineView.hxx                                                |    6 +-
 sd/source/ui/inc/RemoteServer.hxx                                               |    4 -
 sd/source/ui/inc/SdUnoDrawView.hxx                                              |    5 -
 sd/source/ui/inc/SdUnoSlideView.hxx                                             |    6 --
 sd/source/ui/inc/SlideSorter.hxx                                                |   28 ++++------
 sd/source/ui/inc/SlideSorterViewShell.hxx                                       |    8 +-
 sd/source/ui/inc/SlideTransitionPane.hxx                                        |    6 +-
 sd/source/ui/inc/TemplateScanner.hxx                                            |   14 ++---
 sd/source/ui/inc/ToolBarManager.hxx                                             |    5 -
 sd/source/ui/inc/ViewShell.hxx                                                  |    2 
 sd/source/ui/inc/ViewShellBase.hxx                                              |    4 -
 sd/source/ui/inc/ViewTabBar.hxx                                                 |    8 +-
 sd/source/ui/inc/createtableobjectbar.hxx                                       |    4 -
 sd/source/ui/inc/diactrl.hxx                                                    |    2 
 sd/source/ui/inc/facreg.hxx                                                     |    4 -
 sd/source/ui/inc/framework/Configuration.hxx                                    |    8 +-
 sd/source/ui/inc/framework/ConfigurationController.hxx                          |   12 ++--
 sd/source/ui/inc/framework/DrawModule.hxx                                       |    8 +-
 sd/source/ui/inc/framework/FrameworkHelper.hxx                                  |   12 ++--
 sd/source/ui/inc/framework/ImpressModule.hxx                                    |    8 +-
 sd/source/ui/inc/framework/ModuleController.hxx                                 |    8 +-
 sd/source/ui/inc/framework/Pane.hxx                                             |    4 -
 sd/source/ui/inc/framework/PresentationFactory.hxx                              |    6 +-
 sd/source/ui/inc/framework/PresentationModule.hxx                               |    8 +-
 sd/source/ui/inc/framework/ResourceId.hxx                                       |    8 +-
 sd/source/ui/inc/framework/ViewShellWrapper.hxx                                 |    8 +-
 sd/source/ui/inc/fusel.hxx                                                      |    2 
 sd/source/ui/inc/pubdlg.hxx                                                     |    4 -
 sd/source/ui/inc/registerinterfaces.hxx                                         |    4 -
 sd/source/ui/inc/slideshow.hxx                                                  |    6 --
 sd/source/ui/inc/tools/AsynchronousCall.hxx                                     |    4 -
 sd/source/ui/inc/tools/AsynchronousTask.hxx                                     |    4 -
 sd/source/ui/inc/tools/ConfigurationAccess.hxx                                  |   12 ++--
 sd/source/ui/inc/tools/IdleDetection.hxx                                        |    8 +-
 sd/source/ui/inc/tools/PropertySet.hxx                                          |    4 -
 sd/source/ui/inc/tools/SdGlobalResourceContainer.hxx                            |    4 -
 sd/source/ui/inc/tools/SlotStateListener.hxx                                    |   12 ++--
 sd/source/ui/inc/tools/TimerBasedTaskExecution.hxx                              |    4 -
 sd/source/ui/inc/unomodel.hxx                                                   |    6 +-
 sd/source/ui/inc/unosrch.hxx                                                    |    8 +-
 sd/source/ui/inc/view/viewoverlaymanager.hxx                                    |    2 
 sd/source/ui/presenter/CanvasUpdateRequester.hxx                                |    6 +-
 sd/source/ui/presenter/PresenterCanvas.hxx                                      |   10 +--
 sd/source/ui/presenter/PresenterHelper.hxx                                      |    6 +-
 sd/source/ui/presenter/PresenterPreviewCache.hxx                                |    6 +-
 sd/source/ui/presenter/PresenterTextView.hxx                                    |    4 -
 sd/source/ui/presenter/SlideRenderer.hxx                                        |    6 +-
 sd/source/ui/remotecontrol/Communicator.hxx                                     |    4 -
 sd/source/ui/remotecontrol/ImagePreparer.hxx                                    |    2 
 sd/source/ui/remotecontrol/Listener.hxx                                         |    2 
 sd/source/ui/sidebar/AllMasterPagesSelector.hxx                                 |    4 -
 sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx                             |    6 +-
 sd/source/ui/sidebar/CustomAnimationPanel.hxx                                   |    6 +-
 sd/source/ui/sidebar/DocumentHelper.hxx                                         |    4 -
 sd/source/ui/sidebar/IDisposable.hxx                                            |    4 -
 sd/source/ui/sidebar/ISidebarReceiver.hxx                                       |    4 -
 sd/source/ui/sidebar/LayoutMenu.hxx                                             |   12 +---
 sd/source/ui/sidebar/MasterPageContainer.hxx                                    |    4 -
 sd/source/ui/sidebar/MasterPageContainerFiller.hxx                              |    4 -
 sd/source/ui/sidebar/MasterPageContainerProviders.hxx                           |    4 -
 sd/source/ui/sidebar/MasterPageContainerQueue.hxx                               |    4 -
 sd/source/ui/sidebar/MasterPageDescriptor.hxx                                   |    4 -
 sd/source/ui/sidebar/MasterPagesSelector.hxx                                    |    6 +-
 sd/source/ui/sidebar/NavigatorWrapper.hxx                                       |    4 -
 sd/source/ui/sidebar/PageMarginUtils.hxx                                        |    4 -
 sd/source/ui/sidebar/PanelBase.hxx                                              |    4 -
 sd/source/ui/sidebar/PanelFactory.hxx                                           |    4 -
 sd/source/ui/sidebar/PreviewValueSet.hxx                                        |    4 -
 sd/source/ui/sidebar/RecentMasterPagesSelector.hxx                              |    4 -
 sd/source/ui/sidebar/RecentlyUsedMasterPages.hxx                                |    4 -
 sd/source/ui/sidebar/SlideBackground.hxx                                        |    6 +-
 sd/source/ui/sidebar/SlideTransitionPanel.hxx                                   |    6 +-
 sd/source/ui/sidebar/TableDesignPanel.hxx                                       |    4 -
 sd/source/ui/slideshow/PaneHider.hxx                                            |    4 -
 sd/source/ui/slideshow/slideshowimpl.hxx                                        |    4 -
 sd/source/ui/slideshow/slideshowviewimpl.hxx                                    |   10 +--
 sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx                               |    4 -
 sd/source/ui/slidesorter/cache/SlsBitmapCompressor.hxx                          |    4 -
 sd/source/ui/slidesorter/cache/SlsBitmapFactory.hxx                             |    4 -
 sd/source/ui/slidesorter/cache/SlsCacheCompactor.hxx                            |    4 -
 sd/source/ui/slidesorter/cache/SlsCacheConfiguration.hxx                        |    6 +-
 sd/source/ui/slidesorter/cache/SlsGenericPageCache.hxx                          |    4 -
 sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx                            |    4 -
 sd/source/ui/slidesorter/cache/SlsRequestFactory.hxx                            |    4 -
 sd/source/ui/slidesorter/cache/SlsRequestPriorityClass.hxx                      |    4 -
 sd/source/ui/slidesorter/cache/SlsRequestQueue.hxx                              |    4 -
 sd/source/ui/slidesorter/controller/SlsDragAndDropContext.hxx                   |    8 +-
 sd/source/ui/slidesorter/controller/SlsListener.hxx                             |   13 +---
 sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx                          |    6 +-
 sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx                             |    4 -
 sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx                      |    4 -
 sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx               |   22 ++-----
 sd/source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx                |    4 -
 sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx                         |    6 +-
 sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx                        |    8 +-
 sd/source/ui/slidesorter/inc/controller/SlsCurrentSlideManager.hxx              |    8 +-
 sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx                     |    8 +-
 sd/source/ui/slidesorter/inc/controller/SlsInsertionIndicatorHandler.hxx        |   10 +--
 sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx                     |   13 +---
 sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx                       |    4 -
 sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx                 |    6 +-
 sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx                |    8 +-
 sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx                 |    8 +-
 sd/source/ui/slidesorter/inc/controller/SlsSelectionObserver.hxx                |    8 +-
 sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx                      |    8 +-
 sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx                 |    8 +-
 sd/source/ui/slidesorter/inc/controller/SlsVisibleAreaManager.hxx               |    6 +-
 sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx                         |   12 +---
 sd/source/ui/slidesorter/inc/model/SlsEnumeration.hxx                           |    4 -
 sd/source/ui/slidesorter/inc/model/SlsPageDescriptor.hxx                        |    6 +-
 sd/source/ui/slidesorter/inc/model/SlsPageEnumeration.hxx                       |    4 -
 sd/source/ui/slidesorter/inc/model/SlsPageEnumerationProvider.hxx               |    4 -
 sd/source/ui/slidesorter/inc/model/SlsSharedPageDescriptor.hxx                  |    4 -
 sd/source/ui/slidesorter/inc/model/SlsVisualState.hxx                           |    4 -
 sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx                           |   17 +-----
 sd/source/ui/slidesorter/inc/view/SlsILayerPainter.hxx                          |    4 -
 sd/source/ui/slidesorter/inc/view/SlsInsertAnimator.hxx                         |    4 -
 sd/source/ui/slidesorter/inc/view/SlsInsertionIndicatorOverlay.hxx              |    8 +-
 sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx                               |   10 +--
 sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx                     |    4 -
 sd/source/ui/slidesorter/inc/view/SlsPageObjectPainter.hxx                      |   11 +--
 sd/source/ui/slidesorter/inc/view/SlsTheme.hxx                                  |    8 +-
 sd/source/ui/slidesorter/inc/view/SlsToolTip.hxx                                |    6 +-
 sd/source/ui/slidesorter/shell/SlideSorterService.hxx                           |    6 +-
 sd/source/ui/slidesorter/view/SlsFramePainter.hxx                               |    4 -
 sd/source/ui/slidesorter/view/SlsLayeredDevice.hxx                              |    4 -
 sd/source/ui/slidesorter/view/SlsViewCacheContext.hxx                           |   13 +---
 sd/source/ui/table/TableDesignPane.hxx                                          |    6 +-
 sd/source/ui/table/tableobjectbar.hxx                                           |    4 -
 sd/source/ui/unoidl/UnoDocumentSettings.hxx                                     |    2 
 sd/source/ui/unoidl/unomodule.hxx                                               |    2 
 sd/source/ui/unoidl/unoobj.hxx                                                  |    2 
 sd/source/ui/view/ViewShellBase.cxx                                             |    3 -
 sd/workben/custompanel/ctp_panel.cxx                                            |    2 
 sd/workben/custompanel/ctp_panel.hxx                                            |    2 
 sw/inc/AnnotationWin.hxx                                                        |   16 ++---
 sw/inc/IDocumentFieldsAccess.hxx                                                |    2 
 sw/inc/IDocumentLinksAdministration.hxx                                         |    2 
 sw/inc/IDocumentMarkAccess.hxx                                                  |    4 -
 sw/inc/IDocumentSettingAccess.hxx                                               |    2 
 sw/inc/IMark.hxx                                                                |    4 -
 sw/inc/PostItMgr.hxx                                                            |    8 --
 sw/inc/SidebarWindowsTypes.hxx                                                  |    4 -
 sw/inc/SwAppletImpl.hxx                                                         |    2 
 sw/inc/UndoParagraphSignature.hxx                                               |    4 -
 sw/inc/accmap.hxx                                                               |    2 
 sw/inc/breakit.hxx                                                              |    4 -
 sw/inc/checkit.hxx                                                              |    2 
 sw/inc/crsrsh.hxx                                                               |    8 --
 sw/inc/dbmgr.hxx                                                                |    4 -
 sw/inc/dlelstnr.hxx                                                             |    4 -
 sw/inc/doc.hxx                                                                  |   22 +++----
 sw/inc/docsh.hxx                                                                |    6 +-
 sw/inc/editsh.hxx                                                               |    8 +-
 sw/inc/fesh.hxx                                                                 |    2 
 sw/inc/finalthreadmanager.hxx                                                   |    2 
 sw/inc/fldbas.hxx                                                               |    4 -
 sw/inc/fmtfld.hxx                                                               |    2 
 sw/inc/fmtftn.hxx                                                               |    4 -
 sw/inc/fmtmeta.hxx                                                              |    4 -
 sw/inc/fmtrfmrk.hxx                                                             |    4 -
 sw/inc/format.hxx                                                               |    4 -
 sw/inc/iodetect.hxx                                                             |    4 -
 sw/inc/ndtxt.hxx                                                                |    6 +-
 sw/inc/node.hxx                                                                 |    4 -
 sw/inc/postithelper.hxx                                                         |    4 -
 sw/inc/proofreadingiterator.hxx                                                 |    8 +-
 sw/inc/rdfhelper.hxx                                                            |    4 -
 sw/inc/section.hxx                                                              |    5 -
 sw/inc/shellio.hxx                                                              |    2 
 sw/inc/splargs.hxx                                                              |    2 
 sw/inc/swabstdlg.hxx                                                            |    6 +-
 sw/inc/swacorr.hxx                                                              |    2 
 sw/inc/swmodule.hxx                                                             |   10 +--
 sw/inc/swserv.hxx                                                               |    2 
 sw/inc/swtypes.hxx                                                              |    4 -
 sw/inc/swunohelper.hxx                                                          |    6 --
 sw/inc/tox.hxx                                                                  |    5 -
 sw/inc/toxwrap.hxx                                                              |    7 --
 sw/inc/txtannotationfld.hxx                                                     |    2 
 sw/inc/unochart.hxx                                                             |    2 
 sw/inc/unocoll.hxx                                                              |    4 -
 sw/inc/unocrsrhelper.hxx                                                        |    6 +-
 sw/inc/unoframe.hxx                                                             |    2 
 sw/inc/unoredlines.hxx                                                          |    7 --
 sw/inc/unosett.hxx                                                              |    2 
 sw/inc/unostyle.hxx                                                             |    2 
 sw/inc/unotext.hxx                                                              |    4 -
 sw/inc/unotxdoc.hxx                                                             |   10 +--
 sw/inc/view.hxx                                                                 |    6 --
 sw/inc/viewsh.hxx                                                               |    4 -
 sw/inc/viscrs.hxx                                                               |    4 -
 sw/source/core/access/accfrmobj.hxx                                             |    4 -
 sw/source/core/access/accpara.hxx                                               |    4 -
 sw/source/core/access/accportions.hxx                                           |    4 -
 sw/source/core/inc/annotationmark.hxx                                           |    6 +-
 sw/source/core/inc/frame.hxx                                                    |    4 -
 sw/source/core/inc/frmtool.hxx                                                  |    2 
 sw/source/core/inc/mvsave.hxx                                                   |    4 -
 sw/source/core/inc/txtfrm.hxx                                                   |    4 -
 sw/source/core/inc/unoflatpara.hxx                                              |   10 ---
 sw/source/core/inc/unofreg.hxx                                                  |    4 -
 sw/source/core/inc/unotextmarkup.hxx                                            |   10 ---
 sw/source/core/inc/viewimp.hxx                                                  |    4 -
 sw/source/core/text/porfld.hxx                                                  |    4 -
 sw/source/filter/ww8/docxattributeoutput.hxx                                    |    2 
 sw/source/filter/ww8/docxexport.hxx                                             |    4 -
 sw/source/filter/ww8/wrtww8.hxx                                                 |   16 +----
 sw/source/filter/ww8/ww8par.hxx                                                 |    4 -
 sw/source/filter/xml/XMLRedlineImportHelper.hxx                                 |    4 -
 sw/source/filter/xml/wrtxml.hxx                                                 |    4 -
 sw/source/filter/xml/xmlbrshi.hxx                                               |    4 -
 sw/source/filter/xml/xmltbli.hxx                                                |    4 -
 sw/source/filter/xml/xmltexte.hxx                                               |    4 -
 sw/source/ui/dbui/addresslistdialog.hxx                                         |    4 -
 sw/source/ui/dbui/dbtablepreviewdialog.hxx                                      |    4 -
 sw/source/ui/dbui/mmlayoutpage.hxx                                              |    2 
 sw/source/ui/dbui/selectdbtabledialog.hxx                                       |    6 --
 sw/source/ui/fldui/flddinf.hxx                                                  |    4 -
 sw/source/ui/inc/mmresultdialogs.hxx                                            |    6 --
 sw/source/ui/vba/service.hxx                                                    |    2 
 sw/source/uibase/docvw/AnchorOverlayObject.hxx                                  |    4 -
 sw/source/uibase/docvw/AnnotationMenuButton.hxx                                 |    8 +-
 sw/source/uibase/docvw/ShadowOverlayObject.hxx                                  |    4 -
 sw/source/uibase/docvw/SidebarTxtControl.hxx                                    |    8 +-
 sw/source/uibase/docvw/SidebarTxtControlAcc.hxx                                 |    4 -
 sw/source/uibase/docvw/SidebarWinAcc.hxx                                        |    8 +-
 sw/source/uibase/docvw/frmsidebarwincontainer.hxx                               |    8 +-
 sw/source/uibase/inc/SidebarWindowsConsts.hxx                                   |    4 -
 sw/source/uibase/inc/SwXFilterOptions.hxx                                       |    4 -
 sw/source/uibase/inc/dbinsdlg.hxx                                               |   12 ++--
 sw/source/uibase/inc/fldmgr.hxx                                                 |    4 -
 sw/source/uibase/inc/mailmergehelper.hxx                                        |    4 -
 sw/source/uibase/inc/mailmrge.hxx                                               |    4 -
 sw/source/uibase/inc/mmconfigitem.hxx                                           |    6 +-
 sw/source/uibase/inc/srcedtw.hxx                                                |    5 -
 sw/source/uibase/inc/swuicnttab.hxx                                             |    4 -
 sw/source/uibase/inc/tablemgr.hxx                                               |   11 +--
 sw/source/uibase/inc/uivwimp.hxx                                                |    4 -
 sw/source/uibase/inc/unomailmerge.hxx                                           |    4 -
 sw/source/uibase/sidebar/PageColumnControl.hxx                                  |    4 -
 sw/source/uibase/sidebar/PageFooterPanel.hxx                                    |    4 -
 sw/source/uibase/sidebar/PageFormatPanel.hxx                                    |    4 -
 sw/source/uibase/sidebar/PageHeaderPanel.hxx                                    |    4 -
 sw/source/uibase/sidebar/PageMarginControl.hxx                                  |    4 -
 sw/source/uibase/sidebar/PageMarginUtils.hxx                                    |    4 -
 sw/source/uibase/sidebar/PageOrientationControl.hxx                             |    4 -
 sw/source/uibase/sidebar/PageSizeControl.hxx                                    |    9 +--
 sw/source/uibase/sidebar/PageStylesPanel.hxx                                    |    4 -
 sw/source/uibase/sidebar/StylePresetsPanel.hxx                                  |    4 -
 sw/source/uibase/sidebar/ThemePanel.hxx                                         |    4 -
 sw/source/uibase/sidebar/WrapPropertyPanel.hxx                                  |    4 -
 303 files changed, 793 insertions(+), 964 deletions(-)

New commits:
commit 01d0032fa306c596aaa44c5b35d69db6d90a65e6
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Sat May 9 15:54:11 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat May 9 20:02:48 2020 +0200

    compact namespace in sw
    
    Change-Id: Ie2c3e3f95a687b12b89bcfc5cad44fb7a1d4568f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93862
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sw/inc/AnnotationWin.hxx b/sw/inc/AnnotationWin.hxx
index 4d920621405e..50d2eb010d6a 100644
--- a/sw/inc/AnnotationWin.hxx
+++ b/sw/inc/AnnotationWin.hxx
@@ -43,18 +43,15 @@ class Edit;
 class MenuButton;
 class SwFrame;
 class SvxLanguageItem;
-
-namespace sw { namespace overlay {
-    class OverlayRanges;
-}}
-
-namespace sw { namespace sidebarwindows {
+namespace sw::overlay { class OverlayRanges; }
+namespace sw::sidebarwindows {
     class SidebarTextControl;
     class AnchorOverlayObject;
     class ShadowOverlayObject;
-}}
+}
 
-namespace sw { namespace annotation {
+
+namespace sw::annotation {
 
 class SAL_DLLPUBLIC_RTTI SwAnnotationWin : public vcl::Window
 {
@@ -268,7 +265,8 @@ class SAL_DLLPUBLIC_RTTI SwAnnotationWin : public vcl::Window
         VclPtr<PopupMenu>    mpButtonPopup;
 };
 
-} } // end of namespace sw::annotation
+} // end of namespace sw::annotation
+
 #endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/inc/IDocumentFieldsAccess.hxx b/sw/inc/IDocumentFieldsAccess.hxx
index 00ceff6fcc2a..2a2e8935e698 100644
--- a/sw/inc/IDocumentFieldsAccess.hxx
+++ b/sw/inc/IDocumentFieldsAccess.hxx
@@ -43,7 +43,7 @@ class IDocumentRedlineAccess;
 
 namespace rtl { class OUString; }
 using rtl::OUString;
-namespace com { namespace sun { namespace star { namespace uno { class Any; } } } }
+namespace com::sun::star::uno { class Any; }
 
  /** Document fields related interfaces
  */
diff --git a/sw/inc/IDocumentLinksAdministration.hxx b/sw/inc/IDocumentLinksAdministration.hxx
index 71302d0d3d85..43bc0298c878 100644
--- a/sw/inc/IDocumentLinksAdministration.hxx
+++ b/sw/inc/IDocumentLinksAdministration.hxx
@@ -22,7 +22,7 @@
 
 #include <sal/types.h>
 
-namespace com { namespace sun { namespace star { namespace uno { class Any; } } } }
+namespace com::sun::star::uno { class Any; }
 namespace sfx2 { class SvLinkSource;  class LinkManager; }
 namespace rtl { class OUString; }
 using rtl::OUString;
diff --git a/sw/inc/IDocumentMarkAccess.hxx b/sw/inc/IDocumentMarkAccess.hxx
index 736f12e98c8f..13bd7fdc0d7c 100644
--- a/sw/inc/IDocumentMarkAccess.hxx
+++ b/sw/inc/IDocumentMarkAccess.hxx
@@ -29,10 +29,10 @@ struct SwPosition;
 class SwTextNode;
 class SwCursorShell;
 
-namespace sw { namespace mark {
+namespace sw::mark {
     class SaveBookmark; // FIXME: Ugly: SaveBookmark is a core-internal class, and should not be used in the interface
     class MarkBase;
-}}
+}
 
 /** Provides access to the marks of a document.
 */
diff --git a/sw/inc/IDocumentSettingAccess.hxx b/sw/inc/IDocumentSettingAccess.hxx
index b5d46aee3b1f..5c7d3fe54253 100644
--- a/sw/inc/IDocumentSettingAccess.hxx
+++ b/sw/inc/IDocumentSettingAccess.hxx
@@ -26,7 +26,7 @@
 #include <memory>
 
 class SvxForbiddenCharactersTable;
-namespace com { namespace sun { namespace star { namespace i18n { struct ForbiddenCharacters; } } } }
+namespace com::sun::star::i18n { struct ForbiddenCharacters; }
 enum class CharCompressType;
 
 enum class DocumentSettingId
diff --git a/sw/inc/IMark.hxx b/sw/inc/IMark.hxx
index b8ee6a4a2098..151c9a9333fb 100644
--- a/sw/inc/IMark.hxx
+++ b/sw/inc/IMark.hxx
@@ -26,7 +26,7 @@
 #include <memory>
 #include "swdllapi.h"
 
-namespace sw { namespace mark
+namespace sw::mark
 {
     enum class InsertMode
     {
@@ -142,7 +142,7 @@ namespace sw { namespace mark
 
     OUString ExpandFieldmark(IFieldmark* pBM);
 
-}}
+}
 #endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/inc/PostItMgr.hxx b/sw/inc/PostItMgr.hxx
index 743e78503b47..9108fac28c01 100644
--- a/sw/inc/PostItMgr.hxx
+++ b/sw/inc/PostItMgr.hxx
@@ -47,12 +47,8 @@ class SwEditWin;
 class Color;
 class SfxItemSet;
 class SvxSearchItem;
-namespace sw { namespace annotation {
-    class SwAnnotationWin;
-}}
-namespace sw { namespace sidebarwindows {
-    class SwFrameSidebarWinContainer;
-}}
+namespace sw::annotation { class SwAnnotationWin; }
+namespace sw::sidebarwindows { class SwFrameSidebarWinContainer; }
 class SwSidebarItem;
 class SwFrame;
 namespace vcl { class Window; }
diff --git a/sw/inc/SidebarWindowsTypes.hxx b/sw/inc/SidebarWindowsTypes.hxx
index 186b5d2796bc..f41414fc97a7 100644
--- a/sw/inc/SidebarWindowsTypes.hxx
+++ b/sw/inc/SidebarWindowsTypes.hxx
@@ -19,7 +19,7 @@
 
 #pragma once
 
-namespace sw { namespace sidebarwindows {
+namespace sw::sidebarwindows {
 
 enum class ViewState
 {
@@ -35,6 +35,6 @@ enum class SidebarPosition
     NONE    // sidebar on neither side
 };
 
-} } // end of namespace sw::sidebarwindows
+} // end of namespace sw::sidebarwindows
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/inc/SwAppletImpl.hxx b/sw/inc/SwAppletImpl.hxx
index e35fa84b239d..615dbee0a827 100644
--- a/sw/inc/SwAppletImpl.hxx
+++ b/sw/inc/SwAppletImpl.hxx
@@ -25,7 +25,7 @@
 #include <svl/itemset.hxx>
 #include <svl/ownlist.hxx>
 
-namespace com { namespace sun { namespace star { namespace embed { class XEmbeddedObject; } } } }
+namespace com::sun::star::embed { class XEmbeddedObject; }
 
 enum class SwHtmlOptType {
     IGNORE = 0,
diff --git a/sw/inc/UndoParagraphSignature.hxx b/sw/inc/UndoParagraphSignature.hxx
index c465da17ffd3..1c9c60f58546 100644
--- a/sw/inc/UndoParagraphSignature.hxx
+++ b/sw/inc/UndoParagraphSignature.hxx
@@ -26,8 +26,8 @@
 
 class SwDoc;
 
-namespace com { namespace sun { namespace star { namespace text { class XTextContent; } } } }
-namespace com { namespace sun { namespace star { namespace text { class XTextField; } } } }
+namespace com::sun::star::text { class XTextContent; }
+namespace com::sun::star::text { class XTextField; }
 
 /// Undo/Redo Paragraph Signature.
 class SwUndoParagraphSigning final : public SwUndo
diff --git a/sw/inc/accmap.hxx b/sw/inc/accmap.hxx
index 1641c6fc0dc8..29e5fbfd3303 100644
--- a/sw/inc/accmap.hxx
+++ b/sw/inc/accmap.hxx
@@ -53,7 +53,7 @@ class SwFEShell;
 class Fraction;
 struct PreviewPage;
 namespace vcl { class Window; }
-namespace com { namespace sun { namespace star { namespace accessibility { class XAccessible; } } } }
+namespace com::sun::star::accessibility { class XAccessible; }
 
 // The shape list is filled if an accessible shape is destroyed. It
 // simply keeps a reference to the accessible shape's XShape. These
diff --git a/sw/inc/breakit.hxx b/sw/inc/breakit.hxx
index f33c0cc771a8..7795e8b075a9 100644
--- a/sw/inc/breakit.hxx
+++ b/sw/inc/breakit.hxx
@@ -27,8 +27,8 @@
 #include "swdllapi.h"
 
 enum class SvtScriptType;
-namespace com { namespace sun { namespace star { namespace i18n { class XBreakIterator; } } } }
-namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } }
+namespace com::sun::star::i18n { class XBreakIterator; }
+namespace com::sun::star::uno { class XComponentContext; }
 
 class SW_DLLPUBLIC SwBreakIt
 {
diff --git a/sw/inc/checkit.hxx b/sw/inc/checkit.hxx
index cc86d1cc99f4..2423072bf025 100644
--- a/sw/inc/checkit.hxx
+++ b/sw/inc/checkit.hxx
@@ -21,7 +21,7 @@
 
 #include <com/sun/star/uno/Reference.h>
 
-namespace com { namespace sun { namespace star { namespace i18n { class XExtendedInputSequenceChecker; } } } }
+namespace com::sun::star::i18n { class XExtendedInputSequenceChecker; }
 
 // Wrapper for the XInputSequenceChecker
 class SwCheckIt
diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx
index f18050eec156..78b32299ff31 100644
--- a/sw/inc/crsrsh.hxx
+++ b/sw/inc/crsrsh.hxx
@@ -59,12 +59,8 @@ class SwTextField;
 namespace i18nutil {
     struct SearchOptions2;
 }
-namespace com { namespace sun { namespace star { namespace text {
-    class XTextRange;
-}}}}
-namespace com { namespace sun { namespace star { namespace container {
-    class XStringKeyMap;
-}}}}
+namespace com::sun::star::text { class XTextRange; }
+namespace com::sun::star::container { class XStringKeyMap; }
 
 // enum and struct to get information via the Doc-Position
 
diff --git a/sw/inc/dbmgr.hxx b/sw/inc/dbmgr.hxx
index 1b90b5dca571..20a43235bdb0 100644
--- a/sw/inc/dbmgr.hxx
+++ b/sw/inc/dbmgr.hxx
@@ -33,7 +33,7 @@
 #include <memory>
 #include <vector>
 
-namespace com{namespace sun{namespace star{
+namespace com::sun::star{
     namespace sdbc{
         class XConnection;
         class XStatement;
@@ -55,7 +55,7 @@ namespace com{namespace sun{namespace star{
     }
     namespace embed { class XStorage; }
     namespace frame { class XStorable; }
-}}}
+}
 namespace svx {
     class ODataAccessDescriptor;
 }
diff --git a/sw/inc/dlelstnr.hxx b/sw/inc/dlelstnr.hxx
index 2bebbddcf105..f431bbda8821 100644
--- a/sw/inc/dlelstnr.hxx
+++ b/sw/inc/dlelstnr.hxx
@@ -24,7 +24,7 @@
 #include <com/sun/star/frame/XTerminateListener.hpp>
 #include <cppuhelper/implbase.hxx>
 
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
     namespace linguistic2 {
         class XLinguServiceManager2;
         class XProofreadingIterator;
@@ -32,7 +32,7 @@ namespace com { namespace sun { namespace star {
     namespace frame {
         class XDesktop2;
     }
-} } }
+}
 
 /** EventListener that triggers spellchecking and hyphenation.
 
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index 8e810bdb686a..ac257a843b92 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -136,9 +136,7 @@ enum class SvMacroItemId : sal_uInt16;
 enum class SvxFrameDirection;
 enum class RndStdIds;
 
-namespace sw { namespace mark {
-    class MarkManager;
-}}
+namespace sw::mark { class MarkManager; }
 namespace sw {
     enum class RedlineMode;
     class MetaFieldManager;
@@ -163,16 +161,16 @@ namespace sw {
     class DocumentExternalDataManager;
 }
 
-namespace com { namespace sun { namespace star {
-namespace container {
-    class XNameContainer; //< for getXForms()/isXForms()/initXForms() methods
+namespace com::sun::star {
+    namespace container {
+        class XNameContainer; //< for getXForms()/isXForms()/initXForms() methods
+    }
+    namespace embed { class XStorage; }
+    namespace linguistic2 { class XHyphenatedWord; }
+    namespace linguistic2 { class XProofreadingIterator; }
+    namespace linguistic2 { class XSpellChecker1; }
+    namespace script::vba { class XVBAEventProcessor; }
 }
-namespace embed { class XStorage; }
-namespace linguistic2 { class XHyphenatedWord; }
-namespace linguistic2 { class XProofreadingIterator; }
-namespace linguistic2 { class XSpellChecker1; }
-namespace script { namespace vba { class XVBAEventProcessor; } }
-}}}
 
 namespace sfx2 {
     class IXmlIdRegistry;
diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx
index 5a393cc2fdee..225305aec568 100644
--- a/sw/inc/docsh.hxx
+++ b/sw/inc/docsh.hxx
@@ -56,9 +56,9 @@ namespace svt
 {
 class EmbeddedObjectRef;
 }
-namespace com { namespace sun { namespace star { namespace frame { class XController; } } } }
-namespace ooo { namespace vba { class XSinkCaller; } }
-namespace ooo { namespace vba { namespace word { class XDocument; } } }
+namespace com::sun::star::frame { class XController; }
+namespace ooo::vba { class XSinkCaller; }
+namespace ooo::vba::word { class XDocument; }
 
 // initialize DrawModel (in form of a SwDrawModel) and DocShell (in form of a SwDocShell)
 // as needed, one or both parameters may be zero
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx
index f19687c4d307..66226bc40d5a 100644
--- a/sw/inc/editsh.hxx
+++ b/sw/inc/editsh.hxx
@@ -90,11 +90,9 @@ enum class RedlineFlags;
 enum class TransliterationFlags;
 enum class GraphicType;
 
-namespace com { namespace sun { namespace star { namespace uno {
-    template < class > class Sequence;
-}}}}
-namespace com { namespace sun { namespace star { namespace linguistic2 { class XSpellAlternatives; } } } }
-namespace com { namespace sun { namespace star { namespace linguistic2 { struct ProofreadingResult; } } } }
+namespace com::sun::star::uno { template < class > class Sequence; }
+namespace com::sun::star::linguistic2 { class XSpellAlternatives; }
+namespace com::sun::star::linguistic2 { struct ProofreadingResult; }
 
 namespace svx{
     struct SpellPortion;
diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx
index a28416dee426..741462379db2 100644
--- a/sw/inc/fesh.hxx
+++ b/sw/inc/fesh.hxx
@@ -55,7 +55,7 @@ namespace svx
 {
     class ISdrObjectFilter;
 }
-namespace com { namespace sun { namespace star { namespace embed { class XEmbeddedObject; } } } }
+namespace com::sun::star::embed { class XEmbeddedObject; }
 
 // return values for GetFrameType() and GetSelFrameType().
 //! values can be combined via logical or
diff --git a/sw/inc/finalthreadmanager.hxx b/sw/inc/finalthreadmanager.hxx
index dfdf5407efca..be73781e71b3 100644
--- a/sw/inc/finalthreadmanager.hxx
+++ b/sw/inc/finalthreadmanager.hxx
@@ -30,7 +30,7 @@
 #include <list>
 #include <memory>
 
-namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } }
+namespace com::sun::star::uno { class XComponentContext; }
 
 class CancelJobsThread;
 class TerminateOfficeThread;
diff --git a/sw/inc/fldbas.hxx b/sw/inc/fldbas.hxx
index ca47780e1287..4f275e792fb9 100644
--- a/sw/inc/fldbas.hxx
+++ b/sw/inc/fldbas.hxx
@@ -36,8 +36,8 @@ class SwRootFrame;
 class SvNumberFormatter;
 class IDocumentRedlineAccess;
 class SwGetRefField;
-namespace com { namespace sun { namespace star { namespace beans { class XPropertySet; } } } }
-namespace com { namespace sun { namespace star { namespace uno { class Any; } } } }
+namespace com::sun::star::beans { class XPropertySet; }
+namespace com::sun::star::uno { class Any; }
 
 typedef struct _xmlTextWriter* xmlTextWriterPtr;
 
diff --git a/sw/inc/fmtfld.hxx b/sw/inc/fmtfld.hxx
index 0745f4ff5fc1..f65f7d437464 100644
--- a/sw/inc/fmtfld.hxx
+++ b/sw/inc/fmtfld.hxx
@@ -35,7 +35,7 @@ class SwView;
 class SwFieldType;
 class SwFormatField;
 class IDocumentRedlineAccess;
-namespace com { namespace sun { namespace star { namespace text { class XTextField; } } } }
+namespace com::sun::star::text { class XTextField; }
 
 namespace sw {
     struct FindFormatForFieldHint final : SfxHint {
diff --git a/sw/inc/fmtftn.hxx b/sw/inc/fmtftn.hxx
index 57ff12beafb1..150b3bd7e44e 100644
--- a/sw/inc/fmtftn.hxx
+++ b/sw/inc/fmtftn.hxx
@@ -26,10 +26,10 @@
 #include "swdllapi.h"
 #include "calbck.hxx"
 
-namespace com { namespace sun { namespace star { namespace text {
+namespace com::sun::star::text {
     class XFootnote;
     class XTextRange;
-} } } }
+}
 
 class SwDoc;
 class SwTextFootnote;
diff --git a/sw/inc/fmtmeta.hxx b/sw/inc/fmtmeta.hxx
index e148d86ccf17..3bb8f928f0ee 100644
--- a/sw/inc/fmtmeta.hxx
+++ b/sw/inc/fmtmeta.hxx
@@ -30,14 +30,14 @@
 #include <memory>
 #include <vector>
 
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
     namespace document {
         class XDocumentProperties;
     }
     namespace text {
         class XTextField;
     }
-}}}
+}
 
 /**
  * The classes that make up a meta entity are:
diff --git a/sw/inc/fmtrfmrk.hxx b/sw/inc/fmtrfmrk.hxx
index 8e4c732c4674..971bd8879294 100644
--- a/sw/inc/fmtrfmrk.hxx
+++ b/sw/inc/fmtrfmrk.hxx
@@ -25,9 +25,9 @@
 
 #include "calbck.hxx"
 
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
     namespace text { class XTextContent; }
-} } }
+}
 
 class SwTextRefMark;
 
diff --git a/sw/inc/format.hxx b/sw/inc/format.hxx
index b0025beb7958..de607a382da3 100644
--- a/sw/inc/format.hxx
+++ b/sw/inc/format.hxx
@@ -34,10 +34,10 @@ class SwDoc;
 class SfxGrabBagItem;
 class SwTextGridItem;
 
-namespace drawinglayer { namespace attribute {
+namespace drawinglayer::attribute {
     class SdrAllFillAttributesHelper;
     typedef std::shared_ptr< SdrAllFillAttributesHelper > SdrAllFillAttributesHelperPtr;
-}}
+}
 
 /// Base class for various Writer styles.
 class SW_DLLPUBLIC SwFormat : public sw::BroadcastingModify
diff --git a/sw/inc/iodetect.hxx b/sw/inc/iodetect.hxx
index f8d55334ee6a..53abd6872486 100644
--- a/sw/inc/iodetect.hxx
+++ b/sw/inc/iodetect.hxx
@@ -47,8 +47,8 @@ class SfxFilter;
 class SfxFilterContainer;
 class SotStorage;
 class SvStream;
-namespace com { namespace sun { namespace star { namespace embed { class XStorage; } } } }
-namespace com { namespace sun { namespace star { namespace uno { template <typename> class Reference; } } } }
+namespace com::sun::star::embed { class XStorage; }
+namespace com::sun::star::uno { template <typename> class Reference; }
 
 struct SwIoDetect
 {
diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx
index dadf38794ef9..9edf16dab96e 100644
--- a/sw/inc/ndtxt.hxx
+++ b/sw/inc/ndtxt.hxx
@@ -65,14 +65,14 @@ enum class ExpandMode;
 enum class SwFieldIds : sal_uInt16;
 class SwField;
 
-namespace sw { namespace mark { enum class RestoreMode; } }
+namespace sw::mark { enum class RestoreMode; }
 
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
     namespace uno {
         template < class > class Sequence;
     }
     namespace text { class XTextContent; }
-} } }
+}
 
 typedef std::set< sal_Int32 > SwSoftPageBreakList;
 
diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx
index 36d6e945d16e..af48d95d5ec2 100644
--- a/sw/inc/node.hxx
+++ b/sw/inc/node.hxx
@@ -70,10 +70,10 @@ class Point;
 enum class SvxFrameDirection;
 typedef std::vector<SwOLENode*> SwOLENodes; // docary.hxx
 
-namespace drawinglayer { namespace attribute {
+namespace drawinglayer::attribute {
     class SdrAllFillAttributesHelper;
     typedef std::shared_ptr< SdrAllFillAttributesHelper > SdrAllFillAttributesHelperPtr;
-}}
+}
 
 /// Base class of the Writer document model elements.
 class SW_DLLPUBLIC SwNode
diff --git a/sw/inc/postithelper.hxx b/sw/inc/postithelper.hxx
index 50e0b737cb12..c1536ef78524 100644
--- a/sw/inc/postithelper.hxx
+++ b/sw/inc/postithelper.hxx
@@ -32,9 +32,7 @@ class SwPostItMgr;
 class SwEditWin;
 class SwFrame;
 class IDocumentRedlineAccess;
-namespace sw { namespace annotation {
-    class SwAnnotationWin;
-} }
+namespace sw::annotation { class SwAnnotationWin; }
 namespace sw::mark { class IMark; }
 
 struct SwPosition;
diff --git a/sw/inc/proofreadingiterator.hxx b/sw/inc/proofreadingiterator.hxx
index 003a922bbc10..a77dd9abfd03 100644
--- a/sw/inc/proofreadingiterator.hxx
+++ b/sw/inc/proofreadingiterator.hxx
@@ -14,24 +14,24 @@
 
 #include <com/sun/star/uno/Reference.h>
 
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
     namespace linguistic2 { class XProofreadingIterator; }
     namespace uno { class XComponentContext; }
-} } }
+}
 
 // A simple wrapper around the css.linguistic2.ProofreadingIterator
 // single-instance service.  The first time that service implementation gets
 // instantiated it immediately starts a GrammarCheckingIterator thread that
 // eventually needs to be joined (via dispose):
 
-namespace sw { namespace proofreadingiterator {
+namespace sw::proofreadingiterator {
 
 css::uno::Reference<css::linguistic2::XProofreadingIterator> get(
     css::uno::Reference<css::uno::XComponentContext> const & context);
 
 void dispose();
 
-} }
+}
 
 #endif
 
diff --git a/sw/inc/rdfhelper.hxx b/sw/inc/rdfhelper.hxx
index 4c351d8467f0..ee346c499fe2 100644
--- a/sw/inc/rdfhelper.hxx
+++ b/sw/inc/rdfhelper.hxx
@@ -21,7 +21,7 @@
 
 class SwTextNode;
 
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
     namespace frame {
         class XModel;
     }
@@ -30,7 +30,7 @@ namespace com { namespace sun { namespace star {
         class XResource;
         class XURI;
     }
-}}}
+}
 
 /// Provides access to RDF metadata on core objects.
 class SW_DLLPUBLIC SwRDFHelper
diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx
index 2b52eb6332cb..bbadd99276b0 100644
--- a/sw/inc/section.hxx
+++ b/sw/inc/section.hxx
@@ -30,10 +30,9 @@
 #include "frmfmt.hxx"
 #include <vector>
 
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
     namespace text { class XTextSection; }
-} } }
-
+}
 class SwSectionFormat;
 class SwDoc;
 class SwSection;
diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx
index 080fb97071c7..8d1b4776c828 100644
--- a/sw/inc/shellio.hxx
+++ b/sw/inc/shellio.hxx
@@ -55,7 +55,7 @@ namespace mark
 class IMark;
 }
 }
-namespace com { namespace sun { namespace star { namespace embed { class XStorage; } } } }
+namespace com::sun::star::embed { class XStorage; }
 
 // Defines the count of chars at which a paragraph read via ASCII/W4W-Reader
 // is forced to wrap. It has to be always greater than 200!!!
diff --git a/sw/inc/splargs.hxx b/sw/inc/splargs.hxx
index ee502b5e220c..37d7baa3016c 100644
--- a/sw/inc/splargs.hxx
+++ b/sw/inc/splargs.hxx
@@ -31,7 +31,7 @@ class SwTextFrame;
 class SwTextNode;
 class SwIndex;
 namespace vcl { class Font; }
-namespace com { namespace sun { namespace star { namespace linguistic2 { class XHyphenatedWord; } } } }
+namespace com::sun::star::linguistic2 { class XHyphenatedWord; }
 
 struct SwArgsBase     // used for text conversion (Hangul/Hanja, ...)
 {
diff --git a/sw/inc/swabstdlg.hxx b/sw/inc/swabstdlg.hxx
index 45edeb57e28b..f70fd068090a 100644
--- a/sw/inc/swabstdlg.hxx
+++ b/sw/inc/swabstdlg.hxx
@@ -61,7 +61,7 @@ enum class SwBorderModes;
 enum class SwCharDlgMode;
 enum class SfxStyleFamily;
 
-namespace com{namespace sun{namespace star{
+namespace com::sun::star{
     namespace frame{
         class XModel;
     }
@@ -75,10 +75,10 @@ namespace com{namespace sun{namespace star{
     }
     namespace container { class XNameAccess; }
     namespace container { class XNamed; }
-}}}
+}
 
 
-namespace sw { namespace mark { class IFieldmark; class IDateFieldmark; } }
+namespace sw::mark { class IFieldmark; class IDateFieldmark; }
 
 typedef   void (*SwLabDlgMethod) (css::uno::Reference< css::frame::XModel> const & xModel, const SwLabItem& rItem);
 
diff --git a/sw/inc/swacorr.hxx b/sw/inc/swacorr.hxx
index d6a069f29a08..db08c09c5ddf 100644
--- a/sw/inc/swacorr.hxx
+++ b/sw/inc/swacorr.hxx
@@ -27,7 +27,7 @@
 #include "swdllapi.h"
 
 class SwXMLTextBlocks;
-namespace com { namespace sun { namespace star { namespace embed { class XStorage; } } } }
+namespace com::sun::star::embed { class XStorage; }
 
 class SW_DLLPUBLIC SwAutoCorrect final : public SvxAutoCorrect
 {
diff --git a/sw/inc/swmodule.hxx b/sw/inc/swmodule.hxx
index 6fbab3ad4f78..a8c07038b6b7 100644
--- a/sw/inc/swmodule.hxx
+++ b/sw/inc/swmodule.hxx
@@ -65,12 +65,10 @@ enum class SvViewOpt {
     DestViewOnly   //ViewOptions are set only at View, not at the appl.
 };
 
-namespace com{ namespace sun{ namespace star{ namespace scanner{
-    class XScannerManager2;
-}}}}
-namespace com { namespace sun { namespace star { namespace linguistic2 { class XLanguageGuessing; } } } }
-namespace com { namespace sun { namespace star { namespace linguistic2 { class XLinguServiceEventListener; } } } }
-namespace ooo { namespace vba { class XSinkCaller; } }
+namespace com::sun::star::scanner { class XScannerManager2; }
+namespace com::sun::star::linguistic2 { class XLanguageGuessing; }
+namespace com::sun::star::linguistic2 { class XLinguServiceEventListener; }
+namespace ooo::vba { class XSinkCaller; }
 
 class SW_DLLPUBLIC SwModule final : public SfxModule, public SfxListener, public utl::ConfigurationListener
 {
diff --git a/sw/inc/swserv.hxx b/sw/inc/swserv.hxx
index f82d288a035a..c80c0e7de928 100644
--- a/sw/inc/swserv.hxx
+++ b/sw/inc/swserv.hxx
@@ -26,7 +26,7 @@ class SwBaseLink;
 class SwTableNode;
 struct SwPosition;
 class SwPaM;
-namespace sw { namespace mark { class IMark; } }
+namespace sw::mark { class IMark; }
 
 class SwServerObject final : public ::sfx2::SvLinkSource
 {
diff --git a/sw/inc/swtypes.hxx b/sw/inc/swtypes.hxx
index 1e1fc74d0645..fbf9165ab2ff 100644
--- a/sw/inc/swtypes.hxx
+++ b/sw/inc/swtypes.hxx
@@ -28,14 +28,14 @@
 #include <i18nlangtag/lang.h>
 #include <vcl/outdev.hxx>
 
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
     namespace linguistic2{
         class XLinguProperties;
         class XSpellChecker1;
         class XHyphenator;
         class XThesaurus;
     }
-}}}
+}
 namespace utl{
     class TransliterationWrapper;
 }
diff --git a/sw/inc/swunohelper.hxx b/sw/inc/swunohelper.hxx
index 2cd9cd04bb31..66743d90eb9c 100644
--- a/sw/inc/swunohelper.hxx
+++ b/sw/inc/swunohelper.hxx
@@ -25,11 +25,7 @@
 
 #include <vector>
 
-namespace com { namespace sun { namespace star {
-    namespace uno {
-        class Any;
-    }
-}}}
+namespace com::sun::star::uno { class Any; }
 class DateTime;
 class SfxItemSet;
 
diff --git a/sw/inc/tox.hxx b/sw/inc/tox.hxx
index eed9e670aeae..7787d432d01b 100644
--- a/sw/inc/tox.hxx
+++ b/sw/inc/tox.hxx
@@ -33,10 +33,9 @@
 
 #include <vector>
 
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
     namespace text { class XDocumentIndexMark; }
-} } }
-
+}
 class SwTOXType;
 class SwTOXMark;
 class SwTextTOXMark;
diff --git a/sw/inc/toxwrap.hxx b/sw/inc/toxwrap.hxx
index 61463047b073..71feadb6fcf5 100644
--- a/sw/inc/toxwrap.hxx
+++ b/sw/inc/toxwrap.hxx
@@ -24,11 +24,8 @@
 #include <com/sun/star/i18n/XExtendedIndexEntrySupplier.hpp>
 #include "swdllapi.h"
 
-namespace com { namespace sun { namespace star {
-namespace i18n {
-    class XExtendedIndexEntrySupplier;
-}
-}}}
+namespace com::sun::star::i18n { class XExtendedIndexEntrySupplier; }
+
 
 class SW_DLLPUBLIC IndexEntrySupplierWrapper
 {
diff --git a/sw/inc/txtannotationfld.hxx b/sw/inc/txtannotationfld.hxx
index 1cc4758f4606..f45e0c5b9b35 100644
--- a/sw/inc/txtannotationfld.hxx
+++ b/sw/inc/txtannotationfld.hxx
@@ -22,7 +22,7 @@
 
 #include "txtfld.hxx"
 
-namespace sw { namespace mark { class IMark; } }
+namespace sw::mark { class IMark; }
 
 class SwTextAnnotationField final : public SwTextField
 {
diff --git a/sw/inc/unochart.hxx b/sw/inc/unochart.hxx
index b085aaaaf1b2..7eb499a848f8 100644
--- a/sw/inc/unochart.hxx
+++ b/sw/inc/unochart.hxx
@@ -57,7 +57,7 @@ class SwTable;
 class SwTableBox;
 struct SwRangeDescriptor;
 class SwSelBoxes;
-namespace com { namespace sun { namespace star { namespace table { class XCell; } } } }
+namespace com::sun::star::table { class XCell; }
 
 bool FillRangeDescriptor( SwRangeDescriptor &rDesc, const OUString &rCellRangeName );
 
diff --git a/sw/inc/unocoll.hxx b/sw/inc/unocoll.hxx
index 54ea069b3bb2..ae16ab4ab7bc 100644
--- a/sw/inc/unocoll.hxx
+++ b/sw/inc/unocoll.hxx
@@ -29,12 +29,12 @@
 
 class SwDoc;
 class SwFrameFormat;
-namespace com{namespace sun {namespace star {namespace text
+namespace com::sun::star::text
 {
     class XTextTable;
     class XTextSection;
     class XFootnote;
-}}}}
+}
 class SwFormatFootnote;
 class SwSectionFormat;
 struct SvEventDescription;
diff --git a/sw/inc/unocrsrhelper.hxx b/sw/inc/unocrsrhelper.hxx
index 58cca5fc0618..043446a7c6f0 100644
--- a/sw/inc/unocrsrhelper.hxx
+++ b/sw/inc/unocrsrhelper.hxx
@@ -38,9 +38,9 @@ struct SwSortOptions;
 class SwDoc;
 class SwRootFrame;
 
-namespace sw { namespace mark { class IMark; } }
+namespace sw::mark { class IMark; }
 
-namespace com{ namespace sun{ namespace star{
+namespace com::sun::star{
     namespace beans{
         struct PropertyValue;
         enum class PropertyState;
@@ -49,7 +49,7 @@ namespace com{ namespace sun{ namespace star{
         class XTextContent;
         class XFlatParagraphIterator;
     }
-}}}
+}
 
 enum SwGetPropertyStatesCaller
 {
diff --git a/sw/inc/unoframe.hxx b/sw/inc/unoframe.hxx
index 093cfe022222..1b9851e5d2e0 100644
--- a/sw/inc/unoframe.hxx
+++ b/sw/inc/unoframe.hxx
@@ -41,7 +41,7 @@ class SdrObject;
 class SwDoc;
 class SwFormat;
 class SfxItemPropertySet;
-namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
+namespace com::sun::star::frame { class XModel; }
 
 class BaseFrameProperties_Impl;
 class SwXFrame : public cppu::WeakImplHelper
diff --git a/sw/inc/unoredlines.hxx b/sw/inc/unoredlines.hxx
index 0ffc0ce2046b..b274889261ca 100644
--- a/sw/inc/unoredlines.hxx
+++ b/sw/inc/unoredlines.hxx
@@ -28,11 +28,8 @@
 #include <com/sun/star/container/XEnumerationAccess.hpp>
 
 class SwRangeRedline;
-namespace com{ namespace sun{ namespace star{
-        namespace beans{
-            class XPropertySet;
-        }
-}}}
+namespace com::sun::star::beans { class XPropertySet; }
+
 typedef
 cppu::WeakImplHelper
 <
diff --git a/sw/inc/unosett.hxx b/sw/inc/unosett.hxx
index ef9e37726682..c1bba2b64bb3 100644
--- a/sw/inc/unosett.hxx
+++ b/sw/inc/unosett.hxx
@@ -39,7 +39,7 @@ class SwDocShell;
 class SwNumRule;
 class SwNumFormat;
 class SfxItemPropertySet;
-namespace com { namespace sun { namespace star { namespace beans { struct PropertyValue; } } } }
+namespace com::sun::star::beans { struct PropertyValue; }
 
 class SwXFootnoteProperties final : public cppu::WeakAggImplHelper2
 <
diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx
index 4e8fee328724..2b29d2aa6729 100644
--- a/sw/inc/unostyle.hxx
+++ b/sw/inc/unostyle.hxx
@@ -38,7 +38,7 @@
 #include <memory>
 #include <map>
 
-namespace com { namespace sun { namespace star { namespace document { class XEventsSupplier; } } } }
+namespace com::sun::star::document { class XEventsSupplier; }
 
 class SwDocShell;
 class SwAutoStylesEnumImpl;
diff --git a/sw/inc/unotext.hxx b/sw/inc/unotext.hxx
index 747f7abfbea0..14d61a5486dc 100644
--- a/sw/inc/unotext.hxx
+++ b/sw/inc/unotext.hxx
@@ -30,12 +30,12 @@
 
 #include "unobaseclass.hxx"
 
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
     namespace text {
         class XTextContent;
         class XText;
     }
-} } }
+}
 
 class SwDoc;
 class SwStartNode;
diff --git a/sw/inc/unotxdoc.hxx b/sw/inc/unotxdoc.hxx
index dca0df658a8d..8c6a1358520c 100644
--- a/sw/inc/unotxdoc.hxx
+++ b/sw/inc/unotxdoc.hxx
@@ -83,12 +83,12 @@ class SwPrintData;
 class SwRenderData;
 class SwViewShell;
 class SfxItemPropertySet;
-namespace com { namespace sun { namespace star { namespace container { class XNameContainer; } } } }
-namespace com { namespace sun { namespace star { namespace frame { class XController; } } } }
-namespace com { namespace sun { namespace star { namespace lang { struct Locale; } } } }
-namespace com { namespace sun { namespace star { namespace uno { class XAggregation; } } } }
+namespace com::sun::star::container { class XNameContainer; }
+namespace com::sun::star::frame { class XController; }
+namespace com::sun::star::lang { struct Locale; }
+namespace com::sun::star::uno { class XAggregation; }
 
-namespace com { namespace sun { namespace star { namespace util { class XReplaceDescriptor; } } } }
+namespace com::sun::star::util { class XReplaceDescriptor; }
 
 typedef cppu::WeakImplHelper
 <
diff --git a/sw/inc/view.hxx b/sw/inc/view.hxx
index 1ce11c33bda6..2a7bc89ab7e3 100644
--- a/sw/inc/view.hxx
+++ b/sw/inc/view.hxx
@@ -69,11 +69,9 @@ class SwCursorShell;
 enum class SvxSearchCmd;
 enum class SelectionType : sal_Int32;
 
-namespace com{ namespace sun { namespace star {
-    namespace view{ class XSelectionSupplier; }
-}}}
+namespace com::sun::star::view { class XSelectionSupplier; }
 namespace sfx2 { class FileDialogHelper; }
-namespace sw { namespace mark { class IFieldmark; } }
+namespace sw::mark { class IFieldmark; }
 
 const long nLeftOfst = -370;
 const long nScrollX  =   30;
diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx
index cae19ebda3f6..fe3fee74bcea 100644
--- a/sw/inc/viewsh.hxx
+++ b/sw/inc/viewsh.hxx
@@ -30,9 +30,7 @@
 #include <vcl/lazydelete.hxx>
 #include <vcl/window.hxx>
 
-namespace com { namespace sun { namespace star { namespace accessibility {
-           class XAccessible; } } } }
-
+namespace com::sun::star::accessibility { class XAccessible; }
 class SwDoc;
 class IDocumentSettingAccess;
 class IDocumentDeviceAccess;
diff --git a/sw/inc/viscrs.hxx b/sw/inc/viscrs.hxx
index 118ecd439a06..36cf0ceb8eef 100644
--- a/sw/inc/viscrs.hxx
+++ b/sw/inc/viscrs.hxx
@@ -27,7 +27,7 @@
 #include "swregion.hxx"
 #include "swdllapi.h"
 
-namespace sdr { namespace overlay { class OverlayObject; } }
+namespace sdr::overlay { class OverlayObject; }
 
 class SwCursorShell;
 class SfxViewShell;
@@ -63,7 +63,7 @@ public:
 
 // From here classes/methods for selections.
 
-namespace sw { namespace overlay { class OverlayRangesOutline; }}
+namespace sw::overlay { class OverlayRangesOutline; }
 class MapMode;
 
 class SwSelPaintRects : public SwRects
diff --git a/sw/source/core/access/accfrmobj.hxx b/sw/source/core/access/accfrmobj.hxx
index bfe6240ce62a..cb5fdfb7b839 100644
--- a/sw/source/core/access/accfrmobj.hxx
+++ b/sw/source/core/access/accfrmobj.hxx
@@ -28,7 +28,7 @@ class SdrObject;
 namespace vcl { class Window; }
 class SwRect;
 
-namespace sw { namespace access {
+namespace sw::access {
 
 class SwAccessibleChild
 {
@@ -82,7 +82,7 @@ class SwAccessibleChild
         void Init( vcl::Window* pWindow );
 };
 
-} } // eof of namespace sw::access
+} // eof of namespace sw::access
 
 #endif
 
diff --git a/sw/source/core/access/accpara.hxx b/sw/source/core/access/accpara.hxx
index 6b6f481637d5..ee5288cd25c3 100644
--- a/sw/source/core/access/accpara.hxx
+++ b/sw/source/core/access/accpara.hxx
@@ -41,11 +41,11 @@ class SwRangeRedline;
 class SwXTextPortion;
 class SwParaChangeTrackingInfo; //#i108125#
 
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
     namespace i18n { struct Boundary; }
     namespace accessibility { class XAccessibleHyperlink; }
     namespace style { struct TabStop; }
-} } }
+}
 
 typedef std::unordered_map< OUString,
                          css::beans::PropertyValue > tAccParaPropValMap;
diff --git a/sw/source/core/access/accportions.hxx b/sw/source/core/access/accportions.hxx
index c64a45d2afbd..246ed862299f 100644
--- a/sw/source/core/access/accportions.hxx
+++ b/sw/source/core/access/accportions.hxx
@@ -29,9 +29,9 @@
 class SwTextFrame;
 struct SwSpecialPos;
 class SwViewOption;
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
     namespace i18n { struct Boundary; }
-} } }
+}
 
 /**
  * collect text portion data from the layout through SwPortionHandler interface
diff --git a/sw/source/core/inc/annotationmark.hxx b/sw/source/core/inc/annotationmark.hxx
index 8cf1590ca310..9fe8478e22cc 100644
--- a/sw/source/core/inc/annotationmark.hxx
+++ b/sw/source/core/inc/annotationmark.hxx
@@ -25,7 +25,7 @@
 
 class SwFormatField;
 
-namespace sw { namespace mark
+namespace sw::mark
 {
     class AnnotationMark : public MarkBase
     {
@@ -40,7 +40,9 @@ namespace sw { namespace mark
 
         const SwFormatField* GetAnnotationFormatField() const;
     };
-}}
+
+}
+
 #endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx
index 4a72db8f802b..429746737bf4 100644
--- a/sw/source/core/inc/frame.hxx
+++ b/sw/source/core/inc/frame.hxx
@@ -116,10 +116,10 @@ enum MakePageType
     MAKEPAGE_NOSECTION  // Don't create section frames
 };
 
-namespace drawinglayer { namespace attribute {
+namespace drawinglayer::attribute {
     class SdrAllFillAttributesHelper;
     typedef std::shared_ptr< SdrAllFillAttributesHelper > SdrAllFillAttributesHelperPtr;
-}}
+}
 
 /// Helper class to isolate geometry-defining members of SwFrame
 /// and to control their accesses. Moved to own class to have no
diff --git a/sw/source/core/inc/frmtool.hxx b/sw/source/core/inc/frmtool.hxx
index ddb7bea2dd38..f7f4a209b584 100644
--- a/sw/source/core/inc/frmtool.hxx
+++ b/sw/source/core/inc/frmtool.hxx
@@ -47,7 +47,7 @@ class SwFrameFormats;
 class SwRegionRects;
 class SwTextNode;
 namespace sw { struct Extent; }
-namespace basegfx { namespace utils { class B2DClipState; } }
+namespace basegfx::utils { class B2DClipState; }
 
 #define FAR_AWAY (SAL_MAX_INT32 - 20000)  // initial position of a Fly
 #define BROWSE_HEIGHT (56700L * 10L) // 10 Meters
diff --git a/sw/source/core/inc/mvsave.hxx b/sw/source/core/inc/mvsave.hxx
index 63b633946911..73e74d7d1fe9 100644
--- a/sw/source/core/inc/mvsave.hxx
+++ b/sw/source/core/inc/mvsave.hxx
@@ -40,7 +40,7 @@ class SwPaM;
 class SwNode;
 struct SwPosition;
 
-namespace sw { namespace mark
+namespace sw::mark
 {
     class IMark;
 
@@ -82,7 +82,7 @@ namespace sw { namespace mark
             virtual ~ContentIdxStore() {};
             static std::shared_ptr<ContentIdxStore> Create();
     };
-}}
+}
 
 namespace o3tl {
     template<> struct typed_flags<sw::mark::RestoreMode> : is_typed_flags<sw::mark::RestoreMode, 3> {};
diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx
index 61377d2a73ca..6526def25558 100644
--- a/sw/source/core/inc/txtfrm.hxx
+++ b/sw/source/core/inc/txtfrm.hxx
@@ -25,9 +25,9 @@
 
 #include <set>
 
-namespace com { namespace sun { namespace star { namespace linguistic2 { class XHyphenatedWord; } } } }
+namespace com::sun::star::linguistic2 { class XHyphenatedWord; }
 
-namespace sw { namespace mark { class IMark; } }
+namespace sw::mark { class IMark; }
 class SwCharRange;
 class SwTextNode;
 class SwTextAttrEnd;
diff --git a/sw/source/core/inc/unoflatpara.hxx b/sw/source/core/inc/unoflatpara.hxx
index 2587b6ff2d47..06f68aba48c5 100644
--- a/sw/source/core/inc/unoflatpara.hxx
+++ b/sw/source/core/inc/unoflatpara.hxx
@@ -31,14 +31,8 @@
 
 #include <set>
 
-namespace com { namespace sun { namespace star { namespace container {
-    class XStringKeyMap;
-} } } }
-
-namespace com { namespace sun { namespace star { namespace text {
-    class XTextRange;
-} } } }
-
+namespace com::sun::star::container { class XStringKeyMap; }
+namespace com::sun::star::text { class XTextRange; }
 class SwTextNode;
 class SwDoc;
 class ModelToViewHelper;
diff --git a/sw/source/core/inc/unofreg.hxx b/sw/source/core/inc/unofreg.hxx
index 8350cc74f7e6..afb8e6dcdff5 100644
--- a/sw/source/core/inc/unofreg.hxx
+++ b/sw/source/core/inc/unofreg.hxx
@@ -25,9 +25,7 @@
 
 #include <com/sun/star/uno/Sequence.hxx>
 
-namespace com { namespace sun { namespace star { namespace lang {
-    class XMultiServiceFactory;
-} } } }
+namespace com::sun::star::lang { class XMultiServiceFactory; }
 
 // writer documents
 css::uno::Sequence< OUString > SwTextDocument_getSupportedServiceNames() throw();
diff --git a/sw/source/core/inc/unotextmarkup.hxx b/sw/source/core/inc/unotextmarkup.hxx
index 30e1b3bf3ebc..bfbded136a66 100644
--- a/sw/source/core/inc/unotextmarkup.hxx
+++ b/sw/source/core/inc/unotextmarkup.hxx
@@ -29,14 +29,8 @@
 
 #include <map>
 
-namespace com { namespace sun { namespace star { namespace container {
-    class XStringKeyMap;
-} } } }
-
-namespace com { namespace sun { namespace star { namespace text {
-    class XTextRange;
-} } } }
-
+namespace com::sun::star::container { class XStringKeyMap; }
+namespace com::sun::star::text { class XTextRange; }
 class SwTextNode;
 class ModelToViewHelper;
 
diff --git a/sw/source/core/inc/viewimp.hxx b/sw/source/core/inc/viewimp.hxx
index 4a599308274b..aff1e701245a 100644
--- a/sw/source/core/inc/viewimp.hxx
+++ b/sw/source/core/inc/viewimp.hxx
@@ -44,9 +44,7 @@ class SwPagePreviewLayout;
 struct PreviewPage;
 class SwTextFrame;
 // --> OD #i76669#
-namespace sdr { namespace contact {
-        class ViewObjectContactRedirector;
-} }
+namespace sdr::contact { class ViewObjectContactRedirector; }
 // <--
 
 class SwViewShellImp
diff --git a/sw/source/core/text/porfld.hxx b/sw/source/core/text/porfld.hxx
index afc7c6bbf83b..ec70c66d2024 100644
--- a/sw/source/core/text/porfld.hxx
+++ b/sw/source/core/text/porfld.hxx
@@ -211,9 +211,7 @@ public:
     virtual sal_uInt16 GetViewWidth( const SwTextSizeInfo &rInf ) const override;
 };
 
-namespace sw { namespace mark {
-    class IFieldmark;
-} }
+namespace sw::mark { class IFieldmark; }
 
 class SwFieldFormDropDownPortion : public SwFieldPortion
 {
diff --git a/sw/source/filter/ww8/docxattributeoutput.hxx b/sw/source/filter/ww8/docxattributeoutput.hxx
index b8272d81603c..083a0fd0035c 100644
--- a/sw/source/filter/ww8/docxattributeoutput.hxx
+++ b/sw/source/filter/ww8/docxattributeoutput.hxx
@@ -51,7 +51,7 @@ class SdrObject;
 enum class SvxBoxItemLine;
 
 namespace docx { class FootnotesList; }
-namespace oox { namespace drawingml { class DrawingML; } }
+namespace oox::drawingml { class DrawingML; }
 
 struct FieldInfos
 {
diff --git a/sw/source/filter/ww8/docxexport.hxx b/sw/source/filter/ww8/docxexport.hxx
index 33c02cd50cc4..04d29c2f65b9 100644
--- a/sw/source/filter/ww8/docxexport.hxx
+++ b/sw/source/filter/ww8/docxexport.hxx
@@ -45,11 +45,11 @@ namespace oox {
     namespace vml { class VMLExport; }
 }
 
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
     namespace frame { class XModel; }
     namespace drawing { class XShape; }
     namespace awt { class XControlModel; }
-} } }
+}
 
 /// Data to be written in the document settings part of the document
 struct DocxSettingsData
diff --git a/sw/source/filter/ww8/wrtww8.hxx b/sw/source/filter/ww8/wrtww8.hxx
index 3f165d8fb4a8..00da29d78ce7 100644
--- a/sw/source/filter/ww8/wrtww8.hxx
+++ b/sw/source/filter/ww8/wrtww8.hxx
@@ -120,20 +120,12 @@ class WW8_WrtRedlineAuthor;
 class SvxMSExportOLEObjects;
 class SwMSConvertControls;
 class WW8_WrPc;
-
-namespace com { namespace sun { namespace star { namespace embed {
-class XEmbeddedObject;
-} } } }
-typedef std::map<const css::embed::XEmbeddedObject*, sal_Int32> WW8OleMap;
 struct WW8_PdAttrDesc;
 class SvxBrushItem;
-namespace sw
-{
-namespace mark
-{
-class IFieldmark;
-}
-}
+namespace sw::mark { class IFieldmark; }
+namespace com::sun::star::embed { class XEmbeddedObject; }
+
+typedef std::map<const css::embed::XEmbeddedObject*, sal_Int32> WW8OleMap;
 typedef std::set< sal_Int32 > SwSoftPageBreakList;
 
 #define GRF_MAGIC_1 0x12    // 3 magic bytes for PicLocFc attribute
diff --git a/sw/source/filter/ww8/ww8par.hxx b/sw/source/filter/ww8/ww8par.hxx
index 87156c52800d..1acde61e4c54 100644
--- a/sw/source/filter/ww8/ww8par.hxx
+++ b/sw/source/filter/ww8/ww8par.hxx
@@ -108,12 +108,12 @@ struct ESelection;
 class SfxItemSet;
 class OutlinerParaObject;
 
-namespace com{namespace sun {namespace star{
+namespace com::sun::star{
     namespace beans{ class XPropertySet;}
     namespace form { class XFormComponent;}
     namespace drawing{class XShape;}
     namespace lang{class XMultiServiceFactory;}
-}}}
+}
 
 // defines only for the WW8-variable of the INI file
 #define WW8FL_NO_STYLES      2
diff --git a/sw/source/filter/xml/XMLRedlineImportHelper.hxx b/sw/source/filter/xml/XMLRedlineImportHelper.hxx
index a1bd12dcb977..43bcdd5a92a8 100644
--- a/sw/source/filter/xml/XMLRedlineImportHelper.hxx
+++ b/sw/source/filter/xml/XMLRedlineImportHelper.hxx
@@ -31,11 +31,11 @@ class SvXMLImport;
 class RedlineInfo;
 class SwRedlineData;
 class SwDoc;
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
     namespace text { class XTextCursor; }
     namespace text { class XTextRange; }
     namespace frame { class XModel; }
-} } }
+}
 
 typedef std::map< OUString, RedlineInfo* > RedlineMapType;
 
diff --git a/sw/source/filter/xml/wrtxml.hxx b/sw/source/filter/xml/wrtxml.hxx
index 0e24bbda914c..c82afcc97436 100644
--- a/sw/source/filter/xml/wrtxml.hxx
+++ b/sw/source/filter/xml/wrtxml.hxx
@@ -29,14 +29,14 @@
 class SwPaM;
 class SfxMedium;
 
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
     namespace uno { template<class A> class Reference; }
     namespace uno { template<class A> class Sequence; }
     namespace uno { class Any; }
     namespace lang { class XComponent; }
     namespace lang { class XMultiServiceFactory; }
     namespace beans { struct PropertyValue; }
-} } }
+}
 
 class SwXMLWriter : public StgWriter
 {
diff --git a/sw/source/filter/xml/xmlbrshi.hxx b/sw/source/filter/xml/xmlbrshi.hxx
index 3e07e42de3aa..7fb735e3080f 100644
--- a/sw/source/filter/xml/xmlbrshi.hxx
+++ b/sw/source/filter/xml/xmlbrshi.hxx
@@ -30,9 +30,9 @@ class SvXMLImport;
 class SvXMLUnitConverter;
 class SvxBrushItem;
 
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
     namespace io { class XOutputStream; }
-} } }
+}
 
 class SwXMLBrushItemImportContext : public SvXMLImportContext
 {
diff --git a/sw/source/filter/xml/xmltbli.hxx b/sw/source/filter/xml/xmltbli.hxx
index e8e10df55225..445cd4b0534a 100644
--- a/sw/source/filter/xml/xmltbli.hxx
+++ b/sw/source/filter/xml/xmltbli.hxx
@@ -42,10 +42,10 @@ class SwXMLDDETableContext_Impl;
 class TableBoxIndexHasher;
 class TableBoxIndex;
 
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
     namespace text { class XTextContent; }
     namespace text { class XTextCursor; }
-} } }
+}
 
 class SwXMLTableContext : public XMLTextTableContext
 {
diff --git a/sw/source/filter/xml/xmltexte.hxx b/sw/source/filter/xml/xmltexte.hxx
index 8da021506c0d..e7ec5a991d3e 100644
--- a/sw/source/filter/xml/xmltexte.hxx
+++ b/sw/source/filter/xml/xmltexte.hxx
@@ -28,9 +28,7 @@
 class SwXMLExport;
 class SvXMLAutoStylePoolP;
 class SwNoTextNode;
-
-namespace com { namespace sun { namespace star { namespace style {
-                class XStyle; } } } }
+namespace com::sun::star::style { class XStyle; }
 
 class SwXMLTextParagraphExport : public XMLTextParagraphExport
 {
diff --git a/sw/source/ui/dbui/addresslistdialog.hxx b/sw/source/ui/dbui/addresslistdialog.hxx
index e3662fdf9da2..dc0873af000e 100644
--- a/sw/source/ui/dbui/addresslistdialog.hxx
+++ b/sw/source/ui/dbui/addresslistdialog.hxx
@@ -23,7 +23,7 @@
 #include <swdbdata.hxx>
 #include <sharedconnection.hxx>
 
-namespace com{namespace sun{namespace star{
+namespace com::sun::star{
     namespace container{
         class XNameAccess;
     }
@@ -36,7 +36,7 @@ namespace com{namespace sun{namespace star{
     namespace sdbcx{
         class XColumnsSupplier;
     }
-}}}
+}
 class SwMailMergeAddressBlockPage;
 
 struct AddressUserData_Impl;
diff --git a/sw/source/ui/dbui/dbtablepreviewdialog.hxx b/sw/source/ui/dbui/dbtablepreviewdialog.hxx
index ec2c58d92bf3..f914ea2bde58 100644
--- a/sw/source/ui/dbui/dbtablepreviewdialog.hxx
+++ b/sw/source/ui/dbui/dbtablepreviewdialog.hxx
@@ -22,10 +22,10 @@
 #include <sfx2/basedlgs.hxx>
 #include <com/sun/star/uno/Sequence.h>
 
-namespace com{ namespace sun{ namespace star{
+namespace com::sun::star{
     namespace beans{  struct PropertyValue; }
     namespace frame{ class XFrame2;     }
-    }}}
+}
 
 class SwDBTablePreviewDialog : public SfxDialogController
 {
diff --git a/sw/source/ui/dbui/mmlayoutpage.hxx b/sw/source/ui/dbui/mmlayoutpage.hxx
index 6bacb3c5518c..a0f732e8af28 100644
--- a/sw/source/ui/dbui/mmlayoutpage.hxx
+++ b/sw/source/ui/dbui/mmlayoutpage.hxx
@@ -29,7 +29,7 @@ class SwOneExampleFrame;
 class SwWrtShell;
 class SwView;
 
-namespace com{ namespace sun{ namespace star{ namespace beans{ class XPropertySet;}}}}
+namespace com::sun::star::beans{ class XPropertySet;}
 
 class SwMailMergeLayoutPage : public vcl::OWizardPage
 {
diff --git a/sw/source/ui/dbui/selectdbtabledialog.hxx b/sw/source/ui/dbui/selectdbtabledialog.hxx
index 4c4acfcc167d..852a7570d285 100644
--- a/sw/source/ui/dbui/selectdbtabledialog.hxx
+++ b/sw/source/ui/dbui/selectdbtabledialog.hxx
@@ -21,11 +21,7 @@
 
 #include <sfx2/basedlgs.hxx>
 
-namespace com{namespace sun{namespace star{
-    namespace sdbc{
-        class XConnection;
-    }
-}}}
+namespace com::sun::star::sdbc { class XConnection; }
 
 class SwSelectDBTableDialog : public SfxDialogController
 {
diff --git a/sw/source/ui/fldui/flddinf.hxx b/sw/source/ui/fldui/flddinf.hxx
index 826f5b562627..fb6fffff8036 100644
--- a/sw/source/ui/fldui/flddinf.hxx
+++ b/sw/source/ui/fldui/flddinf.hxx
@@ -23,9 +23,7 @@
 #include <numfmtlb.hxx>
 #include "fldpage.hxx"
 
-namespace com{namespace sun{ namespace star{ namespace beans{
-    class XPropertySet;
-}}}}
+namespace com::sun::star::beans { class XPropertySet; }
 
 class SwFieldDokInfPage : public SwFieldPage
 {
diff --git a/sw/source/ui/inc/mmresultdialogs.hxx b/sw/source/ui/inc/mmresultdialogs.hxx
index 324ee3b7931f..4db8e0e766f4 100644
--- a/sw/source/ui/inc/mmresultdialogs.hxx
+++ b/sw/source/ui/inc/mmresultdialogs.hxx
@@ -28,12 +28,8 @@
 class SwMailMergeWizard;
 class SfxPrinter;
 class SwSendMailDialog;
+namespace com::sun::star::mail { class XMailMessage; }
 
-namespace com{ namespace sun{ namespace star{
-    namespace mail{
-        class XMailMessage;
-    }
-}}}
 
 /// Dialog implementing the saving as of the result document.
 class SwMMResultSaveDialog : public SfxDialogController
diff --git a/sw/source/ui/vba/service.hxx b/sw/source/ui/vba/service.hxx
index eee1f816410d..3ed37ff0ffe5 100644
--- a/sw/source/ui/vba/service.hxx
+++ b/sw/source/ui/vba/service.hxx
@@ -12,7 +12,7 @@
 
 #include <sal/config.h>
 
-namespace comphelper { namespace service_decl { class ServiceDecl; } }
+namespace comphelper::service_decl { class ServiceDecl; }
 
 namespace document {
 extern comphelper::service_decl::ServiceDecl const serviceDecl;
diff --git a/sw/source/uibase/docvw/AnchorOverlayObject.hxx b/sw/source/uibase/docvw/AnchorOverlayObject.hxx
index 94f9d48bdd07..180d017577a8 100644
--- a/sw/source/uibase/docvw/AnchorOverlayObject.hxx
+++ b/sw/source/uibase/docvw/AnchorOverlayObject.hxx
@@ -28,7 +28,7 @@ class SwView;
 class SwRect;
 class Point;
 
-namespace sw { namespace sidebarwindows {
+namespace sw::sidebarwindows {
 
 enum class AnchorState
 {
@@ -116,7 +116,7 @@ class AnchorOverlayObject final : public sdr::overlay::OverlayObjectWithBasePosi
         virtual ~AnchorOverlayObject() override;
 };
 
-} } // end of namespace sw::annotation
+} // end of namespace sw::annotation
 
 #endif
 
diff --git a/sw/source/uibase/docvw/AnnotationMenuButton.hxx b/sw/source/uibase/docvw/AnnotationMenuButton.hxx
index 74bbcc5a02ab..2e8ce9221b20 100644
--- a/sw/source/uibase/docvw/AnnotationMenuButton.hxx
+++ b/sw/source/uibase/docvw/AnnotationMenuButton.hxx
@@ -22,11 +22,11 @@
 
 #include <vcl/menubtn.hxx>
 
-namespace sw { namespace annotation {
+namespace sw::annotation {
     class SwAnnotationWin;
-} }
+}
 
-namespace sw { namespace annotation {
+namespace sw::annotation {
 
 class AnnotationMenuButton : public MenuButton
 {
@@ -47,7 +47,7 @@ class AnnotationMenuButton : public MenuButton
         sw::annotation::SwAnnotationWin& mrSidebarWin;
 };
 
-} } // end of namespace sw::annotation
+} // end of namespace sw::annotation
 
 #endif
 
diff --git a/sw/source/uibase/docvw/ShadowOverlayObject.hxx b/sw/source/uibase/docvw/ShadowOverlayObject.hxx
index ec2c7eaf44c1..b9af12c58d72 100644
--- a/sw/source/uibase/docvw/ShadowOverlayObject.hxx
+++ b/sw/source/uibase/docvw/ShadowOverlayObject.hxx
@@ -24,7 +24,7 @@
 
 class SwView;
 
-namespace sw { namespace sidebarwindows {
+namespace sw::sidebarwindows {
 
 enum ShadowState
 {
@@ -59,7 +59,7 @@ public:
         static std::unique_ptr<ShadowOverlayObject> CreateShadowOverlayObject( SwView const & rDocView );
 };
 
-} } // end of namespace sw::sidebarwindows
+} // end of namespace sw::sidebarwindows
 
 #endif
 
diff --git a/sw/source/uibase/docvw/SidebarTxtControl.hxx b/sw/source/uibase/docvw/SidebarTxtControl.hxx
index 6df1feef37d5..af2d2ff6747e 100644
--- a/sw/source/uibase/docvw/SidebarTxtControl.hxx
+++ b/sw/source/uibase/docvw/SidebarTxtControl.hxx
@@ -26,11 +26,9 @@ class OutlinerView;
 class SwView;
 class SwPostItMgr;
 struct SpellCallbackInfo;
-namespace sw { namespace annotation {
-    class SwAnnotationWin;
-} }
+namespace sw::annotation { class SwAnnotationWin; }
 
-namespace sw { namespace sidebarwindows {
+namespace sw::sidebarwindows {
 
 class SidebarTextControl : public Control
 {
@@ -72,7 +70,7 @@ class SidebarTextControl : public Control
         virtual void Draw(OutputDevice* pDev, const Point&, const Size&, DrawFlags) override;
 };
 
-} } // end of namespace sw::sidebarwindows
+} // end of namespace sw::sidebarwindows
 
 #endif
 
diff --git a/sw/source/uibase/docvw/SidebarTxtControlAcc.hxx b/sw/source/uibase/docvw/SidebarTxtControlAcc.hxx
index a8f09616c836..b05693484be2 100644
--- a/sw/source/uibase/docvw/SidebarTxtControlAcc.hxx
+++ b/sw/source/uibase/docvw/SidebarTxtControlAcc.hxx
@@ -22,7 +22,7 @@
 
 #include <toolkit/awt/vclxwindow.hxx>
 
-namespace sw { namespace sidebarwindows {
+namespace sw::sidebarwindows {
 
 class SidebarTextControl;
 
@@ -39,7 +39,7 @@ class SidebarTextControlAccessible : public VCLXWindow
         SidebarTextControl& mrSidebarTextControl;
 };
 
-} } // end of namespace sw::sidebarwindows
+} // end of namespace sw::sidebarwindows
 
 #endif
 
diff --git a/sw/source/uibase/docvw/SidebarWinAcc.hxx b/sw/source/uibase/docvw/SidebarWinAcc.hxx
index 4d3880aa1374..f22dfac3ef80 100644
--- a/sw/source/uibase/docvw/SidebarWinAcc.hxx
+++ b/sw/source/uibase/docvw/SidebarWinAcc.hxx
@@ -25,11 +25,9 @@
 class SwViewShell;
 class SwSidebarItem;
 class SwFrame;
-namespace sw { namespace annotation {
-    class SwAnnotationWin;
-} }
+namespace sw::annotation { class SwAnnotationWin; }
 
-namespace sw { namespace sidebarwindows {
+namespace sw::sidebarwindows {
 
 class SidebarWinAccessible : public VCLXWindow
 {
@@ -51,7 +49,7 @@ class SidebarWinAccessible : public VCLXWindow
         bool bAccContextCreated;
 };
 
-} } // end of namespace sw::sidebarwindows
+} // end of namespace sw::sidebarwindows
 
 #endif
 
diff --git a/sw/source/uibase/docvw/frmsidebarwincontainer.hxx b/sw/source/uibase/docvw/frmsidebarwincontainer.hxx
index ecab2380d319..4e8d7b41ab03 100644
--- a/sw/source/uibase/docvw/frmsidebarwincontainer.hxx
+++ b/sw/source/uibase/docvw/frmsidebarwincontainer.hxx
@@ -26,11 +26,9 @@
 class SwFrame;
 class SwFormatField;
 namespace vcl { class Window; }
-namespace sw { namespace annotation {
-    class SwAnnotationWin;
-} }
+namespace sw::annotation { class SwAnnotationWin; }
 
-namespace sw { namespace sidebarwindows {
+namespace sw::sidebarwindows {
 
 class FrameSidebarWinContainer;
 
@@ -59,7 +57,7 @@ class SwFrameSidebarWinContainer
         std::unique_ptr<FrameSidebarWinContainer> mpFrameSidebarWinContainer;
 };
 
-} } // eof of namespace sw::sidebarwindows::
+} // namespace sw::sidebarwindows
 
 #endif
 
diff --git a/sw/source/uibase/inc/SidebarWindowsConsts.hxx b/sw/source/uibase/inc/SidebarWindowsConsts.hxx
index db36abeef2e8..a6becb92b499 100644
--- a/sw/source/uibase/inc/SidebarWindowsConsts.hxx
+++ b/sw/source/uibase/inc/SidebarWindowsConsts.hxx
@@ -22,11 +22,11 @@
 
 #include <sal/types.h>
 
-namespace sw { namespace sidebarwindows {
+namespace sw::sidebarwindows {
 
 const sal_Int8 ANCHORLINE_WIDTH = 1;
 
-} } // end of namespace sw::sidebarwindows
+} // end of namespace sw::sidebarwindows
 
 #endif
 
diff --git a/sw/source/uibase/inc/SwXFilterOptions.hxx b/sw/source/uibase/inc/SwXFilterOptions.hxx
index 85539e391ff7..e9e036b5f193 100644
--- a/sw/source/uibase/inc/SwXFilterOptions.hxx
+++ b/sw/source/uibase/inc/SwXFilterOptions.hxx
@@ -28,9 +28,7 @@
 #include <com/sun/star/lang/XServiceInfo.hpp>
 #include <cppuhelper/implbase.hxx>
 
-namespace com { namespace sun { namespace star { namespace io {
-    class XInputStream;
-} } } }
+namespace com::sun::star::io { class XInputStream; }
 
 class SwXFilterOptions : public ::cppu::WeakImplHelper<
                             css::beans::XPropertyAccess,
diff --git a/sw/source/uibase/inc/dbinsdlg.hxx b/sw/source/uibase/inc/dbinsdlg.hxx
index 25175f9ea85f..0dc715d1c6fd 100644
--- a/sw/source/uibase/inc/dbinsdlg.hxx
+++ b/sw/source/uibase/inc/dbinsdlg.hxx
@@ -32,16 +32,16 @@
 #include <memory>
 #include <vector>
 
-namespace com{namespace sun{namespace star{
+namespace com::sun::star{
     namespace sdbcx{
-    class XColumnsSupplier;
+        class XColumnsSupplier;
     }
     namespace sdbc{
-    class XDataSource;
-    class XConnection;
-    class XResultSet;
+        class XDataSource;
+        class XConnection;
+        class XResultSet;
     }
-}}}
+}
 
 class SwTableAutoFormat;
 class SwView;
diff --git a/sw/source/uibase/inc/fldmgr.hxx b/sw/source/uibase/inc/fldmgr.hxx
index 29ad3d768955..9a701e2a4280 100644
--- a/sw/source/uibase/inc/fldmgr.hxx
+++ b/sw/source/uibase/inc/fldmgr.hxx
@@ -27,14 +27,14 @@
 #include <memory>
 #include <vector>
 
-namespace com{namespace sun{namespace star{
+namespace com::sun::star{
     namespace container{
         class XNameAccess;
     }
     namespace text{
         class XNumberingTypeInfo;
     }
-}}}
+}
 
 class SwWrtShell;
 class SwField;
diff --git a/sw/source/uibase/inc/mailmergehelper.hxx b/sw/source/uibase/inc/mailmergehelper.hxx
index 88bd4bb86184..3b476a5245bf 100644
--- a/sw/source/uibase/inc/mailmergehelper.hxx
+++ b/sw/source/uibase/inc/mailmergehelper.hxx
@@ -35,10 +35,10 @@
 
 class SwMailMergeConfigItem;
 
-namespace com { namespace sun { namespace star { namespace mail {
+namespace com::sun::star::mail {
     class XMailService;
     class XSmtpService;
-} } } }
+}
 
 namespace SwMailMergeHelper
 {
diff --git a/sw/source/uibase/inc/mailmrge.hxx b/sw/source/uibase/inc/mailmrge.hxx
index c1027c8aec5c..fca25ac29c91 100644
--- a/sw/source/uibase/inc/mailmrge.hxx
+++ b/sw/source/uibase/inc/mailmrge.hxx
@@ -31,7 +31,7 @@ class SwWrtShell;
 class SwModuleOptions;
 class SwXSelChgLstnr_Impl;
 struct SwMailMergeDlg_Impl;
-namespace com{namespace sun{namespace star{
+namespace com::sun::star{
     namespace frame{
         class XFrame2;
     }
@@ -39,7 +39,7 @@ namespace com{namespace sun{namespace star{
         class XResultSet;
         class XConnection;
     }
-}}}
+}
 
 class SwMailMergeDlg : public SfxDialogController
 {
diff --git a/sw/source/uibase/inc/mmconfigitem.hxx b/sw/source/uibase/inc/mmconfigitem.hxx
index d21bed6cd210..bae35cfdcb14 100644
--- a/sw/source/uibase/inc/mmconfigitem.hxx
+++ b/sw/source/uibase/inc/mmconfigitem.hxx
@@ -29,7 +29,7 @@
 #include <swdllapi.h>
 #include "sharedconnection.hxx"
 
-namespace com{namespace sun{namespace star{
+namespace com::sun::star{
     namespace sdbc{
         class XDataSource;
         class XResultSet;
@@ -37,11 +37,11 @@ namespace com{namespace sun{namespace star{
     namespace sdbcx{
         class XColumnsSupplier;
     }
-}}}
+}
 
 class SwMailMergeConfigItem_Impl;
 class SwView;
-namespace sw { namespace mark { class IMark; }}
+namespace sw::mark { class IMark; }
 
 struct SwDocMergeInfo
 {
diff --git a/sw/source/uibase/inc/srcedtw.hxx b/sw/source/uibase/inc/srcedtw.hxx
index 5a12c3b01cf3..e48226f351b6 100644
--- a/sw/source/uibase/inc/srcedtw.hxx
+++ b/sw/source/uibase/inc/srcedtw.hxx
@@ -27,10 +27,7 @@
 #include <vcl/xtextedt.hxx>
 #include <set>
 
-namespace com { namespace sun { namespace star { namespace beans {
-    class XMultiPropertySet;
-} } } }
-
+namespace com::sun::star::beans { class XMultiPropertySet; }
 class ScrollBar;
 class SwSrcView;
 class SwSrcEditWindow;
diff --git a/sw/source/uibase/inc/swuicnttab.hxx b/sw/source/uibase/inc/swuicnttab.hxx
index 1f78ac1d36d5..1628cf225c34 100644
--- a/sw/source/uibase/inc/swuicnttab.hxx
+++ b/sw/source/uibase/inc/swuicnttab.hxx
@@ -38,12 +38,12 @@ class SwTOXEntryTabPage;
 class SwOneExampleFrame;
 class SwWrtShell;
 
-namespace com{namespace sun{namespace star{
+namespace com::sun::star{
     namespace text{
         class XTextSection;
         class XDocumentIndex;
     }
-}}}
+}
 
 struct SwIndexSections_Impl
 {
diff --git a/sw/source/uibase/inc/tablemgr.hxx b/sw/source/uibase/inc/tablemgr.hxx
index c1f2893c7ce1..227ac0744056 100644
--- a/sw/source/uibase/inc/tablemgr.hxx
+++ b/sw/source/uibase/inc/tablemgr.hxx
@@ -30,13 +30,12 @@ class SwWrtShell;
 namespace vcl { class Window; }
 class SwFlyFrameFormat;
 
-namespace com { namespace sun { namespace star {
-    namespace frame {
-        class XModel; }
+namespace com::sun::star {
+    namespace frame { class XModel; }
     namespace chart2 {
-    namespace data {
-        class XDataProvider; } }
-}}}
+        namespace data {
+            class XDataProvider; } }
+}
 
 const SwTwips lAutoWidth = INVALID_TWIPS;
 const char cParaDelim = 0x0a;
diff --git a/sw/source/uibase/inc/uivwimp.hxx b/sw/source/uibase/inc/uivwimp.hxx
index ec91c89c4402..ae9f3d7b3693 100644
--- a/sw/source/uibase/inc/uivwimp.hxx
+++ b/sw/source/uibase/inc/uivwimp.hxx
@@ -33,14 +33,14 @@ class SwTransferable;
 class SfxRequest;
 
 namespace sfx2 { class DocumentInserter; }
-namespace com{ namespace sun{ namespace star {
+namespace com::sun::star {
     namespace frame {
         class XDispatchProviderInterceptor;
     }
     namespace lang {
         class XUnoTunnel;
     }
-}}}
+}
 
 class SwScannerEventListener : public ::cppu::WeakImplHelper<
     css::lang::XEventListener >
diff --git a/sw/source/uibase/inc/unomailmerge.hxx b/sw/source/uibase/inc/unomailmerge.hxx
index b8d6c1866ed1..2b35f7cd3a13 100644
--- a/sw/source/uibase/inc/unomailmerge.hxx
+++ b/sw/source/uibase/inc/unomailmerge.hxx
@@ -34,7 +34,7 @@
 #include <svl/itemprop.hxx>
 #include <sfx2/objsh.hxx>
 
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
 
     namespace sdbc {
         class XResultSet;
@@ -54,7 +54,7 @@ namespace com { namespace sun { namespace star {
         struct PropertyValue;
     }
 
-}}}
+}
 
 typedef cppu::OMultiTypeInterfaceContainerHelperVar<sal_Int32>
     OPropertyListenerContainerHelper;
diff --git a/sw/source/uibase/sidebar/PageColumnControl.hxx b/sw/source/uibase/sidebar/PageColumnControl.hxx
index 869a5e211c24..140c948721dc 100644
--- a/sw/source/uibase/sidebar/PageColumnControl.hxx
+++ b/sw/source/uibase/sidebar/PageColumnControl.hxx
@@ -24,7 +24,7 @@
 
 class PageColumnPopup;
 
-namespace sw { namespace sidebar {
+namespace sw::sidebar {
 
 class PageColumnControl final : public WeldToolbarPopup
 {
@@ -49,7 +49,7 @@ private:
     DECL_LINK( MoreButtonClickHdl_Impl, weld::Button&, void );
 };
 
-} } // end of namespace sw::sidebar
+} // end of namespace sw::sidebar
 
 #endif
 
diff --git a/sw/source/uibase/sidebar/PageFooterPanel.hxx b/sw/source/uibase/sidebar/PageFooterPanel.hxx
index 17fe67560abd..849a3165d474 100644
--- a/sw/source/uibase/sidebar/PageFooterPanel.hxx
+++ b/sw/source/uibase/sidebar/PageFooterPanel.hxx
@@ -34,7 +34,7 @@
 #include <svx/spacinglistbox.hxx>
 #include <svx/samecontentlistbox.hxx>
 
-namespace sw { namespace sidebar {
+namespace sw::sidebar {
 
 class PageFooterPanel:
     public PanelLayout,
@@ -103,7 +103,7 @@ private:
     DECL_LINK( FooterLayoutHdl, weld::ComboBox&, void);
 };
 
-} } //end of namespace sw::sidebar
+} //end of namespace sw::sidebar
 
 #endif
 
diff --git a/sw/source/uibase/sidebar/PageFormatPanel.hxx b/sw/source/uibase/sidebar/PageFormatPanel.hxx
index 2ce0be120aa1..4ea09bb503a1 100644
--- a/sw/source/uibase/sidebar/PageFormatPanel.hxx
+++ b/sw/source/uibase/sidebar/PageFormatPanel.hxx
@@ -35,7 +35,7 @@
 
 #include <memory>
 
-namespace sw { namespace sidebar {
+namespace sw::sidebar {
 
 class PageFormatPanel:
     public PanelLayout,
@@ -105,7 +105,7 @@ private:
     DECL_LINK(PaperModifyMarginHdl, weld::ComboBox&, void );
 };
 
-} } //end of namespace sw::sidebar
+} //end of namespace sw::sidebar
 
 #endif
 
diff --git a/sw/source/uibase/sidebar/PageHeaderPanel.hxx b/sw/source/uibase/sidebar/PageHeaderPanel.hxx
index bafab02bfc99..c7701f9e77eb 100644
--- a/sw/source/uibase/sidebar/PageHeaderPanel.hxx
+++ b/sw/source/uibase/sidebar/PageHeaderPanel.hxx
@@ -34,7 +34,7 @@
 #include <svx/spacinglistbox.hxx>
 #include <svx/samecontentlistbox.hxx>
 
-namespace sw { namespace sidebar {
+namespace sw::sidebar {
 
 class PageHeaderPanel:
     public PanelLayout,
@@ -103,7 +103,7 @@ private:
     DECL_LINK( HeaderLayoutHdl, weld::ComboBox&, void);
 };
 
-} } //end of namespace sw::sidebar
+} //end of namespace sw::sidebar
 
 #endif
 
diff --git a/sw/source/uibase/sidebar/PageMarginControl.hxx b/sw/source/uibase/sidebar/PageMarginControl.hxx
index 83b98c0e244c..1c945e815d65 100644
--- a/sw/source/uibase/sidebar/PageMarginControl.hxx
+++ b/sw/source/uibase/sidebar/PageMarginControl.hxx
@@ -32,7 +32,7 @@ static const long MINBODY = 56;  // 1mm in twips rounded
 
 class PageMarginPopup;
 
-namespace sw { namespace sidebar {
+namespace sw::sidebar {
 
 class PageMarginControl final : public WeldToolbarPopup
 {
@@ -102,7 +102,7 @@ private:
     void FillHelpText( const bool bUserCustomValuesAvailable );
 };
 
-} } // end of namespace sw::sidebar
+} // end of namespace sw::sidebar
 
 #endif
 
diff --git a/sw/source/uibase/sidebar/PageMarginUtils.hxx b/sw/source/uibase/sidebar/PageMarginUtils.hxx
index 33408c282630..1361361a18a1 100644
--- a/sw/source/uibase/sidebar/PageMarginUtils.hxx
+++ b/sw/source/uibase/sidebar/PageMarginUtils.hxx
@@ -26,7 +26,7 @@
 #define SWPAGE_WIDE_VALUE3     1800
 #define SWPAGE_UNIT_THRESHOLD  5
 
-namespace sw { namespace sidebar{
+namespace sw::sidebar{
 
 bool IsNone( const long nPageLeftMargin, const long nPageRightMargin,
                const long nPageTopMargin, const long nPageBottomMargin, bool bMirrored)
@@ -187,6 +187,6 @@ void SetMirrored( long& nPageLeftMargin, long& nPageRightMargin,
     nPageBottomMargin = SWPAGE_WIDE_VALUE1;
     bMirrored = true;
 }
-} }
+}
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/uibase/sidebar/PageOrientationControl.hxx b/sw/source/uibase/sidebar/PageOrientationControl.hxx
index 206242de77f5..7cb825406fbc 100644
--- a/sw/source/uibase/sidebar/PageOrientationControl.hxx
+++ b/sw/source/uibase/sidebar/PageOrientationControl.hxx
@@ -27,7 +27,7 @@
 
 class PageOrientationPopup;
 
-namespace sw { namespace sidebar {
+namespace sw::sidebar {
 
 class PageOrientationControl final : public WeldToolbarPopup
 {
@@ -53,7 +53,7 @@ private:
     DECL_LINK(ImplOrientationHdl, weld::Button&, void);
 };
 
-} } // end of namespace sw::sidebar
+} // end of namespace sw::sidebar
 
 #endif
 
diff --git a/sw/source/uibase/sidebar/PageSizeControl.hxx b/sw/source/uibase/sidebar/PageSizeControl.hxx
index 1d627614630e..be43d0900b8a 100644
--- a/sw/source/uibase/sidebar/PageSizeControl.hxx
+++ b/sw/source/uibase/sidebar/PageSizeControl.hxx
@@ -26,14 +26,11 @@
 
 #include <vector>
 
-namespace svx { namespace sidebar {
-    class ValueSetWithTextControl;
-} }
-
+namespace svx::sidebar { class ValueSetWithTextControl; }
 class PageSizePopup;
 class ValueSet;
 
-namespace sw { namespace sidebar {
+namespace sw::sidebar {
 
 class PageSizeControl final : public WeldToolbarPopup
 {
@@ -58,7 +55,7 @@ private:
     DECL_LINK(MoreButtonClickHdl_Impl, weld::Button&, void);
 };
 
-} } // end of namespace sw::sidebar
+} // end of namespace sw::sidebar
 
 #endif
 
diff --git a/sw/source/uibase/sidebar/PageStylesPanel.hxx b/sw/source/uibase/sidebar/PageStylesPanel.hxx
index 5817d9802b81..7e3c09d2eebb 100644
--- a/sw/source/uibase/sidebar/PageStylesPanel.hxx
+++ b/sw/source/uibase/sidebar/PageStylesPanel.hxx
@@ -39,7 +39,7 @@
 
 class List;
 class ColorListBox;
-namespace sw { namespace sidebar {
+namespace sw::sidebar {
 
 class PageStylesPanel:
     public PanelLayout,
@@ -116,7 +116,7 @@ private:
     DECL_LINK( ModifyFillColorListHdl, ColorListBox&, void );
 };
 
-} } //end of namespace sw::sidebar
+} //end of namespace sw::sidebar
 
 #endif
 
diff --git a/sw/source/uibase/sidebar/StylePresetsPanel.hxx b/sw/source/uibase/sidebar/StylePresetsPanel.hxx
index 06d444304d74..c217710bedb6 100644
--- a/sw/source/uibase/sidebar/StylePresetsPanel.hxx
+++ b/sw/source/uibase/sidebar/StylePresetsPanel.hxx
@@ -20,7 +20,7 @@
 
 #include <svtools/valueset.hxx>
 
-namespace sw { namespace sidebar {
+namespace sw::sidebar {
 
 class StylePresetsPanel : public PanelLayout,
                        public sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
@@ -64,7 +64,7 @@ private:
     DECL_LINK(DoubleClickHdl, ValueSet*, void);
 };
 
-}} // end of namespace sw::sidebar
+} // end of namespace sw::sidebar
 
 #endif // INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_STYLEPRESETSPANEL_HXX
 
diff --git a/sw/source/uibase/sidebar/ThemePanel.hxx b/sw/source/uibase/sidebar/ThemePanel.hxx
index 47c0505db2db..a050f2d4c9ed 100644
--- a/sw/source/uibase/sidebar/ThemePanel.hxx
+++ b/sw/source/uibase/sidebar/ThemePanel.hxx
@@ -17,7 +17,7 @@
 #include <svtools/valueset.hxx>
 #include <svx/ColorSets.hxx>
 
-namespace sw { namespace sidebar {
+namespace sw::sidebar {
 
 class ThemePanel : public PanelLayout,
                        public sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
@@ -56,7 +56,7 @@ private:
 
 };
 
-}} // end of namespace sw::sidebar
+} // end of namespace sw::sidebar
 
 #endif // INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_THEMEPANEL_HXX
 
diff --git a/sw/source/uibase/sidebar/WrapPropertyPanel.hxx b/sw/source/uibase/sidebar/WrapPropertyPanel.hxx
index 3b8afc001ba8..1f4d16d80595 100644
--- a/sw/source/uibase/sidebar/WrapPropertyPanel.hxx
+++ b/sw/source/uibase/sidebar/WrapPropertyPanel.hxx
@@ -25,7 +25,7 @@
 #include <com/sun/star/frame/XFrame.hpp>
 #include <vcl/weld.hxx>
 
-namespace sw { namespace sidebar {
+namespace sw::sidebar {
 
     class WrapPropertyPanel
         : public PanelLayout
@@ -81,7 +81,7 @@ namespace sw { namespace sidebar {
         DECL_LINK(SpacingLBHdl, weld::ComboBox&, void);
     };
 
-} } // end of namespace ::sw::sidebar
+} // end of namespace ::sw::sidebar
 
 #endif
 
commit 00d170213a112922980db67df62b8ee324ff2631
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Sat May 9 15:54:06 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat May 9 20:02:29 2020 +0200

    compact namespace in sd
    
    Change-Id: Ifa8b9cb2a6c06e0365245790cfd1c4775bd87d15
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93861
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sd/inc/Annotation.hxx b/sd/inc/Annotation.hxx
index 74f945c6216e..ab08c234e0ec 100644
--- a/sd/inc/Annotation.hxx
+++ b/sd/inc/Annotation.hxx
@@ -27,11 +27,11 @@
 class SdPage;
 class SdrUndoAction;
 
-namespace com { namespace sun { namespace star { namespace office {
+namespace com::sun::star::office {
     class XAnnotation;
-} } } }
+}
 
-namespace com { namespace sun { namespace star { namespace uno { template <typename > class Reference; } } } }
+namespace com::sun::star::uno { template <typename > class Reference; }
 
 class SfxViewShell;
 
diff --git a/sd/inc/AnnotationEnumeration.hxx b/sd/inc/AnnotationEnumeration.hxx
index 6987cb0eb047..cc053f9db947 100644
--- a/sd/inc/AnnotationEnumeration.hxx
+++ b/sd/inc/AnnotationEnumeration.hxx
@@ -24,9 +24,9 @@
 
 #include "sdpage.hxx"
 
-namespace com { namespace sun { namespace star { namespace office {
+namespace com::sun::star::office {
     class XAnnotationEnumeration;
-} } } }
+}
 
 namespace sd {
 
diff --git a/sd/inc/TransitionPreset.hxx b/sd/inc/TransitionPreset.hxx
index ee44e48ee8ad..9365e051ecfa 100644
--- a/sd/inc/TransitionPreset.hxx
+++ b/sd/inc/TransitionPreset.hxx
@@ -27,10 +27,10 @@
 #include <memory>
 #include <unordered_map>
 
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
     namespace animations { class XAnimationNode; }
     namespace uno { template<class X> class Reference; }
-} } }
+}
 
 namespace sd {
 
diff --git a/sd/inc/createpresentation.hxx b/sd/inc/createpresentation.hxx
index 84138705c36f..77e45243c678 100644
--- a/sd/inc/createpresentation.hxx
+++ b/sd/inc/createpresentation.hxx
@@ -24,9 +24,9 @@
 
 #include <com/sun/star/uno/Reference.hxx>
 
-namespace com { namespace sun { namespace star { namespace presentation {
+namespace com::sun::star::presentation {
     class XPresentation2;
-} } } }
+}
 class SdDrawDocument;
 
 css::uno::Reference<css::presentation::XPresentation2> CreatePresentation(
diff --git a/sd/inc/createunocustomshow.hxx b/sd/inc/createunocustomshow.hxx
index a10195946c98..dbe19babeb0c 100644
--- a/sd/inc/createunocustomshow.hxx
+++ b/sd/inc/createunocustomshow.hxx
@@ -22,7 +22,7 @@
 
 #include <com/sun/star/uno/Reference.hxx>
 
-namespace com { namespace sun { namespace star { namespace uno { class XInterface; } } } }
+namespace com::sun::star::uno { class XInterface; }
 class SdCustomShow;
 
 css::uno::Reference<css::uno::XInterface> createUnoCustomShow(
diff --git a/sd/inc/createunopageimpl.hxx b/sd/inc/createunopageimpl.hxx
index 222c0a861fbb..cc134fb45fb9 100644
--- a/sd/inc/createunopageimpl.hxx
+++ b/sd/inc/createunopageimpl.hxx
@@ -22,7 +22,7 @@
 
 #include <com/sun/star/uno/Reference.hxx>
 
-namespace com { namespace sun { namespace star { namespace uno { class XInterface; } } } }
+namespace com::sun::star::uno { class XInterface; }
 class SdPage;
 
 css::uno::Reference< css::uno::XInterface > createUnoPageImpl( SdPage* pPage );
diff --git a/sd/inc/drawdoc.hxx b/sd/inc/drawdoc.hxx
index 28ea7a6107f0..9bcce338fa0e 100644
--- a/sd/inc/drawdoc.hxx
+++ b/sd/inc/drawdoc.hxx
@@ -32,8 +32,8 @@
 #include "sddllapi.h"
 #include "pres.hxx"
 
-namespace com { namespace sun { namespace star { namespace xml { namespace dom { class XNode; } } } } }
-namespace com { namespace sun { namespace star { namespace uno { class XInterface; } } } }
+namespace com::sun::star::xml::dom { class XNode; }
+namespace com::sun::star::uno { class XInterface; }
 namespace vcl { class Font; }
 
 namespace com
diff --git a/sd/inc/sdmod.hxx b/sd/inc/sdmod.hxx
index 7b12253c07d8..9b07b442abdc 100644
--- a/sd/inc/sdmod.hxx
+++ b/sd/inc/sdmod.hxx
@@ -45,9 +45,9 @@ struct SfxItemPropertyMapEntry;
 class VclSimpleEvent;
 namespace svtools { class ColorConfig; }
 
-namespace com { namespace sun { namespace star { namespace frame {
+namespace com::sun::star::frame {
     class XFrame;
-} } } }
+}
 
 enum class SdOptionStreamMode
 {
diff --git a/sd/inc/sdpage.hxx b/sd/inc/sdpage.hxx
index 97463be5fa9f..c29d2c84ebe2 100644
--- a/sd/inc/sdpage.hxx
+++ b/sd/inc/sdpage.hxx
@@ -36,9 +36,9 @@
 #include "misc/scopelock.hxx"
 #include "sddllapi.h"
 
-namespace com { namespace sun { namespace star { namespace animations {
+namespace com::sun::star::animations {
     class XAnimationNode;
-} } } }
+}
 
 class SfxStyleSheet;
 class SdDrawDocument;
diff --git a/sd/source/filter/eppt/eppt.hxx b/sd/source/filter/eppt/eppt.hxx
index 7699c09158fe..04255e711d99 100644
--- a/sd/source/filter/eppt/eppt.hxx
+++ b/sd/source/filter/eppt/eppt.hxx
@@ -32,13 +32,13 @@
 
 #include "epptbase.hxx"
 
-namespace com { namespace sun { namespace star { namespace awt { class XControlModel; } } } }
-namespace com { namespace sun { namespace star { namespace beans { class XPropertySet; } } } }
-namespace com { namespace sun { namespace star { namespace beans { struct PropertyValue; } } } }
-namespace com { namespace sun { namespace star { namespace drawing { class XShape; } } } }
-namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
-namespace com { namespace sun { namespace star { namespace task { class XStatusIndicator; } } } }
-namespace com { namespace sun { namespace star { namespace text { class XSimpleText; } } } }
+namespace com::sun::star::awt { class XControlModel; }
+namespace com::sun::star::beans { class XPropertySet; }
+namespace com::sun::star::beans { struct PropertyValue; }
+namespace com::sun::star::drawing { class XShape; }
+namespace com::sun::star::frame { class XModel; }
+namespace com::sun::star::task { class XStatusIndicator; }
+namespace com::sun::star::text { class XSimpleText; }
 
 class SotStorage;
 
diff --git a/sd/source/filter/eppt/epptbase.hxx b/sd/source/filter/eppt/epptbase.hxx
index a5c1a4842f5b..776a44e9fbb6 100644
--- a/sd/source/filter/eppt/epptbase.hxx
+++ b/sd/source/filter/eppt/epptbase.hxx
@@ -36,17 +36,17 @@
 
 #include "grouptable.hxx"
 
-namespace com { namespace sun { namespace star { namespace task { class XStatusIndicator; } } } }
-namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
-namespace com { namespace sun { namespace star { namespace awt { struct Rectangle; } } } }
-namespace com { namespace sun { namespace star { namespace drawing { class XMasterPagesSupplier; } } } }
-namespace com { namespace sun { namespace star { namespace drawing { class XDrawPage; } } } }
-namespace com { namespace sun { namespace star { namespace drawing { class XDrawPages; } } } }
-namespace com { namespace sun { namespace star { namespace drawing { class XDrawPagesSupplier; } } } }
-namespace com { namespace sun { namespace star { namespace beans { struct PropertyValue; } } } }
-namespace com { namespace sun { namespace star { namespace beans { class XPropertySet; } } } }
-namespace com { namespace sun { namespace star { namespace drawing { class XShape; } } } }
-namespace com { namespace sun { namespace star { namespace drawing { class XShapes; } } } }
+namespace com::sun::star::task { class XStatusIndicator; }
+namespace com::sun::star::frame { class XModel; }
+namespace com::sun::star::awt { struct Rectangle; }
+namespace com::sun::star::drawing { class XMasterPagesSupplier; }
+namespace com::sun::star::drawing { class XDrawPage; }
+namespace com::sun::star::drawing { class XDrawPages; }
+namespace com::sun::star::drawing { class XDrawPagesSupplier; }
+namespace com::sun::star::beans { struct PropertyValue; }
+namespace com::sun::star::beans { class XPropertySet; }
+namespace com::sun::star::drawing { class XShape; }
+namespace com::sun::star::drawing { class XShapes; }
 
 class VirtualDevice;
 
diff --git a/sd/source/filter/eppt/pptexanimations.hxx b/sd/source/filter/eppt/pptexanimations.hxx
index 99cff57b844c..87432a7b5cb0 100644
--- a/sd/source/filter/eppt/pptexanimations.hxx
+++ b/sd/source/filter/eppt/pptexanimations.hxx
@@ -31,11 +31,11 @@
 #include <memory>
 #include <vector>
 
-namespace com { namespace sun { namespace star { namespace animations { class XAnimate; } } } }
-namespace com { namespace sun { namespace star { namespace animations { class XAnimationNode; } } } }
-namespace com { namespace sun { namespace star { namespace beans { struct NamedValue; } } } }
-namespace com { namespace sun { namespace star { namespace drawing { class XDrawPage; } } } }
-namespace com { namespace sun { namespace star { namespace drawing { class XShape; } } } }
+namespace com::sun::star::animations { class XAnimate; }
+namespace com::sun::star::animations { class XAnimationNode; }
+namespace com::sun::star::beans { struct NamedValue; }
+namespace com::sun::star::drawing { class XDrawPage; }
+namespace com::sun::star::drawing { class XShape; }
 namespace ppt { class ExSoundCollection; }
 
 class SvStream;
diff --git a/sd/source/filter/eppt/text.hxx b/sd/source/filter/eppt/text.hxx
index 4b9c85d9c9fd..2b9a4dd90a9d 100644
--- a/sd/source/filter/eppt/text.hxx
+++ b/sd/source/filter/eppt/text.hxx
@@ -28,12 +28,12 @@
 #include <vector>
 #include <memory>
 
-namespace com { namespace sun { namespace star {
-namespace awt { struct FontDescriptor; }
-namespace beans { class XPropertyState; }
-namespace text { class XTextRange; class XTextContent; class XSimpleText; }
-namespace style { struct TabStop; }
-}}}
+namespace com::sun::star {
+    namespace awt { struct FontDescriptor; }
+    namespace beans { class XPropertyState; }
+    namespace text { class XTextRange; class XTextContent; class XSimpleText; }
+    namespace style { struct TabStop; }
+}
 
 struct SOParagraph
 {
diff --git a/sd/source/filter/html/htmlex.hxx b/sd/source/filter/html/htmlex.hxx
index f49dde487f39..1622bc4a0e0c 100644
--- a/sd/source/filter/html/htmlex.hxx
+++ b/sd/source/filter/html/htmlex.hxx
@@ -32,8 +32,8 @@
 #include <vector>
 
 namespace basegfx { class B2DPolyPolygon; }
-namespace com { namespace sun { namespace star { namespace beans { struct PropertyValue; } } } }
-namespace com { namespace sun { namespace star { namespace ucb { class XSimpleFileAccess3; } } } }
+namespace com::sun::star::beans { struct PropertyValue; }
+namespace com::sun::star::ucb { class XSimpleFileAccess3; }
 namespace sd { class DrawDocShell; }
 namespace tools { class Rectangle; }
 
@@ -54,7 +54,7 @@ class SdPage;
 class HtmlState;
 class SdrTextObj;
 class SdrObjGroup;
-namespace sdr { namespace table { class SdrTableObj; } }
+namespace sdr::table { class SdrTableObj; }
 class SdrPage;
 class SdDrawDocument;
 class ButtonSet;
diff --git a/sd/source/filter/ppt/pptinanimations.hxx b/sd/source/filter/ppt/pptinanimations.hxx
index 7964304c1abb..f7f59e8be854 100644
--- a/sd/source/filter/ppt/pptinanimations.hxx
+++ b/sd/source/filter/ppt/pptinanimations.hxx
@@ -29,8 +29,8 @@
 #include <stdio.h>
 #endif
 
-namespace com { namespace sun { namespace star { namespace animations { class XAnimationNode; } } } }
-namespace com { namespace sun { namespace star { namespace drawing { class XDrawPage; } } } }
+namespace com::sun::star::animations { class XAnimationNode; }
+namespace com::sun::star::drawing { class XDrawPage; }
 namespace ppt { struct AnimationNode; }
 
 class DffRecordHeader;
diff --git a/sd/source/ui/animations/CustomAnimationList.hxx b/sd/source/ui/animations/CustomAnimationList.hxx
index 95ee309c5f0f..f704e1b92b4f 100644
--- a/sd/source/ui/animations/CustomAnimationList.hxx
+++ b/sd/source/ui/animations/CustomAnimationList.hxx
@@ -28,7 +28,7 @@
 #include <vcl/weld.hxx>
 #include <CustomAnimationEffect.hxx>
 
-namespace com { namespace sun { namespace star { namespace drawing { class XShape; } } } }
+namespace com::sun::star::drawing { class XShape; }
 
 struct ImplSVEvent;
 class VclBuilder;
diff --git a/sd/source/ui/animations/CustomAnimationPane.hxx b/sd/source/ui/animations/CustomAnimationPane.hxx
index adecbaa976a5..078bb5e69efe 100644
--- a/sd/source/ui/animations/CustomAnimationPane.hxx
+++ b/sd/source/ui/animations/CustomAnimationPane.hxx
@@ -28,21 +28,14 @@
 
 #include <vector>
 
-namespace com { namespace sun { namespace star { namespace drawing { class XDrawPage; } } } }
-namespace com { namespace sun { namespace star { namespace drawing { class XDrawView; } } } }
-
+namespace com::sun::star::drawing { class XDrawPage; }
+namespace com::sun::star::drawing { class XDrawView; }
 namespace weld { class ComboBox; }
+namespace com::sun::star::animations { class XAnimationNode; }
+namespace sd::tools { class EventMultiplexerEvent; }
 
 enum class PathKind { NONE, CURVE, POLYGON, FREEFORM };
 
-namespace com { namespace sun { namespace star { namespace animations {
-    class XAnimationNode;
-} } } }
-
-namespace sd { namespace tools {
-class EventMultiplexerEvent;
-} }
-
 namespace sd {
 
 class STLPropertySet;
diff --git a/sd/source/ui/animations/motionpathtag.hxx b/sd/source/ui/animations/motionpathtag.hxx
index c670aeeb0e69..82d596c90c23 100644
--- a/sd/source/ui/animations/motionpathtag.hxx
+++ b/sd/source/ui/animations/motionpathtag.hxx
@@ -25,7 +25,7 @@
 #include <smarttag.hxx>
 #include "CustomAnimationList.hxx"
 
-namespace com { namespace sun { namespace star { namespace drawing { class XShape; } } } }
+namespace com::sun::star::drawing { class XShape; }
 class SdrPathObj;
 
 namespace sd {
diff --git a/sd/source/ui/annotations/annotationmanagerimpl.hxx b/sd/source/ui/annotations/annotationmanagerimpl.hxx
index 19c0ce21929e..92d27cd8a81b 100644
--- a/sd/source/ui/annotations/annotationmanagerimpl.hxx
+++ b/sd/source/ui/annotations/annotationmanagerimpl.hxx
@@ -29,9 +29,9 @@
 
 #include "annotationtag.hxx"
 
-namespace com { namespace sun { namespace star { namespace drawing { class XDrawView; } } } }
-namespace com { namespace sun { namespace star { namespace office { class XAnnotationAccess; } } } }
-namespace com { namespace sun { namespace star { namespace office { class XAnnotation; } } } }
+namespace com::sun::star::drawing { class XDrawView; }
+namespace com::sun::star::office { class XAnnotationAccess; }
+namespace com::sun::star::office { class XAnnotation; }
 
 class SfxRequest;
 class SdPage;
diff --git a/sd/source/ui/annotations/annotationtag.hxx b/sd/source/ui/annotations/annotationtag.hxx
index f294db977177..f05b62cd8380 100644
--- a/sd/source/ui/annotations/annotationtag.hxx
+++ b/sd/source/ui/annotations/annotationtag.hxx
@@ -23,7 +23,7 @@
 #include <smarttag.hxx>
 #include "annotationwindow.hxx"
 
-namespace com { namespace sun { namespace star { namespace office { class XAnnotation; } } } }
+namespace com::sun::star::office { class XAnnotation; }
 
 namespace sd {
 
diff --git a/sd/source/ui/annotations/annotationwindow.hxx b/sd/source/ui/annotations/annotationwindow.hxx
index d6531c38a285..aa28144bd1d2 100644
--- a/sd/source/ui/annotations/annotationwindow.hxx
+++ b/sd/source/ui/annotations/annotationwindow.hxx
@@ -27,7 +27,7 @@
 
 #include <basegfx/polygon/b2dpolygon.hxx>
 
-namespace com { namespace sun { namespace star { namespace office { class XAnnotation; } } } }
+namespace com::sun::star::office { class XAnnotation; }
 
 class OutlinerView;
 class Outliner;
diff --git a/sd/source/ui/dlg/PhotoAlbumDialog.hxx b/sd/source/ui/dlg/PhotoAlbumDialog.hxx
index fced2d7c32c6..dc83b89ab586 100644
--- a/sd/source/ui/dlg/PhotoAlbumDialog.hxx
+++ b/sd/source/ui/dlg/PhotoAlbumDialog.hxx
@@ -18,9 +18,9 @@
 
 #include <com/sun/star/awt/Size.hpp>
 
-namespace com { namespace sun { namespace star { namespace drawing { class XDrawPage; } } } }
-namespace com { namespace sun { namespace star { namespace drawing { class XDrawPages; } } } }
-namespace com { namespace sun { namespace star { namespace graphic { class XGraphicProvider; } } } }
+namespace com::sun::star::drawing { class XDrawPage; }
+namespace com::sun::star::drawing { class XDrawPages; }
+namespace com::sun::star::graphic { class XGraphicProvider; }
 
 class SdDrawDocument;
 class GraphicFilter;
diff --git a/sd/source/ui/framework/configuration/ChangeRequestQueue.hxx b/sd/source/ui/framework/configuration/ChangeRequestQueue.hxx
index d63a64822c49..4961f0dc2cbb 100644
--- a/sd/source/ui/framework/configuration/ChangeRequestQueue.hxx
+++ b/sd/source/ui/framework/configuration/ChangeRequestQueue.hxx
@@ -24,9 +24,9 @@
 
 #include <queue>
 
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XConfigurationChangeRequest; } } } } }
+namespace com::sun::star::drawing::framework { class XConfigurationChangeRequest; }
 
-namespace sd { namespace framework {
+namespace sd::framework {
 
 /** The ChangeRequestQueue stores the pending requests for changes to the
     requested configuration.  It is the task of the
@@ -41,7 +41,7 @@ public:
     ChangeRequestQueue();
 };
 
-} } // end of namespace sd::framework
+} // end of namespace sd::framework
 
 #endif
 
diff --git a/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx b/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx
index 86a0324b409f..fcd433b8f2ae 100644
--- a/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx
+++ b/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx
@@ -27,12 +27,12 @@
 
 #include <memory>
 
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XConfiguration; } } } } }
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XConfigurationChangeRequest; } } } } }
+namespace com::sun::star::drawing::framework { class XConfiguration; }
+namespace com::sun::star::drawing::framework { class XConfigurationChangeRequest; }
 
 struct ImplSVEvent;
 
-namespace sd { namespace framework {
+namespace sd::framework {
 
 class ConfigurationUpdater;
 
@@ -116,7 +116,7 @@ private:
     DECL_LINK(ProcessEvent, void*, void);
 };
 
-} } // end of namespace sd::framework
+} // end of namespace sd::framework
 
 #endif
 
diff --git a/sd/source/ui/framework/configuration/ConfigurationClassifier.hxx b/sd/source/ui/framework/configuration/ConfigurationClassifier.hxx
index 8753c4a73d59..9bf953a105f8 100644
--- a/sd/source/ui/framework/configuration/ConfigurationClassifier.hxx
+++ b/sd/source/ui/framework/configuration/ConfigurationClassifier.hxx
@@ -25,10 +25,10 @@
 
 #include <vector>
 
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XConfiguration; } } } } }
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XResourceId; } } } } }
+namespace com::sun::star::drawing::framework { class XConfiguration; }
+namespace com::sun::star::drawing::framework { class XResourceId; }
 
-namespace sd { namespace framework {
+namespace sd::framework {
 
 /** A ConfigurationClassifier object compares two configurations of
     resources and gives access to the differences.  It is used mainly when
@@ -158,7 +158,7 @@ private:
         ResourceIdVector& rTarget);
 };
 
-} } // end of namespace sd::framework
+} // end of namespace sd::framework
 
 #endif
 
diff --git a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx
index 768308941d04..a15ca145fea5 100644
--- a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx
+++ b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx
@@ -25,13 +25,13 @@
 #include <unordered_map>
 #include <vector>
 
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XConfigurationChangeListener; } } } } }
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XConfigurationController; } } } } }
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XResource; } } } } }
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XResourceId; } } } } }
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { struct ConfigurationChangeEvent; } } } } }
+namespace com::sun::star::drawing::framework { class XConfigurationChangeListener; }
+namespace com::sun::star::drawing::framework { class XConfigurationController; }
+namespace com::sun::star::drawing::framework { class XResource; }
+namespace com::sun::star::drawing::framework { class XResourceId; }
+namespace com::sun::star::drawing::framework { struct ConfigurationChangeEvent; }
 
-namespace sd { namespace framework {
+namespace sd::framework {
 
 /** This class manages the set of XConfigurationChangeListeners and
     calls them when the ConfigurationController wants to broadcast an
@@ -134,7 +134,7 @@ private:
         const css::drawing::framework::ConfigurationChangeEvent& rEvent);
 };
 
-} } // end of namespace sd::framework
+} // end of namespace sd::framework
 
 #endif
 
diff --git a/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx
index 03e8e62d30f8..0d7c6b6284a9 100644
--- a/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx
+++ b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx
@@ -28,12 +28,12 @@
 #include <memory>
 #include <vector>
 
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XConfiguration; } } } } }
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XResourceFactory; } } } } }
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XResource; } } } } }
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XResourceId; } } } } }
+namespace com::sun::star::drawing::framework { class XConfiguration; }
+namespace com::sun::star::drawing::framework { class XResourceFactory; }
+namespace com::sun::star::drawing::framework { class XResource; }
+namespace com::sun::star::drawing::framework { class XResourceId; }
 
-namespace sd { namespace framework {
+namespace sd::framework {
 
 class ConfigurationControllerBroadcaster;
 class ResourceFactoryManager;
@@ -137,7 +137,7 @@ private:
         const css::uno::Reference<css::drawing::framework::XResourceId>& rxResourceId);
 };
 
-} } // end of namespace sd::framework
+} // end of namespace sd::framework
 
 #endif
 
diff --git a/sd/source/ui/framework/configuration/ConfigurationTracer.hxx b/sd/source/ui/framework/configuration/ConfigurationTracer.hxx
index facedd3f4600..8c7950443aa1 100644
--- a/sd/source/ui/framework/configuration/ConfigurationTracer.hxx
+++ b/sd/source/ui/framework/configuration/ConfigurationTracer.hxx
@@ -22,11 +22,11 @@
 
 #include <sal/types.h>
 
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XConfiguration; } } } } }
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XResourceId; } } } } }
-namespace com { namespace sun { namespace star { namespace uno { template <typename > class Reference; } } } }
+namespace com::sun::star::drawing::framework { class XConfiguration; }
+namespace com::sun::star::drawing::framework { class XResourceId; }
+namespace com::sun::star::uno { template <typename > class Reference; }
 
-namespace sd { namespace framework {
+namespace sd::framework {
 
 /** Print debug information about configurations to the standard error
     output channel.
@@ -45,7 +45,7 @@ public:
 #endif
 };
 
-} } // end of namespace sd::framework
+} // end of namespace sd::framework
 
 #endif
 
diff --git a/sd/source/ui/framework/configuration/ConfigurationUpdater.hxx b/sd/source/ui/framework/configuration/ConfigurationUpdater.hxx
index c43f9179d604..51348321d548 100644
--- a/sd/source/ui/framework/configuration/ConfigurationUpdater.hxx
+++ b/sd/source/ui/framework/configuration/ConfigurationUpdater.hxx
@@ -25,11 +25,11 @@
 #include <memory>
 #include <vector>
 
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XConfiguration; } } } } }
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XControllerManager; } } } } }
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XResourceId; } } } } }
+namespace com::sun::star::drawing::framework { class XConfiguration; }
+namespace com::sun::star::drawing::framework { class XControllerManager; }
+namespace com::sun::star::drawing::framework { class XResourceId; }
 
-namespace sd { namespace framework {
+namespace sd::framework {
 
 class ConfigurationClassifier;
 class ConfigurationUpdaterLock;
@@ -196,7 +196,7 @@ private:
     DECL_LINK(TimeoutHandler, Timer *, void);
 };
 
-} } // end of namespace sd::framework
+} // end of namespace sd::framework
 
 #endif
 
diff --git a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx
index 657c1b0f1f95..7d446e997ff1 100644
--- a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx
+++ b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx
@@ -25,10 +25,10 @@
 #include <com/sun/star/container/XNamed.hpp>
 #include <cppuhelper/compbase.hxx>
 
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XConfiguration; } } } } }
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XResourceId; } } } } }
+namespace com::sun::star::drawing::framework { class XConfiguration; }
+namespace com::sun::star::drawing::framework { class XResourceId; }
 
-namespace sd { namespace framework {
+namespace sd::framework {
 
 typedef ::cppu::WeakComponentImplHelper <
       css::drawing::framework::XConfigurationChangeRequest,
@@ -96,7 +96,7 @@ private:
     const Mode meMode;
 };
 
-} } // end of namespace sd::framework
+} // end of namespace sd::framework
 
 #endif
 
diff --git a/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx b/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx
index 9b8ce6163b83..4684d3baffee 100644
--- a/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx
+++ b/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx
@@ -30,11 +30,11 @@
 #include <rtl/ustring.hxx>
 #include <osl/mutex.hxx>
 
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XControllerManager; } } } } }
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XResourceFactory; } } } } }
-namespace com { namespace sun { namespace star { namespace util { class XURLTransformer; } } } }
+namespace com::sun::star::drawing::framework { class XControllerManager; }
+namespace com::sun::star::drawing::framework { class XResourceFactory; }
+namespace com::sun::star::util { class XURLTransformer; }
 
-namespace sd { namespace framework {
+namespace sd::framework {
 
 /** Container of resource factories of the drawing framework.
 */
@@ -116,7 +116,7 @@ private:
         const OUString& rsURLBase);
 };
 
-} } // end of namespace sd::framework
+} // end of namespace sd::framework
 
 #endif
 
diff --git a/sd/source/ui/framework/configuration/UpdateRequest.hxx b/sd/source/ui/framework/configuration/UpdateRequest.hxx
index 5fb779cac636..de48e60e03b2 100644
--- a/sd/source/ui/framework/configuration/UpdateRequest.hxx
+++ b/sd/source/ui/framework/configuration/UpdateRequest.hxx
@@ -25,9 +25,9 @@
 #include <com/sun/star/container/XNamed.hpp>
 #include <cppuhelper/compbase.hxx>
 
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XConfiguration; } } } } }
+namespace com::sun::star::drawing::framework { class XConfiguration; }
 
-namespace sd { namespace framework {
+namespace sd::framework {
 
 typedef ::cppu::WeakComponentImplHelper <
       css::drawing::framework::XConfigurationChangeRequest,
@@ -68,7 +68,7 @@ public:
     virtual void SAL_CALL setName (const OUString& rName) override;
 };
 
-} } // end of namespace sd::framework
+} // end of namespace sd::framework
 
 #endif
 
diff --git a/sd/source/ui/framework/factories/BasicPaneFactory.hxx b/sd/source/ui/framework/factories/BasicPaneFactory.hxx
index c22ba9cf9976..af8786a6717d 100644
--- a/sd/source/ui/framework/factories/BasicPaneFactory.hxx
+++ b/sd/source/ui/framework/factories/BasicPaneFactory.hxx
@@ -28,15 +28,15 @@
 
 #include <memory>
 
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XConfigurationController; } } } } }
-namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } }
+namespace com::sun::star::drawing::framework { class XConfigurationController; }
+namespace com::sun::star::uno { class XComponentContext; }
 
 namespace sd {
 
 class ViewShellBase;
 }
 
-namespace sd { namespace framework {
+namespace sd::framework {
 
 typedef ::cppu::WeakComponentImplHelper <
     css::lang::XInitialization,
@@ -128,7 +128,7 @@ private:
     void ThrowIfDisposed() const;
 };
 
-} } // end of namespace sd::framework
+} // end of namespace sd::framework
 
 #endif
 
diff --git a/sd/source/ui/framework/factories/BasicToolBarFactory.hxx b/sd/source/ui/framework/factories/BasicToolBarFactory.hxx
index 780710d8cfb0..fd237fca74c6 100644
--- a/sd/source/ui/framework/factories/BasicToolBarFactory.hxx
+++ b/sd/source/ui/framework/factories/BasicToolBarFactory.hxx
@@ -25,11 +25,11 @@
 #include <cppuhelper/compbase.hxx>
 #include <cppuhelper/basemutex.hxx>
 
-namespace com { namespace sun { namespace star { namespace frame { class XController; } } } }
-namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XResourceId; } } } } }

... etc. - the rest is truncated


More information about the Libreoffice-commits mailing list