summaryrefslogtreecommitdiff
path: root/sw/source/core/bastyp/swrect.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/bastyp/swrect.cxx')
-rw-r--r--sw/source/core/bastyp/swrect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/bastyp/swrect.cxx b/sw/source/core/bastyp/swrect.cxx
index fa06142ea627..1213bfaea896 100644
--- a/sw/source/core/bastyp/swrect.cxx
+++ b/sw/source/core/bastyp/swrect.cxx
@@ -242,7 +242,7 @@ void SwRect::Justify()
}
if ( m_Size.getWidth() < 0 )
{
- m_Point.Y() += m_Size.getWidth() + 1;
+ m_Point.X() += m_Size.getWidth() + 1;
m_Size.setWidth(-m_Size.getWidth());
}
}