Kaydet (Commit) e1f576d9 authored tarafından Joren De Cuyper's avatar Joren De Cuyper Kaydeden (comit) Miklos Vajna

Fix copy-paste error

Due the variables above this error, I think this needs to be the .Height, not .Width

Change-Id: If796cd1950f59d0e1a6005c1c1185066c688ef55
Reviewed-on: https://gerrit.libreoffice.org/15748Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
Tested-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst 11e4acc8
......@@ -146,7 +146,7 @@ awt::Rectangle lcl_parseRectangle(const OString& rValue)
aToken = aToken.copy(nIndex);
assert(aToken.startsWith(aExpectedHeightPrefix));
nIndex = strlen(aExpectedHeightPrefix);
aRectangle.Width = static_cast<sal_Int32>(aToken.copy(nIndex).toInt32());
aRectangle.Height = static_cast<sal_Int32>(aToken.copy(nIndex).toInt32());
return aRectangle;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment