summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-09 09:47:35 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-03-09 09:46:53 +0000
commitc8a93253e43e81e5dbc89937f2a21ca75e0582bc (patch)
treec5ebf27b0f2a5ece4846bf2e0cd0a09815f105e0 /dbaccess
parent9885a4f10f6b900a2a870e5fe691c4a465522b75 (diff)
remove unused NOT_POOLABLE enum value
and simplify the resulting SfxItemInfo field down to a single bool Change-Id: I73e24e83d39afc7660ac85872ba96bc790713cb2 Reviewed-on: https://gerrit.libreoffice.org/23058 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/dlg/dbadmin.cxx122
-rw-r--r--dbaccess/source/ui/misc/UITools.cxx10
2 files changed, 66 insertions, 66 deletions
diff --git a/dbaccess/source/ui/dlg/dbadmin.cxx b/dbaccess/source/ui/dlg/dbadmin.cxx
index ecf86d5d3539..ac87241dad9b 100644
--- a/dbaccess/source/ui/dlg/dbadmin.cxx
+++ b/dbaccess/source/ui/dlg/dbadmin.cxx
@@ -371,67 +371,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,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}
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false},
+ {0,false}
};
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 ebfd43a4d29f..42353aa3de1a 100644
--- a/dbaccess/source/ui/misc/UITools.cxx
+++ b/dbaccess/source/ui/misc/UITools.cxx
@@ -799,11 +799,11 @@ bool callColumnFormatDialog(vcl::Window* _pParent,
// UNO->ItemSet
static SfxItemInfo aItemInfos[] =
{
- { 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 }
+ { 0, false },
+ { SID_ATTR_NUMBERFORMAT_VALUE, true },
+ { SID_ATTR_ALIGN_HOR_JUSTIFY, true },
+ { SID_ATTR_NUMBERFORMAT_ONE_AREA, true },
+ { SID_ATTR_NUMBERFORMAT_INFO, true }
};
static const sal_uInt16 aAttrMap[] =
{