summaryrefslogtreecommitdiff
path: root/include/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 /include/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 'include/xmloff')
-rw-r--r--include/xmloff/xmlimp.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xmloff/xmlimp.hxx b/include/xmloff/xmlimp.hxx
index 674a535c5d7f..ae165a2201b8 100644
--- a/include/xmloff/xmlimp.hxx
+++ b/include/xmloff/xmlimp.hxx
@@ -585,7 +585,7 @@ public:
// see EmbeddedFontsHelper::addEmbeddedFont
bool 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);
virtual void NotifyContainsEmbeddedFont() {}