svx/source/sidebar/area/AreaPropertyPanelBase.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b780cba7db2a7d0f57ad40c5e212351a8d4b8bdc
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Sat Aug 2 20:03:09 2025 +0100
Commit:     Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
CommitDate: Fri Aug 8 11:53:16 2025 +0200

    cid#1660401 Explicit null dereferenced
    
    Change-Id: I61ffc09df3569119597a97e1eb96dc5096410396
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188858
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    (cherry picked from commit f0ae436a49560dd78686aa4723a8751f083e942b)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189049
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>
    (cherry picked from commit 735ed9cc93b9fdcf85baa43f1d856a9ec469b941)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189073
    Tested-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
    Reviewed-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com>

diff --git a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx 
b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
index 1b8774b62ff8..f506e0124b5a 100644
--- a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
+++ b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
@@ -1037,7 +1037,7 @@ void AreaPropertyPanelBase::updateFillBitmap(bool 
bDisabled, bool bDefaultOrSet,
 
         if (bDefaultOrSet)
         {
-            if(mpBitmapItem->isPattern())
+            if (mpBitmapItem && mpBitmapItem->isPattern())
                 mxLbFillType->set_active(PATTERN);
             else
                 mxLbFillType->set_active(BITMAP);

Reply via email to