diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-08-05 15:50:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-08-05 17:58:10 +0200 |
commit | 2f6728f88cb895d7bfe185185ace30327b23e8ed (patch) | |
tree | ca8f3dfc99a53e4b06f33eb98b3821cfc2df8260 /svx/inc/CommonStylePreviewRenderer.hxx | |
parent | b6576ce2321f68e4e2c7399f3c2fdf934df43d1e (diff) |
tdf#135438 Paragraph styles preview in sidebar are clipped
since...
commit fe9a13dc0e6d1384416c2a2343223b33925fc925
Author: Caolán McNamara <caolanm@redhat.com>
Date: Sun Apr 26 15:43:25 2020 +0100
weld SfxTemplatePanelControl
getRenderSize used to be called after recalculate and before
render to change maSizePixel
Change-Id: Ifc1b6b0b3399c7de61d5f4d46f8346d13e72a4d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100178
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/inc/CommonStylePreviewRenderer.hxx')
-rw-r--r-- | svx/inc/CommonStylePreviewRenderer.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/inc/CommonStylePreviewRenderer.hxx b/svx/inc/CommonStylePreviewRenderer.hxx index 55391327533e..5dfd41faa39a 100644 --- a/svx/inc/CommonStylePreviewRenderer.hxx +++ b/svx/inc/CommonStylePreviewRenderer.hxx @@ -31,6 +31,8 @@ class CommonStylePreviewRenderer final : public sfx2::StylePreviewRenderer Size maPixelSize; OUString maStyleName; + Size getRenderSize() const; + public: CommonStylePreviewRenderer(const SfxObjectShell& rShell, OutputDevice& rOutputDev, SfxStyleSheetBase* pStyle, long nMaxHeight); |