diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-13 16:01:31 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-04-15 11:35:35 +0000 |
commit | fe73ed7c79b96eaa5aa84314a07ae11f188575a1 (patch) | |
tree | c31e19b767338e15afd51606753b822bdd5b700d /dbaccess/source | |
parent | d208cf834f4f191558ae27ea7a8c7a31b8e440a6 (diff) |
convert SFX_ITEM constants to scoped enum
Change-Id: Ief8c30c356ba947727c5ab70092042816a0db99e
Reviewed-on: https://gerrit.libreoffice.org/15302
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'dbaccess/source')
-rw-r--r-- | dbaccess/source/ui/dlg/dbadmin.cxx | 122 | ||||
-rw-r--r-- | dbaccess/source/ui/misc/UITools.cxx | 10 |
2 files changed, 66 insertions, 66 deletions
diff --git a/dbaccess/source/ui/dlg/dbadmin.cxx b/dbaccess/source/ui/dlg/dbadmin.cxx index 646db7cb7e5b..7eeedec9500a 100644 --- a/dbaccess/source/ui/dlg/dbadmin.cxx +++ b/dbaccess/source/ui/dlg/dbadmin.cxx @@ -367,67 +367,67 @@ SfxItemSet* ODbAdminDialog::createItemSet(SfxItemSet*& _rpSet, SfxItemPool*& _rp // create the pool static SfxItemInfo const aItemInfos[DSID_LAST_ITEM_ID - DSID_FIRST_ITEM_ID + 1] = { - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0}, - {0,0} + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE}, + {0,SfxItemPoolFlags::NONE} }; OSL_ENSURE(sizeof(aItemInfos)/sizeof(aItemInfos[0]) == DSID_LAST_ITEM_ID,"Invalid Ids!"); diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx index 5c661d5d8191..e7dbf9c57e18 100644 --- a/dbaccess/source/ui/misc/UITools.cxx +++ b/dbaccess/source/ui/misc/UITools.cxx @@ -798,11 +798,11 @@ bool callColumnFormatDialog(vcl::Window* _pParent, // UNO->ItemSet static SfxItemInfo aItemInfos[] = { - { 0, 0 }, - { SID_ATTR_NUMBERFORMAT_VALUE, SFX_ITEM_POOLABLE }, - { SID_ATTR_ALIGN_HOR_JUSTIFY, SFX_ITEM_POOLABLE }, - { SID_ATTR_NUMBERFORMAT_ONE_AREA, SFX_ITEM_POOLABLE }, - { SID_ATTR_NUMBERFORMAT_INFO, SFX_ITEM_POOLABLE } + { 0, SfxItemPoolFlags::NONE }, + { SID_ATTR_NUMBERFORMAT_VALUE, SfxItemPoolFlags::POOLABLE }, + { SID_ATTR_ALIGN_HOR_JUSTIFY, SfxItemPoolFlags::POOLABLE }, + { SID_ATTR_NUMBERFORMAT_ONE_AREA, SfxItemPoolFlags::POOLABLE }, + { SID_ATTR_NUMBERFORMAT_INFO, SfxItemPoolFlags::POOLABLE } }; static const sal_uInt16 aAttrMap[] = { |