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 /sfx2 | |
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 'sfx2')
-rw-r--r-- | sfx2/source/explorer/nochaos.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/explorer/nochaos.cxx b/sfx2/source/explorer/nochaos.cxx index cb746f9d2519..b8b81f8abce3 100644 --- a/sfx2/source/explorer/nochaos.cxx +++ b/sfx2/source/explorer/nochaos.cxx @@ -41,7 +41,7 @@ class CntStaticPoolDefaults_Impl: private boost::noncopyable SfxItemInfo* m_pItemInfos; private: - inline void Insert( SfxPoolItem* pItem, sal_uInt16 nSID, sal_uInt16 nFlags ); + inline void Insert( SfxPoolItem* pItem, sal_uInt16 nSID, SfxItemPoolFlags nFlags ); public: CntStaticPoolDefaults_Impl( CntItemPool* pPool ); @@ -163,7 +163,7 @@ sal_uInt16 CntItemPool::Release() inline void CntStaticPoolDefaults_Impl::Insert( SfxPoolItem* pItem, /* Static Pool Default Item */ - sal_uInt16 nSID, sal_uInt16 nFlags /* Item Info */ ) + sal_uInt16 nSID, SfxItemPoolFlags nFlags /* Item Info */ ) { sal_uInt16 nPos = pItem->Which() - WID_CHAOS_START; @@ -193,7 +193,7 @@ CntStaticPoolDefaults_Impl::CntStaticPoolDefaults_Impl( CntItemPool* /*pPool*/ ) Insert( new SfxStringItem( WID_CHAOS_START, OUString() ), 0, - SFX_ITEM_POOLABLE ); + SfxItemPoolFlags::POOLABLE ); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |