summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorIlhan Yesil <ilhanyesil@gmx.de>2018-06-08 10:49:41 +0200
committerIlhan Yesil <ilhanyesil@gmx.de>2018-07-10 12:26:44 +0200
commit5f96055e76c2ec28cecc6abf743f0593a8487e8f (patch)
treecc31ada5cd65698fec789b66ed18759fff5f7e97 /sd
parent01161d411e4dfacb36c8889a91430ed44161447c (diff)
tdf#118063 Impress: Deselected spacing remained checked
The state of the attributes for spacing are now read and set correctly. Change-Id: I661c00e247b55c64ea39c03db77dab9fa0775852 Reviewed-on: https://gerrit.libreoffice.org/55455 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> (cherry picked from commit 5b72382516d94bc27321461297ded92f8af8112d)
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/drtxtob.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sd/source/ui/view/drtxtob.cxx b/sd/source/ui/view/drtxtob.cxx
index 55c5d34c0087..761ba9bfc1dc 100644
--- a/sd/source/ui/view/drtxtob.cxx
+++ b/sd/source/ui/view/drtxtob.cxx
@@ -578,12 +578,18 @@ void TextObjectBar::GetAttrState( SfxItemSet& rSet )
{
case 100:
rSet.Put( SfxBoolItem( SID_ATTR_PARA_LINESPACE_10, true ) );
+ rSet.Put( SfxBoolItem( SID_ATTR_PARA_LINESPACE_15, false ) );
+ rSet.Put( SfxBoolItem( SID_ATTR_PARA_LINESPACE_20, false ) );
break;
case 150:
rSet.Put( SfxBoolItem( SID_ATTR_PARA_LINESPACE_15, true ) );
+ rSet.Put( SfxBoolItem( SID_ATTR_PARA_LINESPACE_10, false ) );
+ rSet.Put( SfxBoolItem( SID_ATTR_PARA_LINESPACE_20, false ) );
break;
case 200:
rSet.Put( SfxBoolItem( SID_ATTR_PARA_LINESPACE_20, true ) );
+ rSet.Put( SfxBoolItem( SID_ATTR_PARA_LINESPACE_10, false ) );
+ rSet.Put( SfxBoolItem( SID_ATTR_PARA_LINESPACE_15, false ) );
break;
}
}