diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-12-03 16:31:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-12-03 20:51:56 +0100 |
commit | f175e06755db64ecfb706d5d86ef17c4197c0571 (patch) | |
tree | 86ecd2e5da2c7a00234b51965bf772ed1e8743fb /xmloff/source | |
parent | 91a360472f50cf58edeaf7a05a9a511dc9a5718b (diff) |
Pass key by const& to the various addEmbeddedFont functions
Change-Id: Id6e36a4acf34a6b8d5b7202231650066ae6cb6cd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107170
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmloff/source')
-rw-r--r-- | xmloff/source/core/xmlimp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx index e96e65072ead..5178cd732b05 100644 --- a/xmloff/source/core/xmlimp.cxx +++ b/xmloff/source/core/xmlimp.cxx @@ -450,7 +450,7 @@ SvXMLImport::~SvXMLImport() throw () bool SvXMLImport::addEmbeddedFont(const css::uno::Reference< css::io::XInputStream >& stream, const OUString& fontName, const char* extra, - std::vector<unsigned char> key, bool eot) + std::vector<unsigned char> const & key, bool eot) { if (!mxEmbeddedFontHelper) mxEmbeddedFontHelper.reset(new EmbeddedFontsHelper); |