diff options
Diffstat (limited to 'include/sfx2/newstyle.hxx')
-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(), ' '); } |