summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/tautofmt.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/inc/tautofmt.hxx')
-rw-r--r--sw/source/uibase/inc/tautofmt.hxx40
1 files changed, 20 insertions, 20 deletions
diff --git a/sw/source/uibase/inc/tautofmt.hxx b/sw/source/uibase/inc/tautofmt.hxx
index 8438e5701049..b426dc71b443 100644
--- a/sw/source/uibase/inc/tautofmt.hxx
+++ b/sw/source/uibase/inc/tautofmt.hxx
@@ -33,21 +33,21 @@ class SwTableAutoFormat;
class SwTableAutoFormatTable;
class SwWrtShell;
-class SwAutoFormatDlg : public SfxDialogController
+class SwAutoFormatDlg final : public SfxDialogController
{
- OUString m_aStrTitle;
- OUString m_aStrLabel;
- OUString m_aStrClose;
- OUString m_aStrDelTitle;
- OUString m_aStrDelMsg;
- OUString m_aStrRenameTitle;
- OUString m_aStrInvalidFormat;
+ OUString m_aStrTitle;
+ OUString m_aStrLabel;
+ OUString m_aStrClose;
+ OUString m_aStrDelTitle;
+ OUString m_aStrDelMsg;
+ OUString m_aStrRenameTitle;
+ OUString m_aStrInvalidFormat;
- SwWrtShell* m_pShell;
- sal_uInt8 m_nIndex;
- sal_uInt8 m_nDfltStylePos;
- bool m_bCoreDataChanged : 1;
- bool m_bSetAutoFormat : 1;
+ SwWrtShell* m_pShell;
+ sal_uInt8 m_nIndex;
+ sal_uInt8 m_nDfltStylePos;
+ bool m_bCoreDataChanged : 1;
+ bool m_bSetAutoFormat : 1;
AutoFormatPreview m_aWndPreview;
std::unique_ptr<SwTableAutoFormatTable> m_xTableTable;
@@ -64,23 +64,23 @@ class SwAutoFormatDlg : public SfxDialogController
std::unique_ptr<weld::Button> m_xBtnRename;
std::unique_ptr<weld::CustomWeld> m_xWndPreview;
- void Init( const SwTableAutoFormat* pSelFormat );
- void UpdateChecks( const SwTableAutoFormat&, bool bEnableBtn );
+ void Init(const SwTableAutoFormat* pSelFormat);
+ void UpdateChecks(const SwTableAutoFormat&, bool bEnableBtn);
- DECL_LINK(CheckHdl, weld::ToggleButton&, void);
+ DECL_LINK(CheckHdl, weld::Toggleable&, void);
DECL_LINK(AddHdl, weld::Button&, void);
DECL_LINK(RemoveHdl, weld::Button&, void);
DECL_LINK(RenameHdl, weld::Button&, void);
DECL_LINK(SelFormatHdl, weld::TreeView&, void);
public:
- SwAutoFormatDlg(weld::Window* pParent, SwWrtShell* pShell,
- bool bSetAutoFormat, const SwTableAutoFormat* pSelFormat);
-
- virtual short run() override;
+ SwAutoFormatDlg(weld::Window* pParent, SwWrtShell* pShell, bool bSetAutoFormat,
+ const SwTableAutoFormat* pSelFormat);
std::unique_ptr<SwTableAutoFormat> FillAutoFormatOfIndex() const;
+ void Apply();
+
virtual ~SwAutoFormatDlg() override;
};