summaryrefslogtreecommitdiff
path: root/sw/source/core
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2010-04-19 17:28:53 +0200
committerMichael Stahl <mst@openoffice.org>2010-04-19 17:28:53 +0200
commit1bd25912372dad5ad1371d363838b35b0775861d (patch)
tree4c5afed98a1afb9c6960a9e1a5c1dd350f9cd336 /sw/source/core
parent64cb69b7093f7629513293d25240a1794ae8f7f3 (diff)
sw33bf03: #i110655#: SwRect::Justify(): fix regression from #i106401#
Diffstat (limited to 'sw/source/core')
-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 e156c71aa5fb..554dad2ebfa2 100644
--- a/sw/source/core/bastyp/swrect.cxx
+++ b/sw/source/core/bastyp/swrect.cxx
@@ -245,7 +245,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());
}
}