summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/borderline.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/items/borderline.cxx b/editeng/source/items/borderline.cxx
index 225d91482d55..704bbfa8d12e 100644
--- a/editeng/source/items/borderline.cxx
+++ b/editeng/source/items/borderline.cxx
@@ -224,11 +224,11 @@ ConvertBorderWidthToWord(SvxBorderStyle const eStyle, double const fWidth)
break;
case OUTSET:
- return (fWidth / 2.0) - OUTSET_line1;
+ return (fWidth - OUTSET_line1) / 2.0;
break;
case INSET:
- return (fWidth / 2.0) - INSET_line2;
+ return (fWidth - INSET_line2) / 2.0;
break;
default: