diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-20 11:15:28 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-21 12:22:08 +0100 |
commit | 93d1d7b0b600d021ccbb2169b4bb4bacca44dd30 (patch) | |
tree | 7955ada393b4afd8bf26b6b5e72a4d891aafb75c /filter/source/xsltdialog/xmlfilterjar.hxx | |
parent | e06a097b70077476f88065a3bda7c57b4b8e83b5 (diff) |
use unique_ptr in XMLFilterJarHelper
Change-Id: I6c04c6d79334e36063e40b7eafe1d0c02be33d75
Reviewed-on: https://gerrit.libreoffice.org/65520
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter/source/xsltdialog/xmlfilterjar.hxx')
-rw-r--r-- | filter/source/xsltdialog/xmlfilterjar.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/filter/source/xsltdialog/xmlfilterjar.hxx b/filter/source/xsltdialog/xmlfilterjar.hxx index a71f89f9bb41..d9e20cd05847 100644 --- a/filter/source/xsltdialog/xmlfilterjar.hxx +++ b/filter/source/xsltdialog/xmlfilterjar.hxx @@ -27,15 +27,13 @@ class filter_info_impl; -typedef std::vector< filter_info_impl* > XMLFilterVector; - class XMLFilterJarHelper { public: explicit XMLFilterJarHelper( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - bool savePackage( const OUString& rPackageURL, const XMLFilterVector& rFilters ); - void openPackage( const OUString& rPackageURL, XMLFilterVector& rFilters ); + bool savePackage( const OUString& rPackageURL, const std::vector<filter_info_impl*>& rFilters ); + void openPackage( const OUString& rPackageURL, std::vector< std::unique_ptr<filter_info_impl> >& rFilters ); private: /// @throws css::uno::Exception |