include/comphelper/memorystream.hxx | 2 +- include/svx/chinese_translation_unodialog.hxx | 2 +- sd/inc/theme/ThemeColorChanger.hxx | 2 +- sd/source/ui/inc/AnimationChildWindow.hxx | 2 +- sd/source/ui/inc/BreakDlg.hxx | 2 +- sd/source/ui/inc/BulletAndPositionDlg.hxx | 2 +- sd/source/ui/inc/Client.hxx | 2 +- sd/source/ui/inc/ClientView.hxx | 2 +- sd/source/ui/inc/CustomAnimationList.hxx | 6 +++--- sd/source/ui/inc/CustomAnimationPane.hxx | 2 +- sd/source/ui/inc/NotesPanelViewShell.hxx | 2 +- sd/source/ui/inc/OutlineBulletDlg.hxx | 2 +- sd/source/ui/inc/SelectLayerDlg.hxx | 2 +- sd/source/ui/inc/UndoThemeChange.hxx | 2 +- sd/source/ui/inc/animobjs.hxx | 6 +++--- sd/source/ui/inc/copydlg.hxx | 2 +- sd/source/ui/inc/custsdlg.hxx | 4 ++-- sd/source/ui/inc/diactrl.hxx | 2 +- sd/source/ui/inc/dlg_char.hxx | 2 +- sd/source/ui/inc/dlgfield.hxx | 2 +- sd/source/ui/inc/dlgpage.hxx | 2 +- sd/source/ui/inc/dlgsnap.hxx | 2 +- sd/source/ui/inc/fuconnct.hxx | 2 +- sd/source/ui/inc/fucushow.hxx | 2 +- sd/source/ui/inc/headerfooterdlg.hxx | 2 +- sd/source/ui/inc/ins_paste.hxx | 2 +- sd/source/ui/inc/inspagob.hxx | 2 +- sd/source/ui/inc/layeroptionsdlg.hxx | 2 +- sd/source/ui/inc/masterlayoutdlg.hxx | 2 +- sd/source/ui/inc/morphdlg.hxx | 2 +- sd/source/ui/inc/paragr.hxx | 2 +- sd/source/ui/inc/present.hxx | 2 +- sd/source/ui/inc/tools/GraphicSizeCheck.hxx | 4 ++-- 33 files changed, 39 insertions(+), 39 deletions(-)
New commits: commit 42093a5fc37ebd0328497b36108db3d238f212b3 Author: Noel Grandin <[email protected]> AuthorDate: Wed Jun 25 13:42:33 2025 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Wed Jun 25 20:48:28 2025 +0200 mark some classes final Change-Id: I49da10f361a2479388ea8feec17e078662d2f744 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186972 Reviewed-by: Noel Grandin <[email protected]> Tested-by: Jenkins diff --git a/include/comphelper/memorystream.hxx b/include/comphelper/memorystream.hxx index 21aad1bcc63c..93044e0e6033 100644 --- a/include/comphelper/memorystream.hxx +++ b/include/comphelper/memorystream.hxx @@ -30,7 +30,7 @@ namespace comphelper { -class COMPHELPER_DLLPUBLIC UNOMemoryStream +class COMPHELPER_DLLPUBLIC UNOMemoryStream final : public cppu::WeakImplHelper<css::lang::XServiceInfo, css::io::XStream, css::io::XSeekableInputStream, css::io::XOutputStream, css::io::XTruncate>, diff --git a/include/svx/chinese_translation_unodialog.hxx b/include/svx/chinese_translation_unodialog.hxx index 209d5e1c62cc..b75796fc1041 100644 --- a/include/svx/chinese_translation_unodialog.hxx +++ b/include/svx/chinese_translation_unodialog.hxx @@ -55,7 +55,7 @@ The dialog gets this information from the registry on execute and writes it back class ChineseTranslationDialog; -class TEXTCONVERSIONDLGS_DLLPUBLIC ChineseTranslation_UnoDialog : public ::cppu::WeakImplHelper <> +class TEXTCONVERSIONDLGS_DLLPUBLIC ChineseTranslation_UnoDialog final : public ::cppu::WeakImplHelper <> { public: ChineseTranslation_UnoDialog(const css::uno::Reference< css::awt::XWindow >& xParentWindow); diff --git a/sd/inc/theme/ThemeColorChanger.hxx b/sd/inc/theme/ThemeColorChanger.hxx index 6a467bc4c47a..d235e0565a5c 100644 --- a/sd/inc/theme/ThemeColorChanger.hxx +++ b/sd/inc/theme/ThemeColorChanger.hxx @@ -17,7 +17,7 @@ namespace sd { -class SD_DLLPUBLIC ThemeColorChanger : public svx::IThemeColorChanger +class SD_DLLPUBLIC ThemeColorChanger final : public svx::IThemeColorChanger { private: SdrPage* mpMasterPage; diff --git a/sd/source/ui/inc/AnimationChildWindow.hxx b/sd/source/ui/inc/AnimationChildWindow.hxx index 1223dfdbd5b8..278cc791d3fa 100644 --- a/sd/source/ui/inc/AnimationChildWindow.hxx +++ b/sd/source/ui/inc/AnimationChildWindow.hxx @@ -27,7 +27,7 @@ class SfxBindings; namespace sd { -class AnimationChildWindow +class AnimationChildWindow final : public SfxChildWindow { public: diff --git a/sd/source/ui/inc/BreakDlg.hxx b/sd/source/ui/inc/BreakDlg.hxx index ee2a8b15dc99..cad8bb4ad898 100644 --- a/sd/source/ui/inc/BreakDlg.hxx +++ b/sd/source/ui/inc/BreakDlg.hxx @@ -32,7 +32,7 @@ class DrawView; /** * dialog to break meta files */ -class BreakDlg : public SfxDialogController +class BreakDlg final : public SfxDialogController { public: BreakDlg(weld::Window* pWindow, DrawView* pDrView, DrawDocShell* pShell, diff --git a/sd/source/ui/inc/BulletAndPositionDlg.hxx b/sd/source/ui/inc/BulletAndPositionDlg.hxx index 933e74dfa32b..4ed10a24a43d 100644 --- a/sd/source/ui/inc/BulletAndPositionDlg.hxx +++ b/sd/source/ui/inc/BulletAndPositionDlg.hxx @@ -40,7 +40,7 @@ class View; } /// Main class for handling the bullets, numbering format and their position. -class SvxBulletAndPositionDlg : public weld::GenericDialogController +class SvxBulletAndPositionDlg final : public weld::GenericDialogController { OUString m_sNumCharFmtName; diff --git a/sd/source/ui/inc/Client.hxx b/sd/source/ui/inc/Client.hxx index 0c226d87c67c..4c5e62c267c2 100644 --- a/sd/source/ui/inc/Client.hxx +++ b/sd/source/ui/inc/Client.hxx @@ -26,7 +26,7 @@ namespace sd { class ViewShell; -class Client : public SfxInPlaceClient +class Client final : public SfxInPlaceClient { ViewShell& mrViewShell; SdrOle2Obj* pSdrOle2Obj; diff --git a/sd/source/ui/inc/ClientView.hxx b/sd/source/ui/inc/ClientView.hxx index 7a52053bab47..af7935e65154 100644 --- a/sd/source/ui/inc/ClientView.hxx +++ b/sd/source/ui/inc/ClientView.hxx @@ -26,7 +26,7 @@ namespace sd /** * The SdClientView is used for DrawDocShell::Draw() */ -class ClientView : public DrawView +class ClientView final : public DrawView { public: ClientView(DrawDocShell* pDocSh, OutputDevice* pOutDev); diff --git a/sd/source/ui/inc/CustomAnimationList.hxx b/sd/source/ui/inc/CustomAnimationList.hxx index fe35f5ae919b..2504d9b327f2 100644 --- a/sd/source/ui/inc/CustomAnimationList.hxx +++ b/sd/source/ui/inc/CustomAnimationList.hxx @@ -48,7 +48,7 @@ public: class CustomAnimationList; class CustomAnimationListEntryItem; -class CustomAnimationListDropTarget : public DropTargetHelper +class CustomAnimationListDropTarget final : public DropTargetHelper { private: CustomAnimationList& m_rTreeView; @@ -60,7 +60,7 @@ public: CustomAnimationListDropTarget(CustomAnimationList& rTreeView); }; -class CustomAnimationList : public ISequenceListener +class CustomAnimationList final : public ISequenceListener { friend class CustomAnimationListEntryItem; friend struct stl_append_effect_func; @@ -69,7 +69,7 @@ public: explicit CustomAnimationList(std::unique_ptr<weld::TreeView> xTreeView, std::unique_ptr<weld::Label> xLabel, std::unique_ptr<weld::Widget> xScrolledWindow); - virtual ~CustomAnimationList(); + ~CustomAnimationList(); // methods diff --git a/sd/source/ui/inc/CustomAnimationPane.hxx b/sd/source/ui/inc/CustomAnimationPane.hxx index 07c451c84634..0291c21aff51 100644 --- a/sd/source/ui/inc/CustomAnimationPane.hxx +++ b/sd/source/ui/inc/CustomAnimationPane.hxx @@ -44,7 +44,7 @@ class DrawController; typedef std::vector< rtl::Reference< MotionPathTag > > MotionPathTagVector; -class CustomAnimationPane : public PanelLayout +class CustomAnimationPane final : public PanelLayout , public sfx2::sidebar::ILayoutableWindow , public ICustomAnimationListController { diff --git a/sd/source/ui/inc/NotesPanelViewShell.hxx b/sd/source/ui/inc/NotesPanelViewShell.hxx index d8070896c6af..b6fa39043e60 100644 --- a/sd/source/ui/inc/NotesPanelViewShell.hxx +++ b/sd/source/ui/inc/NotesPanelViewShell.hxx @@ -97,7 +97,7 @@ private: void Construct(); }; -class FuNotesPane : public FuSimpleOutlinerText +class FuNotesPane final : public FuSimpleOutlinerText { public: static rtl::Reference<FuPoor> Create(ViewShell& rViewSh, ::sd::Window* pWin, diff --git a/sd/source/ui/inc/OutlineBulletDlg.hxx b/sd/source/ui/inc/OutlineBulletDlg.hxx index 88f401e617d3..70a9ea5749f7 100644 --- a/sd/source/ui/inc/OutlineBulletDlg.hxx +++ b/sd/source/ui/inc/OutlineBulletDlg.hxx @@ -28,7 +28,7 @@ class View; /** * Bullet-Tab-Dialog */ -class OutlineBulletDlg : public SfxTabDialogController +class OutlineBulletDlg final : public SfxTabDialogController { public: OutlineBulletDlg(weld::Window* pParent, const SfxItemSet* pAttr, ::sd::View* pView); diff --git a/sd/source/ui/inc/SelectLayerDlg.hxx b/sd/source/ui/inc/SelectLayerDlg.hxx index e8ab6407d76a..60a85d080a0e 100644 --- a/sd/source/ui/inc/SelectLayerDlg.hxx +++ b/sd/source/ui/inc/SelectLayerDlg.hxx @@ -20,7 +20,7 @@ #include <vcl/weld.hxx> -class SdSelectLayerDlg : public weld::GenericDialogController +class SdSelectLayerDlg final : public weld::GenericDialogController { std::unique_ptr<weld::Button> m_xOk; std::unique_ptr<weld::TreeView> m_xListLB; diff --git a/sd/source/ui/inc/UndoThemeChange.hxx b/sd/source/ui/inc/UndoThemeChange.hxx index 52e34554982a..b16450afcf9c 100644 --- a/sd/source/ui/inc/UndoThemeChange.hxx +++ b/sd/source/ui/inc/UndoThemeChange.hxx @@ -18,7 +18,7 @@ class SdDrawDocument; namespace sd { -class UndoThemeChange : public SdUndoAction +class UndoThemeChange final : public SdUndoAction { private: SdrPage* mpMasterPage; diff --git a/sd/source/ui/inc/animobjs.hxx b/sd/source/ui/inc/animobjs.hxx index 4797095aa6c6..bddf9e597fc5 100644 --- a/sd/source/ui/inc/animobjs.hxx +++ b/sd/source/ui/inc/animobjs.hxx @@ -49,7 +49,7 @@ enum BitmapAdjustment BA_RIGHT_DOWN }; -class SdDisplay : public weld::CustomWidgetController +class SdDisplay final : public weld::CustomWidgetController { private: BitmapEx aBitmapEx; @@ -67,7 +67,7 @@ public: virtual void SetDrawingArea(weld::DrawingArea* pDrawingArea) override; }; -class AnimationWindow : public SfxDockingWindow +class AnimationWindow final : public SfxDockingWindow { friend class AnimationChildWindow; friend class AnimationControllerItem; @@ -145,7 +145,7 @@ private: /** * ControllerItem for Animator */ -class AnimationControllerItem : public SfxControllerItem +class AnimationControllerItem final : public SfxControllerItem { public: diff --git a/sd/source/ui/inc/copydlg.hxx b/sd/source/ui/inc/copydlg.hxx index 7d8274743588..9bd8a5a4c111 100644 --- a/sd/source/ui/inc/copydlg.hxx +++ b/sd/source/ui/inc/copydlg.hxx @@ -31,7 +31,7 @@ class View; /** * dialog to adjust screen */ -class CopyDlg : public SfxDialogController +class CopyDlg final : public SfxDialogController { public: CopyDlg(weld::Window* pWindow, const SfxItemSet& rInAttrs, ::sd::View* pView); diff --git a/sd/source/ui/inc/custsdlg.hxx b/sd/source/ui/inc/custsdlg.hxx index c6547cc918ff..62a0c9ad6a97 100644 --- a/sd/source/ui/inc/custsdlg.hxx +++ b/sd/source/ui/inc/custsdlg.hxx @@ -26,7 +26,7 @@ class SdDrawDocument; class SdCustomShow; class SdCustomShowList; -class SdCustomShowDlg : public weld::GenericDialogController +class SdCustomShowDlg final : public weld::GenericDialogController { private: SdDrawDocument& rDoc; @@ -52,7 +52,7 @@ public: bool IsCustomShow() const; }; -class SdDefineCustomShowDlg : public weld::GenericDialogController +class SdDefineCustomShowDlg final : public weld::GenericDialogController { private: SdDrawDocument& rDoc; diff --git a/sd/source/ui/inc/diactrl.hxx b/sd/source/ui/inc/diactrl.hxx index 552a424db526..db6e2eed9b8d 100644 --- a/sd/source/ui/inc/diactrl.hxx +++ b/sd/source/ui/inc/diactrl.hxx @@ -52,7 +52,7 @@ public: // SdTbxCtlDiaPages: -class SdTbxCtlDiaPages : public SfxToolBoxControl +class SdTbxCtlDiaPages final : public SfxToolBoxControl { public: virtual void StateChangedAtToolBoxControl(sal_uInt16 nSID, SfxItemState eState, diff --git a/sd/source/ui/inc/dlg_char.hxx b/sd/source/ui/inc/dlg_char.hxx index dd12c321eb6a..f3895b2cc3e6 100644 --- a/sd/source/ui/inc/dlg_char.hxx +++ b/sd/source/ui/inc/dlg_char.hxx @@ -27,7 +27,7 @@ class SfxObjectShell; /** * Character-Tab-Dialog */ -class SdCharDlg : public SfxTabDialogController +class SdCharDlg final : public SfxTabDialogController { private: const SfxObjectShell& rDocShell; diff --git a/sd/source/ui/inc/dlgfield.hxx b/sd/source/ui/inc/dlgfield.hxx index 40cadc9f40f0..b8e34881a2d1 100644 --- a/sd/source/ui/inc/dlgfield.hxx +++ b/sd/source/ui/inc/dlgfield.hxx @@ -29,7 +29,7 @@ class SvxLanguageBox; /** * dialog to adjust field-commands */ -class SdModifyFieldDlg : public weld::GenericDialogController +class SdModifyFieldDlg final : public weld::GenericDialogController { private: SfxItemSet m_aInputSet; diff --git a/sd/source/ui/inc/dlgpage.hxx b/sd/source/ui/inc/dlgpage.hxx index 54c04537e11a..5dbd037af08d 100644 --- a/sd/source/ui/inc/dlgpage.hxx +++ b/sd/source/ui/inc/dlgpage.hxx @@ -27,7 +27,7 @@ class SfxObjectShell; /** * Page configuration-tab-dialog */ -class SdPageDlg : public SfxTabDialogController +class SdPageDlg final : public SfxTabDialogController { private: bool mbIsImpressDoc; diff --git a/sd/source/ui/inc/dlgsnap.hxx b/sd/source/ui/inc/dlgsnap.hxx index 97fe09ccbb08..33fad811e07c 100644 --- a/sd/source/ui/inc/dlgsnap.hxx +++ b/sd/source/ui/inc/dlgsnap.hxx @@ -32,7 +32,7 @@ namespace sd { /** * dialog to adjust snap- lines and points */ -class SdSnapLineDlg : public weld::GenericDialogController +class SdSnapLineDlg final : public weld::GenericDialogController { private: int nXValue; diff --git a/sd/source/ui/inc/fuconnct.hxx b/sd/source/ui/inc/fuconnct.hxx index 24c1ecf53df0..59c5326b4c9f 100644 --- a/sd/source/ui/inc/fuconnct.hxx +++ b/sd/source/ui/inc/fuconnct.hxx @@ -23,7 +23,7 @@ namespace sd { -class FuConnectionDlg +class FuConnectionDlg final : public FuPoor { public: diff --git a/sd/source/ui/inc/fucushow.hxx b/sd/source/ui/inc/fucushow.hxx index f9079f1fd5a6..fd9e09f1a3dc 100644 --- a/sd/source/ui/inc/fucushow.hxx +++ b/sd/source/ui/inc/fucushow.hxx @@ -23,7 +23,7 @@ namespace sd { -class FuCustomShowDlg +class FuCustomShowDlg final : public FuPoor { public: diff --git a/sd/source/ui/inc/headerfooterdlg.hxx b/sd/source/ui/inc/headerfooterdlg.hxx index e79787e05a25..cfc08bddda1d 100644 --- a/sd/source/ui/inc/headerfooterdlg.hxx +++ b/sd/source/ui/inc/headerfooterdlg.hxx @@ -30,7 +30,7 @@ class ViewShell; class HeaderFooterTabPage; -class HeaderFooterDialog : public weld::GenericDialogController +class HeaderFooterDialog final : public weld::GenericDialogController { private: DECL_LINK( ActivatePageHdl, const OUString&, void ); diff --git a/sd/source/ui/inc/ins_paste.hxx b/sd/source/ui/inc/ins_paste.hxx index 5031d09b030f..e2cdae5da5f1 100644 --- a/sd/source/ui/inc/ins_paste.hxx +++ b/sd/source/ui/inc/ins_paste.hxx @@ -22,7 +22,7 @@ #include <vcl/weld.hxx> // SdInsertPasteDlg -class SdInsertPasteDlg : public weld::GenericDialogController +class SdInsertPasteDlg final : public weld::GenericDialogController { private: std::unique_ptr<weld::RadioButton> m_xRbBefore; diff --git a/sd/source/ui/inc/inspagob.hxx b/sd/source/ui/inc/inspagob.hxx index 8c2212656ccc..fd2ac4fa5d85 100644 --- a/sd/source/ui/inc/inspagob.hxx +++ b/sd/source/ui/inc/inspagob.hxx @@ -25,7 +25,7 @@ class SdDrawDocument; class SdPageObjsTLV; class SfxMedium; -class SdInsertPagesObjsDlg : public weld::GenericDialogController +class SdInsertPagesObjsDlg final : public weld::GenericDialogController { private: SfxMedium* m_pMedium; diff --git a/sd/source/ui/inc/layeroptionsdlg.hxx b/sd/source/ui/inc/layeroptionsdlg.hxx index 300994937cd6..8d4a6d8cdbbd 100644 --- a/sd/source/ui/inc/layeroptionsdlg.hxx +++ b/sd/source/ui/inc/layeroptionsdlg.hxx @@ -25,7 +25,7 @@ class SfxItemSet; -class SD_DLLPUBLIC SdInsertLayerDlg : public weld::GenericDialogController +class SD_DLLPUBLIC SdInsertLayerDlg final : public weld::GenericDialogController { private: std::unique_ptr<weld::Entry> m_xEdtName; diff --git a/sd/source/ui/inc/masterlayoutdlg.hxx b/sd/source/ui/inc/masterlayoutdlg.hxx index a0e063bdfea8..add7080fe48d 100644 --- a/sd/source/ui/inc/masterlayoutdlg.hxx +++ b/sd/source/ui/inc/masterlayoutdlg.hxx @@ -28,7 +28,7 @@ class SdPage; namespace sd { -class MasterLayoutDialog : public weld::GenericDialogController +class MasterLayoutDialog final : public weld::GenericDialogController { private: SdDrawDocument& mrDoc; diff --git a/sd/source/ui/inc/morphdlg.hxx b/sd/source/ui/inc/morphdlg.hxx index 77b20d718d8c..98e21a999b7a 100644 --- a/sd/source/ui/inc/morphdlg.hxx +++ b/sd/source/ui/inc/morphdlg.hxx @@ -25,7 +25,7 @@ class SdrObject; namespace sd { -class MorphDlg : public weld::GenericDialogController +class MorphDlg final : public weld::GenericDialogController { public: MorphDlg(weld::Window* pParent, const SdrObject* pObj1, const SdrObject* pObj2); diff --git a/sd/source/ui/inc/paragr.hxx b/sd/source/ui/inc/paragr.hxx index cbdfda101969..d1bf5825d2d3 100644 --- a/sd/source/ui/inc/paragr.hxx +++ b/sd/source/ui/inc/paragr.hxx @@ -24,7 +24,7 @@ /** * Paragraph-Tab-Dialog */ -class SdParagraphDlg : public SfxTabDialogController +class SdParagraphDlg final : public SfxTabDialogController { private: virtual void PageCreated(const OUString& rId, SfxTabPage& rPage) override; diff --git a/sd/source/ui/inc/present.hxx b/sd/source/ui/inc/present.hxx index 36d746958263..6b647f5da7be 100644 --- a/sd/source/ui/inc/present.hxx +++ b/sd/source/ui/inc/present.hxx @@ -28,7 +28,7 @@ class SdCustomShowList; /** * Dialog to define optionsm_xnd to start the presentation */ -class SdStartPresentationDlg : public weld::GenericDialogController +class SdStartPresentationDlg final : public weld::GenericDialogController { private: SdCustomShowList* pCustomShowList; diff --git a/sd/source/ui/inc/tools/GraphicSizeCheck.hxx b/sd/source/ui/inc/tools/GraphicSizeCheck.hxx index 44f78e4eb159..36b059cc5e63 100644 --- a/sd/source/ui/inc/tools/GraphicSizeCheck.hxx +++ b/sd/source/ui/inc/tools/GraphicSizeCheck.hxx @@ -74,7 +74,7 @@ public: }; /** The UI part of the GraphicSizeViolation used by GenericCheckDialog */ -class GraphicSizeCheckGUIEntry : public svx::CheckData +class GraphicSizeCheckGUIEntry final : public svx::CheckData { private: SdDrawDocument* m_pDocument; @@ -103,7 +103,7 @@ public: * The UI part presenting the graphic size check results, which is * used by GenericCheckDialog */ -class GraphicSizeCheckGUIResult : public svx::CheckDataCollection +class GraphicSizeCheckGUIResult final : public svx::CheckDataCollection { public: GraphicSizeCheckGUIResult(SdDrawDocument* m_pDocument);
