summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-03-12 14:25:34 +0000
committerSzymon Kłos <szymon.klos@collabora.com>2021-05-25 12:12:33 +0200
commit2c4daf487b4a25cb19e84fb894ade0b06648f4c1 (patch)
tree352728cc541a9b7d5d8332d7b47d16621e9d55e7 /sd
parentdbc976c9c4f42426988660e74a4552f3287551db (diff)
weld the sidebar deck
Change-Id: Idc6710df7e59bcb5f61fca783e0cc0666cb13a1f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112404 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/sidebar/SlideBackground.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/sidebar/SlideBackground.cxx b/sd/source/ui/sidebar/SlideBackground.cxx
index 43c566fb761c..035875e5bc20 100644
--- a/sd/source/ui/sidebar/SlideBackground.cxx
+++ b/sd/source/ui/sidebar/SlideBackground.cxx
@@ -343,8 +343,8 @@ void SlideBackground::HandleContextChange(
mxInsertImage->hide();
// Need to do a relayouting, otherwise the panel size is not updated after show / hide controls
- if (m_xPanel)
- m_xPanel->TriggerDeckLayouting();
+ if (m_pPanel)
+ m_pPanel->TriggerDeckLayouting();
}
else if ( IsDraw() )