summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-07-08 22:44:11 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-07-08 22:50:04 -0400
commit3fdd4f069d5436cf39708004af7fda8175fbc4c2 (patch)
tree1baafbf34620fcb08cf513535a9dd3952fce1bbd
parent13a3364bad27d19eb09c4f9357e0a9758eba7f61 (diff)
Explicit virtual dtor needed for auto_ptr member for MSVC.
Else it won't build. Change-Id: I6d857ffc7a444abaf477ee820e577757287a707c
-rw-r--r--formula/source/ui/dlg/formula.cxx4
-rw-r--r--include/formula/formula.hxx3
2 files changed, 7 insertions, 0 deletions
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx
index b4fc563e81cc..33775657cfcd 100644
--- a/formula/source/ui/dlg/formula.cxx
+++ b/formula/source/ui/dlg/formula.cxx
@@ -1654,6 +1654,8 @@ FormulaModalDialog::FormulaModalDialog( Window* pParent
SetText(m_pImpl->aTitle1);
}
+FormulaModalDialog::~FormulaModalDialog() {}
+
void FormulaModalDialog::Update(const OUString& _sExp)
{
m_pImpl->Update(_sExp);
@@ -1738,6 +1740,8 @@ FormulaDlg::FormulaDlg( SfxBindings* pB, SfxChildWindow* pCW,
SetText(m_pImpl->aTitle1);
}
+FormulaDlg::~FormulaDlg() {}
+
void FormulaDlg::Update(const OUString& _sExp)
{
m_pImpl->Update(_sExp);
diff --git a/include/formula/formula.hxx b/include/formula/formula.hxx
index 28ecc1e5d5a7..6aa3f4d4ed15 100644
--- a/include/formula/formula.hxx
+++ b/include/formula/formula.hxx
@@ -56,6 +56,8 @@ public:
, bool _bSupportMatrix
,IFunctionManager* _pFunctionMgr
,IControlReferenceHandler* _pDlg = NULL );
+ virtual ~FormulaModalDialog();
+
private:
SAL_WNODEPRECATED_DECLARATIONS_PUSH
::std::auto_ptr<FormulaDlg_Impl> m_pImpl;
@@ -95,6 +97,7 @@ public:
, bool _bSupportMatrix
, IFunctionManager* _pFunctionMgr
, IControlReferenceHandler* _pDlg = NULL );
+ virtual ~FormulaDlg();
private:
SAL_WNODEPRECATED_DECLARATIONS_PUSH
::std::auto_ptr<FormulaDlg_Impl> m_pImpl;