diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2017-03-28 10:40:16 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-04-04 15:40:30 +0000 |
commit | 387cdc35d79cd3dd235e4bb61e01e17d8781630a (patch) | |
tree | cd6c834dd8961c746a1c360fd4552d84bf213f80 /sw/source/uibase/shells/txtattr.cxx | |
parent | d9064ecf03b28a0b5015ccac20c2d0fa5bb66767 (diff) |
Notebookbar: Separated paragraph spacing controls
One big paragraph spacing control was splitted
to separated widgets. It will be possible to
reuse that in the sidebar. Also layout is better
because explicit size setting is no longer needed.
Change-Id: Ieb200af4a9a6120ae03b22b27da56256aa816193
Reviewed-on: https://gerrit.libreoffice.org/35801
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sw/source/uibase/shells/txtattr.cxx')
-rw-r--r-- | sw/source/uibase/shells/txtattr.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/txtattr.cxx b/sw/source/uibase/shells/txtattr.cxx index 5b478b23348a..a2313ff8bca3 100644 --- a/sw/source/uibase/shells/txtattr.cxx +++ b/sw/source/uibase/shells/txtattr.cxx @@ -718,12 +718,15 @@ void SwTextShell::GetAttrState(SfxItemSet &rSet) nSlot = 0; break; case SID_ATTR_PARA_LRSPACE: + case SID_ATTR_PARA_LEFTSPACE: + case SID_ATTR_PARA_RIGHTSPACE: + case SID_ATTR_PARA_FIRSTLINESPACE: { eState = aCoreSet.GetItemState(RES_LR_SPACE); if( eState >= SfxItemState::DEFAULT ) { SvxLRSpaceItem aLR = static_cast<const SvxLRSpaceItem&>( aCoreSet.Get( RES_LR_SPACE ) ); - aLR.SetWhich(SID_ATTR_PARA_LRSPACE); + aLR.SetWhich(nSlot); rSet.Put(aLR); } else |