diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-29 14:26:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-31 07:31:48 +0100 |
commit | cdeb83ed3350c898af02dfe021f5da861517c2f6 (patch) | |
tree | 87461804ce621d29013aa52a692da72b36b57f13 /l10ntools/inc/xmlparse.hxx | |
parent | a3d5248b4e508ccacf7e90116df0bed347719e33 (diff) |
loplugin:useuniqueptr in l10ntools
Change-Id: Ib8dafdb2b3831cdd9481fd19b340ac377c8dc9db
Reviewed-on: https://gerrit.libreoffice.org/62649
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'l10ntools/inc/xmlparse.hxx')
-rw-r--r-- | l10ntools/inc/xmlparse.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/l10ntools/inc/xmlparse.hxx b/l10ntools/inc/xmlparse.hxx index d07dd1b86afb..67b40ac2205c 100644 --- a/l10ntools/inc/xmlparse.hxx +++ b/l10ntools/inc/xmlparse.hxx @@ -354,10 +354,10 @@ public: SimpleXMLParser(); ~SimpleXMLParser(); - /// parse a file, returns NULL on critical errors - XMLFile *Execute( + /// parse a file, return false on critical errors + bool Execute( const OString &rFileName, // the file name - XMLFile *pXMLFileIn // the XMLFile + XMLFile* pXMLFile // the XMLFile ); /// returns an error struct |