summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-06-01 21:46:56 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2021-06-01 23:08:26 +0200
commit5c76a19342f06615f5722a558556fc7b760f7174 (patch)
tree46625988299464a373779ba645f6ad1187330205 /svx
parenteebd84b337506c8fff151493f9b51bd127dbc89f (diff)
This intermediate variable is redundant
Change-Id: I856aab424bd4378d8c115e36971fd76fe7a7feed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116458 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdotextdecomposition.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdotextdecomposition.cxx b/svx/source/svdraw/svdotextdecomposition.cxx
index 9c8c419873e9..14911dfd89be 100644
--- a/svx/source/svdraw/svdotextdecomposition.cxx
+++ b/svx/source/svdraw/svdotextdecomposition.cxx
@@ -1108,8 +1108,7 @@ void SdrTextObj::impDecomposeBlockTextPrimitive(
// corner
const double fStartInX(bVerticalWriting && bTopToBottom ? aAdjustTranslate.getX() + aOutlinerScale.getX() : aAdjustTranslate.getX());
const double fStartInY(bVerticalWriting && !bTopToBottom ? aAdjustTranslate.getY() + aOutlinerScale.getY() : aAdjustTranslate.getY());
- const basegfx::B2DTuple aAdjOffset(fStartInX, fStartInY);
- basegfx::B2DHomMatrix aNewTransformA(basegfx::utils::createTranslateB2DHomMatrix(aAdjOffset.getX(), aAdjOffset.getY()));
+ basegfx::B2DHomMatrix aNewTransformA(basegfx::utils::createTranslateB2DHomMatrix(fStartInX, fStartInY));
// Apply the camera rotation. It have to be applied after adjustment of
// the text (top, bottom, center, left, right).