summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-03-12 14:25:34 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-03-18 15:17:59 +0100
commitf9cf66b39ea00afc66ae79ca46cd9071f3598cb8 (patch)
tree4b488119c57d9e1ea3250e55af2df8769dc014f0 /sd
parent3b544a311d6ab22e1e04c45a841d5f24d5c6b325 (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 7ee626ec4162..eaee1c1d4802 100644
--- a/sd/source/ui/sidebar/SlideBackground.cxx
+++ b/sd/source/ui/sidebar/SlideBackground.cxx
@@ -341,8 +341,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() )