diff options
Diffstat (limited to 'sw/source/ui/uiview/viewtab.cxx')
-rw-r--r-- | sw/source/ui/uiview/viewtab.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/source/ui/uiview/viewtab.cxx b/sw/source/ui/uiview/viewtab.cxx index cd662675d784..92a39d742cd1 100644 --- a/sw/source/ui/uiview/viewtab.cxx +++ b/sw/source/ui/uiview/viewtab.cxx @@ -1139,9 +1139,10 @@ void SwView::StateTabWin(SfxItemSet& rSet) // provide left and right margins of current page style case SID_ATTR_PAGE_LRSPACE: { - SvxLongLRSpaceItem aLongLR( - (long)aPageLRSpace.GetLeft(), - (long)aPageLRSpace.GetRight(), + const SvxLRSpaceItem aTmpPageLRSpace( rDesc.GetMaster().GetLRSpace() ); + const SvxLongLRSpaceItem aLongLR( + (long)aTmpPageLRSpace.GetLeft(), + (long)aTmpPageLRSpace.GetRight(), SID_ATTR_PAGE_LRSPACE ); rSet.Put( aLongLR ); } |