summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2016-03-10 13:16:33 +0100
committerEike Rathke <erack@redhat.com>2016-03-15 10:50:32 +0000
commit71f4f7fc85fbc872cd480613e95530f122f530f8 (patch)
tree372b593b813636660a97795c56d769242616fd15
parent5340dc6d735af1eca04b685f1be466a9ed979980 (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
-rw-r--r--sd/source/ui/sidebar/PreviewValueSet.cxx1
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);
}