sw/source/core/doc/docdesc.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit af0946b9eabe49636d5a732aa38bde954a803538
Author:     Justin Luth <justin.l...@collabora.com>
AuthorDate: Fri Nov 8 16:40:40 2024 -0500
Commit:     Justin Luth <jl...@mail.com>
CommitDate: Sat Nov 9 00:46:04 2024 +0100

    tdf#163812 sw: invalidate "Area" properties so sidebar updates
    
    Changes to the background fill were not being updated
    in Writer's sidebar, ever since the introduction in 5.3.
    
    Each of these invalidations can be observed to be necessary
    in the corresponding fill type and fill choice listboxes.
    
    It already worked in Draw, and I don't see anywhere
    this would be needed in Calc
    
    Change-Id: I42f94ee99036761ff69293bcbb44aeda61e1b321
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176300
    Tested-by: Jenkins
    Reviewed-by: Justin Luth <jl...@mail.com>

diff --git a/sw/source/core/doc/docdesc.cxx b/sw/source/core/doc/docdesc.cxx
index 0400a34c586d..67a954510e97 100644
--- a/sw/source/core/doc/docdesc.cxx
+++ b/sw/source/core/doc/docdesc.cxx
@@ -671,6 +671,11 @@ void SwDoc::ChgPageDesc( size_t i, const SwPageDesc 
&rChged )
                 pBindings->Invalidate( SID_ATTR_PAGE_SIZE );
                 pBindings->Invalidate( SID_ATTR_PAGE_ULSPACE );
                 pBindings->Invalidate( SID_ATTR_PAGE_LRSPACE );
+                pBindings->Invalidate(SID_ATTR_PAGE_FILLSTYLE);
+                pBindings->Invalidate(SID_ATTR_PAGE_COLOR);
+                pBindings->Invalidate(SID_ATTR_PAGE_GRADIENT);
+                pBindings->Invalidate(SID_ATTR_PAGE_HATCH);
+                pBindings->Invalidate(SID_ATTR_PAGE_BITMAP);
             }
         }
     }

Reply via email to