summaryrefslogtreecommitdiff
path: root/svl/source/items/style.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/style.cxx')
-rw-r--r--svl/source/items/style.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index 4221020c5077..f14dd8a1137e 100644
--- a/svl/source/items/style.cxx
+++ b/svl/source/items/style.cxx
@@ -372,7 +372,7 @@ SfxStyleFamily SfxStyleSheetIterator::GetSearchFamily() const
inline bool SfxStyleSheetIterator::IsTrivialSearch()
{
return (( nMask & SFXSTYLEBIT_ALL_VISIBLE ) == SFXSTYLEBIT_ALL_VISIBLE) &&
- (GetSearchFamily() == SFX_STYLE_FAMILY_ALL);
+ (GetSearchFamily() == SfxStyleFamily::All);
}
namespace {
@@ -385,7 +385,7 @@ struct DoesStyleMatchStyleSheetPredicate final : public svl::StyleSheetPredicate
bool
Check(const SfxStyleSheetBase& styleSheet) override
{
- bool bMatchFamily = ((mIterator->GetSearchFamily() == SFX_STYLE_FAMILY_ALL) ||
+ bool bMatchFamily = ((mIterator->GetSearchFamily() == SfxStyleFamily::All) ||
( styleSheet.GetFamily() == mIterator->GetSearchFamily() ));
bool bUsed = mIterator->SearchUsed() && styleSheet.IsUsed( );
@@ -577,7 +577,7 @@ SfxStyleSheetBasePool::SfxStyleSheetBasePool( SfxItemPool& r ) :
pImp(new SfxStyleSheetBasePool_Impl),
aAppName(r.GetName()),
rPool(r),
- nSearchFamily(SFX_STYLE_FAMILY_PARA),
+ nSearchFamily(SfxStyleFamily::Para),
nMask(SFXSTYLEBIT_ALL)
{
#ifdef DBG_UTIL
@@ -656,7 +656,7 @@ SfxStyleSheetBase* SfxStyleSheetBasePool::Create( const SfxStyleSheetBase& r )
SfxStyleSheetBase& SfxStyleSheetBasePool::Make( const OUString& rName, SfxStyleFamily eFam, sal_uInt16 mask)
{
- OSL_ENSURE( eFam != SFX_STYLE_FAMILY_ALL, "svl::SfxStyleSheetBasePool::Make(), FamilyAll is not a allowed Familie" );
+ OSL_ENSURE( eFam != SfxStyleFamily::All, "svl::SfxStyleSheetBasePool::Make(), FamilyAll is not a allowed Familie" );
SfxStyleSheetIterator aIter(this, eFam, mask);
rtl::Reference< SfxStyleSheetBase > xStyle( aIter.Find( rName ) );