summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-12-03 16:31:17 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-12-03 20:51:56 +0100
commitf175e06755db64ecfb706d5d86ef17c4197c0571 (patch)
tree86ecd2e5da2c7a00234b51965bf772ed1e8743fb /xmloff
parent91a360472f50cf58edeaf7a05a9a511dc9a5718b (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')
-rw-r--r--xmloff/source/core/xmlimp.cxx2
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);