summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-07-16 08:51:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-07-17 17:45:09 +0200
commit3581de4d1d7dc3910b4642a2baef534dcd882597 (patch)
treecece21054c760690aa4470c407e753ede13eb686 /dbaccess
parent3fec689480644c274501740013ff83388cb24245 (diff)
drop sal_uInt16* constructor in SfxItemSet
Change-Id: Ifb283a49b01c9c6421e385f697e749439db6a53f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119008 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/misc/UITools.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx
index c590bf993915..2903b7a66ec4 100644
--- a/dbaccess/source/ui/misc/UITools.cxx
+++ b/dbaccess/source/ui/misc/UITools.cxx
@@ -768,13 +768,11 @@ bool callColumnFormatDialog(weld::Widget* _pParent,
{ SID_ATTR_NUMBERFORMAT_INFO, true },
{ SID_ATTR_NUMBERFORMAT_ONE_AREA, true }
};
- static const sal_uInt16 aAttrMap[] =
- {
+ static const auto aAttrMap = svl::Items<
SBA_DEF_RANGEFORMAT, SBA_ATTR_ALIGN_HOR_JUSTIFY,
SID_ATTR_NUMBERFORMAT_INFO, SID_ATTR_NUMBERFORMAT_INFO,
- SID_ATTR_NUMBERFORMAT_ONE_AREA, SID_ATTR_NUMBERFORMAT_ONE_AREA,
- 0
- };
+ SID_ATTR_NUMBERFORMAT_ONE_AREA, SID_ATTR_NUMBERFORMAT_ONE_AREA
+ >{};
std::vector<SfxPoolItem*> pDefaults
{