diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-11 16:03:46 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-13 11:20:05 +0100 |
commit | 37464a0fb7f3bafe72126e65d34f2c15377a3964 (patch) | |
tree | 487117274ed62ba672c2d2ed485a9743645f0057 /idlc/source/astdump.cxx | |
parent | 9acf3da78a5146c5af557967eabd0c47bf54d466 (diff) |
loplugin:useuniqueptr in idlc
Change-Id: Iccc50462ca115546422824b6814abf16a029f005
Reviewed-on: https://gerrit.libreoffice.org/47793
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idlc/source/astdump.cxx')
-rw-r--r-- | idlc/source/astdump.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/idlc/source/astdump.cxx b/idlc/source/astdump.cxx index 945060bce392..7b869b7564dc 100644 --- a/idlc/source/astdump.cxx +++ b/idlc/source/astdump.cxx @@ -411,7 +411,7 @@ const sal_Char* AstSequence::getRelativName() const { if ( !m_pRelativName ) { - m_pRelativName = new OString("[]"); + m_pRelativName.reset( new OString("[]") ); AstDeclaration const * pType = resolveTypedefs( m_pMemberType ); *m_pRelativName += pType->getRelativName(); } |