summaryrefslogtreecommitdiffstats
path: root/include/svx/svxids.hrc
diff options
context:
space:
mode:
authorHossein <hossein@libreoffice.org>2021-07-06 06:58:03 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2021-07-07 17:42:19 +0200
commit8ea9a8bc43ea054521a44dc8e3bc537110ca9e33 (patch)
treea42340e887e031097fcb39c7097a15e71e1662f4 /include/svx/svxids.hrc
parentgtk[3|4] give signal_item_activate an ident instead of a GtkMenuItem* (diff)
downloadcore-8ea9a8bc43ea054521a44dc8e3bc537110ca9e33.tar.gz
core-8ea9a8bc43ea054521a44dc8e3bc537110ca9e33.zip
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@collabora.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/svx/svxids.hrc')
-rw-r--r--include/svx/svxids.hrc4
1 files changed, 2 insertions, 2 deletions
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 )