[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - sd/source
Katarina Behrens
Katarina.Behrens at cib.de
Tue Mar 15 10:50:57 UTC 2016
sd/source/ui/sidebar/PreviewValueSet.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 71f4f7fc85fbc872cd480613e95530f122f530f8
Author: Katarina Behrens <Katarina.Behrens at cib.de>
Date: Thu Mar 10 13:16:33 2016 +0100
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 at libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>
(cherry picked from commit 1b98d7a3c4f1de39226e44e5b27351d8bfbbe6c0)
Reviewed-on: https://gerrit.libreoffice.org/23116
Reviewed-by: Eike Rathke <erack at redhat.com>
Tested-by: Eike Rathke <erack at redhat.com>
(cherry picked from commit 819166500c1b45e4241fdb47f2de6653e4495372)
Reviewed-on: https://gerrit.libreoffice.org/23253
diff --git a/sd/source/ui/sidebar/PreviewValueSet.cxx b/sd/source/ui/sidebar/PreviewValueSet.cxx
index 7c1145c..55ae2f7 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);
}
More information about the Libreoffice-commits
mailing list