diff options
author | Xisco Fauli <anistenis@gmail.com> | 2016-05-18 20:38:55 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-20 11:45:12 +0000 |
commit | f88cf9129d5b81cf9dd380f63be87ba196121e42 (patch) | |
tree | a7688ec48b4813d3a8198e336a43d379e742ce5f /include/svx/rubydialog.hxx | |
parent | 7cffe9dd6440e0eb6a17c950b207f5fb669e8636 (diff) |
tdf#89329: use unique_ptr for pImpl in svx/
Change-Id: I6c252272feb9915b580b3525a606c26c19cbe773
Reviewed-on: https://gerrit.libreoffice.org/25114
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svx/rubydialog.hxx')
-rw-r--r-- | include/svx/rubydialog.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/svx/rubydialog.hxx b/include/svx/rubydialog.hxx index 78a2c7fc43da..d5414be7dc07 100644 --- a/include/svx/rubydialog.hxx +++ b/include/svx/rubydialog.hxx @@ -122,7 +122,6 @@ class SvxRubyDialog : public SfxModelessDialog css::uno::Reference<css::view::XSelectionChangeListener> xImpl; SfxBindings* pBindings; - SvxRubyData_Impl* pImpl; DECL_LINK_TYPED(ApplyHdl_Impl, Button*, void); DECL_LINK_TYPED(CloseHdl_Impl, Button*, void); @@ -154,10 +153,11 @@ class SvxRubyDialog : public SfxModelessDialog void GetCurrentText(OUString& rBase, OUString& rRuby); void UpdateColors(); + protected: virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; -public: +public: SvxRubyDialog(SfxBindings *pBindings, SfxChildWindow *pCW, vcl::Window* pParent); virtual ~SvxRubyDialog(); @@ -165,6 +165,9 @@ public: virtual void Activate() override; virtual void Deactivate() override; + +private: + std::unique_ptr<SvxRubyData_Impl> pImpl; }; #endif // INCLUDED_SVX_RUBYDIALOG_HXX |