summaryrefslogtreecommitdiff
path: root/emfio
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-08-18 18:31:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-08-18 21:18:29 +0200
commit18f202011661397d10ca4c2fa28fcf57b62221b0 (patch)
tree5a867f5bee6205e13172bb5c61315552d5dc9870 /emfio
parent2e74c1107bc8422ee7a819722f3f0a366127330f (diff)
loplugin:constparams
Change-Id: Ic7410f836e584df45101e78e345c8b3c8d355e09 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120680 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'emfio')
-rw-r--r--emfio/inc/mtftools.hxx2
-rw-r--r--emfio/source/reader/mtftools.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/emfio/inc/mtftools.hxx b/emfio/inc/mtftools.hxx
index 456f2349cbf9..1ee6efd68f26 100644
--- a/emfio/inc/mtftools.hxx
+++ b/emfio/inc/mtftools.hxx
@@ -495,7 +495,7 @@ namespace emfio
public:
ScaledFontDetectCorrectHelper();
void endCurrentMetaFontAction();
- void newCurrentMetaFontAction(rtl::Reference<MetaFontAction>& rNewMetaFontAction);
+ void newCurrentMetaFontAction(const rtl::Reference<MetaFontAction>& rNewMetaFontAction);
void evaluateAlternativeFontScale(OUString const & rText, tools::Long nImportedTextLength);
void applyAlternativeFontScale();
};
diff --git a/emfio/source/reader/mtftools.cxx b/emfio/source/reader/mtftools.cxx
index e4d2ed462bdb..ebc849430adc 100644
--- a/emfio/source/reader/mtftools.cxx
+++ b/emfio/source/reader/mtftools.cxx
@@ -350,7 +350,7 @@ namespace emfio
maAlternativeFontScales.clear();
}
- void ScaledFontDetectCorrectHelper::newCurrentMetaFontAction(rtl::Reference<MetaFontAction>& rNewMetaFontAction)
+ void ScaledFontDetectCorrectHelper::newCurrentMetaFontAction(const rtl::Reference<MetaFontAction>& rNewMetaFontAction)
{
maCurrentMetaFontAction.clear();
maAlternativeFontScales.clear();