summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-14 14:36:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-17 07:23:22 +0200
commitdb3860062ebf4109f48139c2556ff4041aff5d6e (patch)
treeb6ab4df909c8922e48a9c4eefa9a8f0f6a47c41f /idlc
parent846f557fd591626931a9dadb38180786e090104c (diff)
extend loplugin useuniqueptr to OUString pointers
Change-Id: Ieb5bab3895e1edaff497c4a1a88303ccac097edc Reviewed-on: https://gerrit.libreoffice.org/39948 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idlc')
-rw-r--r--idlc/inc/astexpression.hxx3
-rw-r--r--idlc/source/astexpression.cxx1
2 files changed, 2 insertions, 2 deletions
diff --git a/idlc/inc/astexpression.hxx b/idlc/inc/astexpression.hxx
index e9e92600bad8..d978f321fb0f 100644
--- a/idlc/inc/astexpression.hxx
+++ b/idlc/inc/astexpression.hxx
@@ -131,7 +131,8 @@ private:
AstExpression* m_subExpr2;
std::unique_ptr<AstExprValue>
m_exprValue;
- OString* m_pSymbolicName;
+ std::unique_ptr<OString>
+ m_pSymbolicName;
};
#endif // INCLUDED_IDLC_INC_ASTEXPRESSION_HXX
diff --git a/idlc/source/astexpression.cxx b/idlc/source/astexpression.cxx
index 8ec1f63b49df..c2da1ae717ea 100644
--- a/idlc/source/astexpression.cxx
+++ b/idlc/source/astexpression.cxx
@@ -125,7 +125,6 @@ AstExpression::~AstExpression()
{
delete m_subExpr1;
delete m_subExpr2;
- delete m_pSymbolicName;
}
/*