summaryrefslogtreecommitdiff
path: root/reportdesign/source/ui/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-17 19:54:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-18 09:37:28 +0200
commite2cd1f41b8cb8a27155ce1ddddfe5760f05b7129 (patch)
treefffa1a6602ab9fa061b062bfe100e2a4d9a822fe /reportdesign/source/ui/inc
parent9b25e24571cd6ee644416158b493188354d961f7 (diff)
cid#1448383 Resource leak in object
Change-Id: I07af4d48db887c184be824a2d1939b800f837d4e Reviewed-on: https://gerrit.libreoffice.org/75801 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'reportdesign/source/ui/inc')
-rw-r--r--reportdesign/source/ui/inc/Formula.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/ui/inc/Formula.hxx b/reportdesign/source/ui/inc/Formula.hxx
index 394d0b147b4e..1335c6012dd8 100644
--- a/reportdesign/source/ui/inc/Formula.hxx
+++ b/reportdesign/source/ui/inc/Formula.hxx
@@ -45,8 +45,8 @@ class OAddFieldWindow;
class FormulaDialog : public formula::FormulaModalDialog,
public formula::IControlReferenceHandler
{
- std::shared_ptr< formula::IFunctionManager > m_aFunctionManager;
- formula::FormEditData* const m_pFormulaData;
+ std::shared_ptr<formula::IFunctionManager> m_aFunctionManager;
+ std::unique_ptr<formula::FormEditData> m_xFormulaData;
VclPtr<OAddFieldWindow> m_pAddField;
css::uno::Reference < css::beans::XPropertySet > m_xRowSet;
css::uno::Reference< css::report::meta::XFormulaParser> m_xParser;