| commit | e1f576d9c83f239e1c05ebcd04fa97038942e4d5 | [log] |
|---|---|---|
| author | Joren De Cuyper <jorendc@libreoffice.org> | Sat May 16 13:41:57 2015 +0200 |
| committer | Miklos Vajna <vmiklos@collabora.co.uk> | Sat May 16 20:09:01 2015 +0000 |
| tree | 025367abf17437da2ad1b05e39882f4b492212d4 | |
| parent | 11e4acc80ed7c0180e32a62db6d2de1610ff1a93 [diff] |
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/15748 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
diff --git a/oox/source/drawingml/customshapepresetdata.cxx b/oox/source/drawingml/customshapepresetdata.cxx index 94d29f7..92252f3 100644 --- a/oox/source/drawingml/customshapepresetdata.cxx +++ b/oox/source/drawingml/customshapepresetdata.cxx
@@ -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; }