diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-05-06 13:19:36 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-05-06 14:22:50 +0200 |
commit | aa3a25ca74d3abd204051c2747907031f7557510 (patch) | |
tree | b9811982904a9beb2e853a50969d956a5ecdcd10 /oox | |
parent | 5e80dd672fe64d44e05a2025e9569afdd62bb0d7 (diff) |
oox custom shape preset data: fix typo in parsing awt::Size
Regression from commit f5ccbfdc561c68099872d1abe07ac72fcddedd35 (oox
customshapepreset: switch to generated data -> code, 2014-04-17).
Change-Id: I2106271e2f43e7936237628e47cd4e01ab34441c
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/customshapepresetdata.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/customshapepresetdata.cxx b/oox/source/drawingml/customshapepresetdata.cxx index a4856a89e11e..85d87cba669b 100644 --- a/oox/source/drawingml/customshapepresetdata.cxx +++ b/oox/source/drawingml/customshapepresetdata.cxx @@ -175,7 +175,7 @@ awt::Size lcl_parseSize(const OString& rValue) aToken = aToken.copy(nIndex); assert(aToken.startsWith(aExpectedHeightPrefix)); nIndex = aExpectedHeightPrefix.getLength(); - aSize.Width = static_cast<sal_Int32>(aToken.copy(nIndex).toInt32()); + aSize.Height = static_cast<sal_Int32>(aToken.copy(nIndex).toInt32()); return aSize; } |