summaryrefslogtreecommitdiff
path: root/l10ntools/inc/lngmerge.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-10 11:29:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-11 07:36:26 +0100
commit96d9bd226215194632b6b0b7b0153f41ade1fc47 (patch)
treec45412f68d86cd23e4405882af6b3a4aa8ac1bf2 /l10ntools/inc/lngmerge.hxx
parentf14b9d30293f180500fc56d81e5390021758e7c1 (diff)
loplugin:useuniqueptr in l10ntools
update plugin to find all places where we are unconditionally deleting stuff in a destructor Change-Id: Ia0fedc2420c7717ed2bdd8d3bb00262d2a63e0bc Reviewed-on: https://gerrit.libreoffice.org/47724 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'l10ntools/inc/lngmerge.hxx')
-rw-r--r--l10ntools/inc/lngmerge.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/l10ntools/inc/lngmerge.hxx b/l10ntools/inc/lngmerge.hxx
index 24d5b6ed211f..35c7868b01a3 100644
--- a/l10ntools/inc/lngmerge.hxx
+++ b/l10ntools/inc/lngmerge.hxx
@@ -28,8 +28,6 @@
#include "common.hxx"
#include "export.hxx"
-typedef std::vector< OString* > LngLineList;
-
#define LNG_OK 0x0000
#define LNG_COULD_NOT_OPEN 0x0001
@@ -43,7 +41,7 @@ typedef std::vector< OString* > LngLineList;
class LngParser
{
private:
- LngLineList *pLines;
+ std::vector<OString> mvLines;
OString sSource;
std::vector<OString> aLanguages;