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 /svl/qa | |
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 'svl/qa')
-rw-r--r-- | svl/qa/unit/items/test_itempool.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svl/qa/unit/items/test_itempool.cxx b/svl/qa/unit/items/test_itempool.cxx index 469287eecc83..f42ee3fec23e 100644 --- a/svl/qa/unit/items/test_itempool.cxx +++ b/svl/qa/unit/items/test_itempool.cxx @@ -35,10 +35,10 @@ class PoolItemTest : public CppUnit::TestFixture void PoolItemTest::testPool() { SfxItemInfo aItems[] = - { { 0, SFX_ITEM_POOLABLE }, - { 1, 0 /* not poolable */ }, - { 2, SFX_ITEM_NOT_POOLABLE }, - { 3, 0 /* not poolable */} + { { 0, SfxItemPoolFlags::POOLABLE }, + { 1, SfxItemPoolFlags::NONE /* not poolable */ }, + { 2, SfxItemPoolFlags::NOT_POOLABLE }, + { 3, SfxItemPoolFlags::NONE /* not poolable */} }; SfxItemPool *pPool = new SfxItemPool("testpool", 0, 3, aItems); |