diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-03-10 13:16:33 +0100 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-03-10 13:28:34 +0000 |
commit | 1b98d7a3c4f1de39226e44e5b27351d8bfbbe6c0 (patch) | |
tree | ec1d31065b3104b6447207651f84217b557467d0 /sd/source/ui | |
parent | 582631125960db3866742641a0536dbccaa76b55 (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>
Diffstat (limited to 'sd/source/ui')
-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 25d5f2987e68..62eacbabf20e 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); } |