summaryrefslogtreecommitdiff
path: root/starmath/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-05-09 16:32:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-05-09 21:34:59 +0200
commit72ebbea09644568837853198dd83aae1ab33036c (patch)
tree5dc8dbc1343bc44245973329ef6a6e99580657e6 /starmath/source
parent898a6881ea8fe6bc05f4ef68554d594bae42bf3f (diff)
cid#1401328 silence Uncaught exception
Change-Id: I7cd29462586b1dfe6fb7268ec3225317c1d2d782 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115268 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath/source')
-rw-r--r--starmath/source/view.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index 59ab4bcfc3b8..b6d832fb1130 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -811,7 +811,7 @@ void SmEditController::StateChanged(sal_uInt16 nSID, SfxItemState eState, const
SmCmdBoxWindow::SmCmdBoxWindow(SfxBindings *pBindings_, SfxChildWindow *pChildWindow,
vcl::Window *pParent)
: SfxDockingWindow(pBindings_, pChildWindow, pParent, "EditWindow", "modules/smath/ui/editwindow.ui")
- , m_xEdit(std::make_unique<SmEditWindow>(*this, *m_xBuilder))
+ , m_xEdit(new SmEditWindow(*this, *m_xBuilder))
, aController(*m_xEdit, SID_TEXT, *pBindings_)
, bExiting(false)
{