diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-03 20:49:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-05-04 17:47:49 +0200 |
commit | 224c155d89e4d957c0d566a5aea6004a466d54e9 (patch) | |
tree | 318c90cbfa5fdfcfadb74befe8f18b5adc296f2f /include | |
parent | 9ca3a372a45d146acb8efdda5c02bd10e1a14ab3 (diff) |
make Search family and mask explicit for SfxNewStyleDlg
Change-Id: Ib3e5765d37474188d6505f1d9965969ee6c24f0c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93358
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/newstyle.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sfx2/newstyle.hxx b/include/sfx2/newstyle.hxx index e7016b55386e..c61685d87fae 100644 --- a/include/sfx2/newstyle.hxx +++ b/include/sfx2/newstyle.hxx @@ -22,14 +22,14 @@ #include <comphelper/string.hxx> #include <sal/config.h> #include <sfx2/dllapi.h> +#include <svl/style.hxx> #include <vcl/weld.hxx> -class SfxStyleSheetBasePool; - class SFX2_DLLPUBLIC SfxNewStyleDlg final : public weld::GenericDialogController { private: SfxStyleSheetBasePool& m_rPool; + SfxStyleFamily m_eSearchFamily; std::unique_ptr<weld::EntryTreeView> m_xColBox; std::unique_ptr<weld::Button> m_xOKBtn; @@ -41,7 +41,7 @@ private: DECL_DLLPRIVATE_LINK(ModifyHdl, weld::ComboBox&, void); public: - SfxNewStyleDlg(weld::Window* pParent, SfxStyleSheetBasePool&); + SfxNewStyleDlg(weld::Window* pParent, SfxStyleSheetBasePool& rPool, SfxStyleFamily eFam, SfxStyleSearchBits nMask); virtual ~SfxNewStyleDlg() override; OUString GetName() const { return comphelper::string::stripStart(m_xColBox->get_active_text(), ' '); } |