summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-06-28 23:12:24 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2021-06-30 12:21:28 +0200
commit9f3367a92c65fd9612e3dc73675e52593bfac0ce (patch)
tree689ad3dc2c020a5f8ac488a9822832f555d43d78 /sw
parent95ac4476f85123b23b4058749501948b367ff233 (diff)
tdf#143107 related: ensure correct order of which ids
... discovered after 8aaa28ed43978a9a4a20d62368410a57ec05c23f Change-Id: I1a14d227414210393c00c395486ede6daa438218 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118053 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> (cherry picked from commit 7c95c16deba975b0b282ccea1fbfcfadd7aa28b3) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118106 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/frmdlg/column.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/ui/frmdlg/column.cxx b/sw/source/ui/frmdlg/column.cxx
index 4adf7cb34447..97db736aeee6 100644
--- a/sw/source/ui/frmdlg/column.cxx
+++ b/sw/source/ui/frmdlg/column.cxx
@@ -98,10 +98,9 @@ SwColumnDlg::SwColumnDlg(weld::Window* pParent, SwWrtShell& rSh)
m_nSelectionWidth = aRect.Width();
SfxItemSet* pColPgSet = nullptr;
- static sal_uInt16 const aSectIds[] = { RES_COL, RES_COL,
- RES_FRM_SIZE, RES_FRM_SIZE,
- RES_COLUMNBALANCE, RES_FRAMEDIR,
- 0 };
+ static svl::Items<RES_FRM_SIZE, RES_FRM_SIZE,
+ RES_COL, RES_COL,
+ RES_COLUMNBALANCE, RES_FRAMEDIR> const aSectIds;
const SwSection* pCurrSection = m_rWrtShell.GetCurrSection();
const sal_uInt16 nFullSectCnt = m_rWrtShell.GetFullSelectedSectionCount();