sd/source/ui/sidebar/SlideBackground.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 0407200401358d3d565438800f55b61fc1a61794 Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Thu Feb 23 00:32:12 2017 +0100 fix crash in the sidebar code The check should be for xPanel and not xPanels. See http://crashreport.libreoffice.org/stats/signature/sfx2::sidebar::Panel::GetTitleBar() Change-Id: I745d6d8abbfc68e86ed812460faa551867ddec43 Reviewed-on: https://gerrit.libreoffice.org/34560 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com> diff --git a/sd/source/ui/sidebar/SlideBackground.cxx b/sd/source/ui/sidebar/SlideBackground.cxx index dca73a8..e89fd86 100644 --- a/sd/source/ui/sidebar/SlideBackground.cxx +++ b/sd/source/ui/sidebar/SlideBackground.cxx @@ -298,7 +298,7 @@ void SlideBackground::SetPanelTitle( const OUString& rTitle ) return; Reference<ui::XPanel> xPanel ( xPanels->getByName("SlideBackgroundPanel"), uno::UNO_QUERY); - if ( !xPanels.is() ) + if ( !xPanel.is() ) return; xPanel->setTitle( rTitle ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits