summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorJoren De Cuyper <jorendc@libreoffice.org>2015-05-16 13:41:57 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-05-16 20:09:01 +0000
commite1f576d9c83f239e1c05ebcd04fa97038942e4d5 (patch)
tree025367abf17437da2ad1b05e39882f4b492212d4 /oox
parent11e4acc80ed7c0180e32a62db6d2de1610ff1a93 (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>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/customshapepresetdata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/customshapepresetdata.cxx b/oox/source/drawingml/customshapepresetdata.cxx
index 94d29f7ae87d..92252f30fa4d 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;
}