summaryrefslogtreecommitdiff
path: root/svx/source/dialog/svxruler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/svxruler.cxx')
-rw-r--r--svx/source/dialog/svxruler.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/dialog/svxruler.cxx b/svx/source/dialog/svxruler.cxx
index 6af32ecfcdae..8fa6a67df992 100644
--- a/svx/source/dialog/svxruler.cxx
+++ b/svx/source/dialog/svxruler.cxx
@@ -2018,11 +2018,11 @@ void SvxRuler::ApplyMargins()
else
{
const long lOldNull = lLogicNullOffset;
- mxULSpaceItem->SetUpper(
- PixelVAdjust(
- lLogicNullOffset =
+ lLogicNullOffset =
ConvertVPosLogic(GetFrameLeft()) -
- lAppNullOffset, mxULSpaceItem->GetUpper()));
+ lAppNullOffset;
+ mxULSpaceItem->SetUpper(
+ PixelVAdjust(lLogicNullOffset, mxULSpaceItem->GetUpper()));
if(bAppSetNullOffset)
{
lAppNullOffset += lLogicNullOffset - lOldNull;