summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unodraw.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/unocore/unodraw.cxx')
-rw-r--r--sw/source/core/unocore/unodraw.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx
index 891bc28b5b1e..366c5a2d0f20 100644
--- a/sw/source/core/unocore/unodraw.cxx
+++ b/sw/source/core/unocore/unodraw.cxx
@@ -1825,9 +1825,9 @@ uno::Sequence< beans::PropertyState > SwXShape::getPropertyStates(
const SwAttrSet& rSet = pFmt->GetAttrSet();
SfxItemState eItemState = rSet.GetItemState(pEntry->nWID, false);
- if(SFX_ITEM_SET == eItemState)
+ if(SfxItemState::SET == eItemState)
pRet[nProperty] = beans::PropertyState_DIRECT_VALUE;
- else if(SFX_ITEM_DEFAULT == eItemState)
+ else if(SfxItemState::DEFAULT == eItemState)
pRet[nProperty] = beans::PropertyState_DEFAULT_VALUE;
else
pRet[nProperty] = beans::PropertyState_AMBIGUOUS_VALUE;