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
commit056dbf2e1d1933280175db152eaaf09ef4234ac1 (patch)
tree2270f72ca959f516701b503af16c97d2eb6a0a97 /editeng
parent1f98f6e1a4be668a07b72c91fb1e835c92983fe5 (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 0e25bba482..c7ba4e242f 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: