Kaydet (Commit) 3fdd4f06 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Explicit virtual dtor needed for auto_ptr member for MSVC.

Else it won't build.

Change-Id: I6d857ffc7a444abaf477ee820e577757287a707c
üst 13a3364b
...@@ -1654,6 +1654,8 @@ FormulaModalDialog::FormulaModalDialog( Window* pParent ...@@ -1654,6 +1654,8 @@ FormulaModalDialog::FormulaModalDialog( Window* pParent
SetText(m_pImpl->aTitle1); SetText(m_pImpl->aTitle1);
} }
FormulaModalDialog::~FormulaModalDialog() {}
void FormulaModalDialog::Update(const OUString& _sExp) void FormulaModalDialog::Update(const OUString& _sExp)
{ {
m_pImpl->Update(_sExp); m_pImpl->Update(_sExp);
...@@ -1738,6 +1740,8 @@ FormulaDlg::FormulaDlg( SfxBindings* pB, SfxChildWindow* pCW, ...@@ -1738,6 +1740,8 @@ FormulaDlg::FormulaDlg( SfxBindings* pB, SfxChildWindow* pCW,
SetText(m_pImpl->aTitle1); SetText(m_pImpl->aTitle1);
} }
FormulaDlg::~FormulaDlg() {}
void FormulaDlg::Update(const OUString& _sExp) void FormulaDlg::Update(const OUString& _sExp)
{ {
m_pImpl->Update(_sExp); m_pImpl->Update(_sExp);
......
...@@ -56,6 +56,8 @@ public: ...@@ -56,6 +56,8 @@ public:
, bool _bSupportMatrix , bool _bSupportMatrix
,IFunctionManager* _pFunctionMgr ,IFunctionManager* _pFunctionMgr
,IControlReferenceHandler* _pDlg = NULL ); ,IControlReferenceHandler* _pDlg = NULL );
virtual ~FormulaModalDialog();
private: private:
SAL_WNODEPRECATED_DECLARATIONS_PUSH SAL_WNODEPRECATED_DECLARATIONS_PUSH
::std::auto_ptr<FormulaDlg_Impl> m_pImpl; ::std::auto_ptr<FormulaDlg_Impl> m_pImpl;
...@@ -95,6 +97,7 @@ public: ...@@ -95,6 +97,7 @@ public:
, bool _bSupportMatrix , bool _bSupportMatrix
, IFunctionManager* _pFunctionMgr , IFunctionManager* _pFunctionMgr
, IControlReferenceHandler* _pDlg = NULL ); , IControlReferenceHandler* _pDlg = NULL );
virtual ~FormulaDlg();
private: private:
SAL_WNODEPRECATED_DECLARATIONS_PUSH SAL_WNODEPRECATED_DECLARATIONS_PUSH
::std::auto_ptr<FormulaDlg_Impl> m_pImpl; ::std::auto_ptr<FormulaDlg_Impl> m_pImpl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment