diff options
Diffstat (limited to 'svx/source/sdr')
-rw-r--r-- | svx/source/sdr/primitive2d/sdrdecompositiontools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx b/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx index dcff748ea60f..9d19dd35def3 100644 --- a/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx +++ b/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx @@ -65,7 +65,7 @@ basegfx::B2DRange getTextAnchorRange(const attribute::SdrTextAttribute& rText, // Take vertical text orientation into account when deciding // which dimension is its width, and which is its height const OutlinerParaObject& rOutlinerParaObj = rText.getOutlinerParaObject(); - const bool bVerticalWriting(rOutlinerParaObj.IsVertical()); + const bool bVerticalWriting(rOutlinerParaObj.IsEffectivelyVertical()); const double fWidthForText = bVerticalWriting ? rSnapRange.getHeight() : rSnapRange.getWidth(); // create a range describing the wanted text position and size (aTextAnchorRange). This // means to use the text distance values here |