diff options
-rw-r--r-- | include/svx/rubydialog.hxx | 5 | ||||
-rw-r--r-- | svx/source/dialog/rubydialog.cxx | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/include/svx/rubydialog.hxx b/include/svx/rubydialog.hxx index d5414be7dc07..441ebdcc52ba 100644 --- a/include/svx/rubydialog.hxx +++ b/include/svx/rubydialog.hxx @@ -120,8 +120,7 @@ class SvxRubyDialog : public SfxModelessDialog bool bModified; - css::uno::Reference<css::view::XSelectionChangeListener> xImpl; - SfxBindings* pBindings; + SfxBindings* pBindings; DECL_LINK_TYPED(ApplyHdl_Impl, Button*, void); DECL_LINK_TYPED(CloseHdl_Impl, Button*, void); @@ -167,7 +166,7 @@ public: virtual void Deactivate() override; private: - std::unique_ptr<SvxRubyData_Impl> pImpl; + css::uno::Reference<SvxRubyData_Impl> pImpl; }; #endif // INCLUDED_SVX_RUBYDIALOG_HXX diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx index 90b7e623138e..a4c9fb7de09d 100644 --- a/svx/source/dialog/rubydialog.cxx +++ b/svx/source/dialog/rubydialog.cxx @@ -209,7 +209,6 @@ SvxRubyDialog::SvxRubyDialog(SfxBindings* pBind, SfxChildWindow* pCW, vcl::Windo , pBindings(pBind) , pImpl( new SvxRubyData_Impl ) { - xImpl = pImpl.get(); get(m_pLeftFT, "basetextft"); get(m_pRightFT, "rubytextft"); get(m_pAdjustLB, "adjustlb"); @@ -280,7 +279,7 @@ void SvxRubyDialog::dispose() { ClearCharStyleList(); EventObject aEvent; - xImpl->disposing(aEvent); + pImpl->disposing(aEvent); m_pLeftFT.clear(); m_pRightFT.clear(); m_pLeft1ED.clear(); |