summaryrefslogtreecommitdiff
path: root/cui/source/inc/cuitabarea.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/inc/cuitabarea.hxx')
-rw-r--r--cui/source/inc/cuitabarea.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx
index baa67bc85d4c..956ddb88f917 100644
--- a/cui/source/inc/cuitabarea.hxx
+++ b/cui/source/inc/cuitabarea.hxx
@@ -771,14 +771,14 @@ public:
bool IsModified()
{
- return *pnColorListState & CT_MODIFIED;
+ return bool(*pnColorListState & ChangeType::MODIFIED);
}
void SetModified(bool bIsModified)
{
if (bIsModified)
- *pnColorListState |= CT_MODIFIED;
+ *pnColorListState |= ChangeType::MODIFIED;
else
- *pnColorListState &= ~CT_MODIFIED;
+ *pnColorListState &= ~ChangeType::MODIFIED;
}
void AddState(ChangeType nState)
{