svx/sdi/svxitems.sdi |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit bad1c8b6d45b466056caa040cc509e1d4456664d
Author:     Justin Luth <[email protected]>
AuthorDate: Wed May 3 16:40:58 2023 -0400
Commit:     Xisco Fauli <[email protected]>
CommitDate: Thu May 4 12:58:35 2023 +0200

    tdf#127322 svx: add back MID_GRAPHIC_URL to SvxBrush
    
    This fixes the problem where gallery images
    could not be set as page or paragraph backgrounds.
    
    This URL attribute was removed in LO 6.1 with
    author  Tomaž Vajngerl on 2018-03-09 09:41:44 +0100
    commit c7ff07b2dab639b901c80f1f62efee4dd3ad549b
        remove MID_GRAPHIC_URL and related mappings, implementation
    
    Most of this was restored shortly thereafter with
    author  Tomaž Vajngerl on 2018-05-07 16:30:35 +0200
    commit  7a8ed362eb163ac15a000ba1cfc74b58315800a1 (patch)
        [API CHANGE] revert and deprecate *BackGraphicURL add *BackGraphic
    
    However, this piece wasn't restored.
    
    Change-Id: Ia74d2562b61135f3294a7d6ebfa72cfadb4bdb5b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151342
    Tested-by: Jenkins
    Reviewed-by: Justin Luth <[email protected]>
    (cherry picked from commit 2f474d5690d0c9850ef82efa26f2f82580c09a8d)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151286
    Reviewed-by: Xisco Fauli <[email protected]>

diff --git a/svx/sdi/svxitems.sdi b/svx/sdi/svxitems.sdi
index 66eaf39b675b..949d261f1397 100644
--- a/svx/sdi/svxitems.sdi
+++ b/svx/sdi/svxitems.sdi
@@ -232,6 +232,7 @@ struct SvxBrush
 {
     BOOL        Transparent     MID_GRAPHIC_TRANSPARENT;
     INT32       BackColor       MID_BACK_COLOR;
+    String      URL             MID_GRAPHIC_URL;
     String      Filtername      MID_GRAPHIC_FILTER;
     INT16       Position        MID_GRAPHIC_POSITION;
 };

Reply via email to