diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-12-28 17:56:40 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-12-29 16:42:33 +0100 |
commit | 042033f1e6da22616cb76c8d950c20c9efecbad5 (patch) | |
tree | 26b3f1f42d067506f44550b410f3fb9640616a5b /vcl/inc/unx | |
parent | ccfd8e9d09f9ac0a0ea92d0f378391006faaf934 (diff) |
loplugin:stringviewparam: operator +
Change-Id: I044dd21b63d7eb03224675584fa143009c6b6008
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108418
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/inc/unx')
-rw-r--r-- | vcl/inc/unx/printerjob.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vcl/inc/unx/printerjob.hxx b/vcl/inc/unx/printerjob.hxx index 33f92abc7be8..c39bb1e3d2d2 100644 --- a/vcl/inc/unx/printerjob.hxx +++ b/vcl/inc/unx/printerjob.hxx @@ -23,6 +23,7 @@ #include <jobdata.hxx> #include <osl/file.hxx> +#include <string_view> #include <vector> namespace psp { @@ -68,8 +69,8 @@ private: bool m_bQuickJob; private: - std::unique_ptr<osl::File> CreateSpoolFile (const OUString& rName, - const OUString& rExtension); + std::unique_ptr<osl::File> CreateSpoolFile (std::u16string_view rName, + std::u16string_view rExtension); void InitPaperSize (const JobData& rJobSetup); bool writeFeatureList( osl::File* pFile, const JobData&, bool bDocumentSetup ); |