diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-04-07 14:08:11 +0000 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-09 20:49:04 +0200 |
commit | b377caa14c7fafdc38f6f185c0a01ad58cc620f2 (patch) | |
tree | fe44a88962884028e9ed64267fbc9772658c6b8b /tools | |
parent | 4d66989d1ebac53ff8b2af7d17642e3ab688a317 (diff) |
use correct string length
Change-Id: I2a5a0e496e80e1f5868e5ac09bfdba57a598ec90
Reviewed-on: https://gerrit.libreoffice.org/36271
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/inet/inetmime.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx index 27f120a360df..27cb1857b5d4 100644 --- a/tools/source/inet/inetmime.cxx +++ b/tools/source/inet/inetmime.cxx @@ -483,9 +483,7 @@ bool parseParameters(ParameterList const & rInput, eEncoding = getCharsetEncoding(p->m_aCharset.getStr(), p->m_aCharset.getStr() - + rInput.m_pList-> - m_aCharset. - getLength()); + + p->m_aCharset.getLength()); OUString aValue; bool bBadEncoding = false; Parameter * pNext = p; |