| commit | b377caa14c7fafdc38f6f185c0a01ad58cc620f2 | [log] |
|---|---|---|
| author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | Fri Apr 07 14:08:11 2017 +0000 |
| committer | Noel Grandin <noel.grandin@collabora.co.uk> | Sun Apr 09 20:49:04 2017 +0200 |
| tree | fe44a88962884028e9ed64267fbc9772658c6b8b | |
| 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>
diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx index 27f120a..27cb185 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;