diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-03-10 13:16:33 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2016-03-17 14:25:55 +0100 |
commit | 966ef5e028ec6cd3e09c9086dc92d6f38a505721 (patch) | |
tree | 93c215727ccf031d9a59bdd287de7dc2b7da43ce /sd | |
parent | 3d6fc8720032a7d98eedcd92fb231374b6b03186 (diff) |
tdf#94370: Make previews of master pages finally appear
Just force the whole ValueSet to be formatted. Individual rectangles
are already being invalidated (when PREVIEW_CHANGED event comes), but
something naughty must be happening in ValueSet that those changes
don't show.
Change-Id: I4fd8af36e34c3a445d7b16b59e45256f016fd9df
Reviewed-on: https://gerrit.libreoffice.org/23115
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
(cherry picked from commit 1b98d7a3c4f1de39226e44e5b27351d8bfbbe6c0)
Reviewed-on: https://gerrit.libreoffice.org/23116
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit 819166500c1b45e4241fdb47f2de6653e4495372)
Reviewed-on: https://gerrit.libreoffice.org/23253
(cherry picked from commit 71f4f7fc85fbc872cd480613e95530f122f530f8)
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/sidebar/PreviewValueSet.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sd/source/ui/sidebar/PreviewValueSet.cxx b/sd/source/ui/sidebar/PreviewValueSet.cxx index 7c1145cf9c60..55ae2f7ea04d 100644 --- a/sd/source/ui/sidebar/PreviewValueSet.cxx +++ b/sd/source/ui/sidebar/PreviewValueSet.cxx @@ -78,6 +78,7 @@ void PreviewValueSet::Rearrange (bool /*bForceRequestResize*/) GetOutputSizePixel().Width())); sal_uInt16 nNewRowCount (CalculateRowCount (nNewColumnCount)); + SetFormat(); SetColCount(nNewColumnCount); SetLineCount(nNewRowCount); } |