Change-Id: I27a00608a5dba9fc467c61d5919233972b293811
Reviewed-on: https://gerrit.libreoffice.org/74093
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini 2019-06-15 09:09:55 +00:00 committed by Julien Nabet
parent 2c251422bf
commit de9a451ffb

View file

@ -1139,7 +1139,7 @@ void Qt5Frame::SetApplicationID(const OUString& rWMClass)
= !aResClass.isEmpty() ? aResClass.getStr() : SalGenericSystem::getFrameClassName();
OString aResName = SalGenericSystem::getFrameResName();
// the WM_CLASS data consists of two concated cstrings, including the terminating '\0' chars
// the WM_CLASS data consists of two concatenated cstrings, including the terminating '\0' chars
const uint32_t data_len = aResName.getLength() + 1 + strlen(pResClass) + 1;
char* data = new char[data_len];
memcpy(data, aResName.getStr(), aResName.getLength() + 1);