[Libreoffice-commits] core.git: Branch 'libreoffice-5-2-6' - sd/source

Markus Mohrhard markus.mohrhard at googlemail.com
Mon Feb 27 13:53:46 UTC 2017


 sd/source/ui/sidebar/SlideBackground.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6580b64f3ca8992713ccaf02fb95f6993195969d
Author: Markus Mohrhard <markus.mohrhard at 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 <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    (cherry picked from commit 0407200401358d3d565438800f55b61fc1a61794)
    Reviewed-on: https://gerrit.libreoffice.org/34564
    Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>
    (cherry picked from commit 95396dbcaf035655f1102480c146e6cbc9f44d70)
    Reviewed-on: https://gerrit.libreoffice.org/34625
    Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
    Tested-by: Katarina Behrens <Katarina.Behrens at cib.de>

diff --git a/sd/source/ui/sidebar/SlideBackground.cxx b/sd/source/ui/sidebar/SlideBackground.cxx
index dfe65a2..473cd94 100644
--- a/sd/source/ui/sidebar/SlideBackground.cxx
+++ b/sd/source/ui/sidebar/SlideBackground.cxx
@@ -335,7 +335,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 );


More information about the Libreoffice-commits mailing list