diff options
author | Susobhan Ghosh <susobhang70@gmail.com> | 2016-07-30 02:42:50 +0530 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2016-08-01 13:29:04 +0000 |
commit | 0380a6408030ad9db85b4be81095219d5572749b (patch) | |
tree | c34ed06f55a0101aa0cb2766233e5af6a16b7ad0 /svtools | |
parent | f63a85d8f9437a634ddb6be1f858e28b5f7018e8 (diff) |
tdf#93845: Style Preview Checkbox for Styles & Formatting sidebar
Change-Id: Id5862339bbe0c80002dfd99cbf19d981d1d42682
Reviewed-on: https://gerrit.libreoffice.org/27706
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/treelistbox.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx index 4754c5114031..14d1efc6e158 100644 --- a/svtools/source/contnr/treelistbox.cxx +++ b/svtools/source/contnr/treelistbox.cxx @@ -2225,9 +2225,9 @@ void SvTreeListBox::SetEntryHeight( SvTreeListEntry* pEntry ) } } -void SvTreeListBox::SetEntryHeight( short nHeight ) +void SvTreeListBox::SetEntryHeight( short nHeight, bool bForce ) { - if( nHeight > nEntryHeight ) + if( nHeight > nEntryHeight || bForce ) { nEntryHeight = nHeight; if( nEntryHeight ) |