summaryrefslogtreecommitdiff
path: root/sfx2/source/control/request.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/control/request.cxx')
-rw-r--r--sfx2/source/control/request.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/source/control/request.cxx b/sfx2/source/control/request.cxx
index 50e71b5779a8..1ef8e2956de2 100644
--- a/sfx2/source/control/request.cxx
+++ b/sfx2/source/control/request.cxx
@@ -698,7 +698,7 @@ void SfxRequest::Done_Impl
SfxItemPool &rPool = pImp->pShell->GetPool();
// Property-Slot?
- if ( !pImp->pSlot->IsMode(SFX_SLOT_METHOD) )
+ if ( !pImp->pSlot->IsMode(SfxSlotMode::METHOD) )
{
// get the property as SfxPoolItem
const SfxPoolItem *pItem;
@@ -719,7 +719,7 @@ void SfxRequest::Done_Impl
}
// record everything in a single statement?
- else if ( pImp->pSlot->IsMode(SFX_SLOT_RECORDPERSET) )
+ else if ( pImp->pSlot->IsMode(SfxSlotMode::RECORDPERSET) )
{
uno::Sequence < beans::PropertyValue > aSeq;
if ( pSet )
@@ -728,7 +728,7 @@ void SfxRequest::Done_Impl
}
// record each item as a single statement
- else if ( pImp->pSlot->IsMode(SFX_SLOT_RECORDPERITEM) )
+ else if ( pImp->pSlot->IsMode(SfxSlotMode::RECORDPERITEM) )
{
if ( pSet )
{
@@ -743,8 +743,8 @@ void SfxRequest::Done_Impl
// play it safe; repair the wrong flags
OSL_FAIL( "recursion RecordPerItem - use RecordPerSet!" );
SfxSlot *pSlot = (SfxSlot*) pImp->pSlot;
- pSlot->nFlags &= ~((sal_uIntPtr)SFX_SLOT_RECORDPERITEM);
- pSlot->nFlags &= SFX_SLOT_RECORDPERSET;
+ pSlot->nFlags &= ~(SfxSlotMode::RECORDPERITEM);
+ pSlot->nFlags &= SfxSlotMode::RECORDPERSET;
}
// Record a Sub-Request