summaryrefslogtreecommitdiff
path: root/sw/source/ui/envelp/label1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/envelp/label1.cxx')
-rw-r--r--sw/source/ui/envelp/label1.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/ui/envelp/label1.cxx b/sw/source/ui/envelp/label1.cxx
index dcf87deb0d3a..7254b9ba4cfd 100644
--- a/sw/source/ui/envelp/label1.cxx
+++ b/sw/source/ui/envelp/label1.cxx
@@ -64,6 +64,8 @@ void SwLabRec::SetFromItem( const SwLabItem& rItem )
lUpper = rItem.lUpper;
nCols = rItem.nCols;
nRows = rItem.nRows;
+ lPWidth = rItem.lPWidth;
+ lPHeight = rItem.lPHeight;
bCont = rItem.bCont;
}
@@ -76,6 +78,8 @@ void SwLabRec::FillItem( SwLabItem& rItem ) const
rItem.lLeft = lLeft;
rItem.lUpper = lUpper;
rItem.nCols = nCols;
+ rItem.lPWidth = lPWidth;
+ rItem.lPHeight = lPHeight;
rItem.nRows = nRows;
}