diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-09-07 15:27:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-09-07 22:15:23 +0200 |
commit | db37d8b625807103c95326286ff085f79bf3d971 (patch) | |
tree | 39583bae951c3de9e5e875a4b9c3931ef151dc00 /filter/source | |
parent | 4461d49c6cfce22c2c96185b0a1d07bfe9709268 (diff) |
loplugin:singlevalfields
Change-Id: Ib3c8dc4e98ca46026ec9a8171bae4066bcec7b22
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102176
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter/source')
-rw-r--r-- | filter/source/xsltdialog/xmlfilterjar.cxx | 3 | ||||
-rw-r--r-- | filter/source/xsltdialog/xmlfilterjar.hxx | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/xsltdialog/xmlfilterjar.cxx b/filter/source/xsltdialog/xmlfilterjar.cxx index fa8690824d3f..7bc05b27e093 100644 --- a/filter/source/xsltdialog/xmlfilterjar.cxx +++ b/filter/source/xsltdialog/xmlfilterjar.cxx @@ -59,9 +59,10 @@ using namespace com::sun::star::io; using ::rtl::Uri; +const OUStringLiteral sVndSunStarPackage(u"vnd.sun.star.Package:"); + XMLFilterJarHelper::XMLFilterJarHelper( const Reference< XComponentContext >& rxContext ) : mxContext( rxContext ), - sVndSunStarPackage( "vnd.sun.star.Package:" ), sXSLTPath( "$(user)/xslt/" ), sTemplatePath( "$(user)/template/" ), sProgPath( "$(prog)/" ) diff --git a/filter/source/xsltdialog/xmlfilterjar.hxx b/filter/source/xsltdialog/xmlfilterjar.hxx index da081387a181..7e469fb202fb 100644 --- a/filter/source/xsltdialog/xmlfilterjar.hxx +++ b/filter/source/xsltdialog/xmlfilterjar.hxx @@ -39,12 +39,11 @@ private: /// @throws css::uno::Exception void addFile( css::uno::Reference< css::uno::XInterface > const & xRootFolder, css::uno::Reference< css::lang::XSingleServiceFactory > const & xFactory, const OUString& rSourceFile ); - bool copyFile( const css::uno::Reference< css::container::XHierarchicalNameAccess >& xIfc, OUString& rURL, const OUString& rTargetURL ); + static bool copyFile( const css::uno::Reference< css::container::XHierarchicalNameAccess >& xIfc, OUString& rURL, const OUString& rTargetURL ); bool copyFiles( const css::uno::Reference< css::container::XHierarchicalNameAccess >& xIfc, filter_info_impl* pFilter ); css::uno::Reference< css::uno::XComponentContext > mxContext; - OUString sVndSunStarPackage; OUString sXSLTPath; OUString sTemplatePath; OUString sProgPath; |