summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2011-01-07 14:38:42 +0100
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2011-03-19 17:57:17 +0100
commit56702c9eb5b423054addf753ca19b3fda94d47cf (patch)
treee64920812d1247f287ccae286c90e1a228c3e3bc /editeng
parentd674abd352080308f0d21ae1b4cf4a2cb4549979 (diff)
Changing the BorderWidthImpl when changing style in SvxBorderLine
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/borderline.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/editeng/source/items/borderline.cxx b/editeng/source/items/borderline.cxx
index 0e25bba482db..c7ba4e242f2a 100644
--- a/editeng/source/items/borderline.cxx
+++ b/editeng/source/items/borderline.cxx
@@ -322,6 +322,8 @@ sal_Bool SvxBorderLine::operator==( const SvxBorderLine& rCmp ) const
void SvxBorderLine::SetStyle( SvxBorderStyle nNew )
{
m_nStyle = nNew;
+ m_aWidthImpl = getWidthImpl( m_nStyle );
+
switch ( nNew )
{
case EMBOSSED: