diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-24 14:29:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-25 08:12:17 +0200 |
commit | 4a340e36e8d3713806719351f455711c1254a178 (patch) | |
tree | 4be5ffdd176b2f45e4f549f7eb4d88da9225c18e /svx | |
parent | 50fc62ce76bc51f18b16eae937761d0a8872df3e (diff) |
loplugin:constantparam
add the results files so I can just see the diff in future
Change-Id: Ia20a1aa6418be95ed620719cde340c00b7b053e1
Reviewed-on: https://gerrit.libreoffice.org/37988
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdotxln.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdotxln.cxx b/svx/source/svdraw/svdotxln.cxx index cff5b03aae4c..8fcf70594a88 100644 --- a/svx/source/svdraw/svdotxln.cxx +++ b/svx/source/svdraw/svdotxln.cxx @@ -119,10 +119,9 @@ SdrObjUserData* ImpSdrObjTextLinkUserData::Clone(SdrObject* ) const } -void SdrTextObj::SetTextLink(const OUString& rFileName, const OUString& rFilterName, rtl_TextEncoding eCharSet) +void SdrTextObj::SetTextLink(const OUString& rFileName, const OUString& rFilterName) { - if(eCharSet == RTL_TEXTENCODING_DONTKNOW) - eCharSet = osl_getThreadTextEncoding(); + rtl_TextEncoding eCharSet = osl_getThreadTextEncoding(); ImpSdrObjTextLinkUserData* pData=GetLinkUserData(); if (pData!=nullptr) { |