diff options
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/items/frmitems.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx index ea1d15126ff3..6b60d5a4ffaa 100644 --- a/editeng/source/items/frmitems.cxx +++ b/editeng/source/items/frmitems.cxx @@ -2638,7 +2638,7 @@ void BorderDistanceFromWord(bool bFromEdge, sal_Int32& nMargin, sal_Int32& nBord // border position (modulo rounding errors): // 1. When distance of all borders from text is no greater than 31 pt, we use "from text" // 2. Otherwise, if distance of all borders from edge is no greater than 31 pt, we use "from edge" -// In all other cases, the position of borders would be distirted on export, because Word doesn't +// In all other cases, the position of borders would be distorted on export, because Word doesn't // support the offset of >31 pts (https://msdn.microsoft.com/en-us/library/ff533820), and we need // to decide which type of offset would provide less wrong result (i.e., the result would look // closer to original). Here, we just check sum of distances from text to borders, and if it is @@ -2648,7 +2648,7 @@ void BorderDistanceFromWord(bool bFromEdge, sal_Int32& nMargin, sal_Int32& nBord void BorderDistancesToWord(const SvxBoxItem& rBox, const WordPageMargins& rMargins, WordBorderDistances& rDistances) { - // Use signed sal_Int32 that can hold sal_uInt16, to prevent overflow at substraction below + // Use signed sal_Int32 that can hold sal_uInt16, to prevent overflow at subtraction below const sal_Int32 nT = rBox.GetDistance(SvxBoxItemLine::TOP); const sal_Int32 nL = rBox.GetDistance(SvxBoxItemLine::LEFT); const sal_Int32 nB = rBox.GetDistance(SvxBoxItemLine::BOTTOM); |