summaryrefslogtreecommitdiff
path: root/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx')
-rw-r--r--sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx b/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx
index 268914f3abd8..a228cddf6bae 100644
--- a/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx
+++ b/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx
@@ -71,11 +71,11 @@ void SwToLayoutAnchoredObjectPosition::CalcPosition()
// bottom, if its wrap mode is 'through' and its anchor frame has fixed
// size. Otherwise, it's positioned top.
sal_Int16 eVertOrient = aVert.GetVertOrient();
- if ( ( bFlyAtFly &&
- ( eVertOrient == text::VertOrientation::CENTER ||
- eVertOrient == text::VertOrientation::BOTTOM ) &&
+ if ( bFlyAtFly &&
+ ( eVertOrient == text::VertOrientation::CENTER ||
+ eVertOrient == text::VertOrientation::BOTTOM ) &&
css::text::WrapTextMode_THROUGH != rFrameFormat.GetSurround().GetSurround() &&
- !GetAnchorFrame().HasFixSize() ) )
+ !GetAnchorFrame().HasFixSize() )
{
eVertOrient = text::VertOrientation::TOP;
}