[Libreoffice-commits] core.git: Branch 'libreoffice-7-2' - include/svx

Hossein (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 7 19:49:23 UTC 2021


 include/svx/svxids.hrc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 7c1221f15ced762b6ffcfd4abf6ebc2327f0341f
Author:     Hossein <hossein at libreoffice.org>
AuthorDate: Tue Jul 6 06:58:03 2021 +0200
Commit:     Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Wed Jul 7 21:48:47 2021 +0200

    tdf#143204 svx: fix SID_ATTR_TEXTCOLUMNS_SPACING SID collision
    
    These two SIDs have the same ID, which is fixed now:
    
    * include/sfx2/sfxsids.hrc:
            #define SID_NOTEBOOKBAR (SID_SVX_START + 338)
    * include/svx/svxids.hrc:
            #define SID_ATTR_TEXTCOLUMNS_SPACING ( SID_SVX_START + 338 )
    
    The symptom tdf#143204 is that the tabbed interface was hidden in Impress
    or Draw, which is now fixed.
    
    Looking at b66d87086804460c1986df1b832fd6b2ea075a90 (2014-04-01) we read:
      As commit 669ad519902e21e0cb3537fb7e203987f75a4077 (colliding
      SID_SVX_START based ids, 2013-06-24) suggests, new SID_SVX_START-based
      SID's shouldn't be added to include/editeng/editids.hrc. However, if it
      was done, at least add a comment about it to include/svx/svxids.hrc, so
      it becomes obvious that the two slots have the same ID.
    
    Also in include/sfx2/sfxsids.hrc:551
    
      slot IDs from SVX (svxids.hrc) ------------------------------------
      These SID_SVX_START entries came from include/svx/svxids.hrc, avoid
      accidentally colliding entries with include/svx/svxids.hrc and
      include/editeng/editids.hrc. Only add new SID_SVX_START entries
      to include/svx/svxids.hrc
    
    Change-Id: I5e8c14bdbaa72f1b030a686dd5fffc9ae8dd1306
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118459
    Tested-by: Jenkins
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
    (cherry picked from commit 8ea9a8bc43ea054521a44dc8e3bc537110ca9e33)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118504
    Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>

diff --git a/include/svx/svxids.hrc b/include/svx/svxids.hrc
index 6b23b3176f17..ac0373e2ad97 100644
--- a/include/svx/svxids.hrc
+++ b/include/svx/svxids.hrc
@@ -438,8 +438,8 @@ class SdrAngleItem;
 
 //#define SID_SIDEBAR                                   ( SID_SVX_START + 336 )   -> sfxsids.hrc
 
-#define SID_ATTR_TEXTCOLUMNS_NUMBER                     ( SID_SVX_START + 337 )
-#define SID_ATTR_TEXTCOLUMNS_SPACING                    ( SID_SVX_START + 338 )
+#define SID_ATTR_TEXTCOLUMNS_NUMBER                     ( SID_SVX_START + 340)
+#define SID_ATTR_TEXTCOLUMNS_SPACING                    ( SID_SVX_START + 341 )
 
 #define SID_SB_CONNECTIONPOOLING                        ( SID_SVX_START + 348 )
 #define SID_SB_DBREGISTEROPTIONS                        ( SID_SVX_START + 349 )


More information about the Libreoffice-commits mailing list