summaryrefslogtreecommitdiff
path: root/editeng/source/rtf/rtfitem.cxx
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2011-01-07 13:40:44 +0100
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2011-03-19 17:57:17 +0100
commitd674abd352080308f0d21ae1b4cf4a2cb4549979 (patch)
treec1b43b49f58b8ae5ae98d1136a9c2e36b7d218b5 /editeng/source/rtf/rtfitem.cxx
parent9bd78655198ad497bef9872422a1004cfbf8698f (diff)
Switching the order of the SetLinesWidth arguments
Diffstat (limited to 'editeng/source/rtf/rtfitem.cxx')
-rw-r--r--editeng/source/rtf/rtfitem.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/editeng/source/rtf/rtfitem.cxx b/editeng/source/rtf/rtfitem.cxx
index feaf9aa5bdd4..a782d556648c 100644
--- a/editeng/source/rtf/rtfitem.cxx
+++ b/editeng/source/rtf/rtfitem.cxx
@@ -1766,8 +1766,9 @@ SETBORDER:
break;
}
nDistWidth = sal_uInt16( nTokenValue );
- aBrd.SetLinesWidths( SOLID, nInWidth,
- nOutWidth, nDistWidth );
+
+ aBrd.GuessLinesWidths( NO_STYLE, nOutWidth,
+ nInWidth, nDistWidth );
SetBorderLine( nBorderTyp, aAttr, aBrd );
break;
}