[Libreoffice-commits] core.git: tools/source
Jochen Nitschke
j.nitschke+logerrit at ok.de
Sun Apr 9 18:49:28 UTC 2017
tools/source/inet/inetmime.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit b377caa14c7fafdc38f6f185c0a01ad58cc620f2
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date: Fri Apr 7 14:08:11 2017 +0000
use correct string length
Change-Id: I2a5a0e496e80e1f5868e5ac09bfdba57a598ec90
Reviewed-on: https://gerrit.libreoffice.org/36271
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
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;
More information about the Libreoffice-commits
mailing list