summaryrefslogtreecommitdiff
path: root/svtools/source/table
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-20 14:36:10 +0200
committerNoel Grandin <noel@peralex.com>2015-04-22 10:28:41 +0200
commitf3632c2c0a53f61c9ceab39e8861d2029c0b0992 (patch)
treec18a950280cb3b365e706b0b69a57d9e9713a263 /svtools/source/table
parent2c9ee17c3b18d82680f4949d029a7caff4029c03 (diff)
convert COL_ATTRS_ constants to scoped enum
Change-Id: I339f0668b32be1f3b06ff788e96e58c4a6de2408
Diffstat (limited to 'svtools/source/table')
-rw-r--r--svtools/source/table/tablecontrol_impl.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svtools/source/table/tablecontrol_impl.cxx b/svtools/source/table/tablecontrol_impl.cxx
index a9a7607a5c93..2d2bf0166586 100644
--- a/svtools/source/table/tablecontrol_impl.cxx
+++ b/svtools/source/table/tablecontrol_impl.cxx
@@ -502,13 +502,13 @@ namespace svt { namespace table
void TableControl_Impl::columnChanged( ColPos const i_column, ColumnAttributeGroup const i_attributeGroup )
{
ColumnAttributeGroup nGroup( i_attributeGroup );
- if ( nGroup & COL_ATTRS_APPEARANCE )
+ if ( nGroup & ColumnAttributeGroup::APPEARANCE )
{
impl_invalidateColumn( i_column );
- nGroup &= ~COL_ATTRS_APPEARANCE;
+ nGroup &= ~ColumnAttributeGroup::APPEARANCE;
}
- if ( nGroup & COL_ATTRS_WIDTH )
+ if ( nGroup & ColumnAttributeGroup::WIDTH )
{
if ( !m_bUpdatingColWidths )
{
@@ -516,10 +516,10 @@ namespace svt { namespace table
invalidate( TableAreaAll );
}
- nGroup &= ~COL_ATTRS_WIDTH;
+ nGroup &= ~ColumnAttributeGroup::WIDTH;
}
- OSL_ENSURE( ( nGroup == COL_ATTRS_NONE ) || ( i_attributeGroup == COL_ATTRS_ALL ),
+ OSL_ENSURE( ( nGroup == ColumnAttributeGroup::NONE ) || ( i_attributeGroup == ColumnAttributeGroup::ALL ),
"TableControl_Impl::columnChanged: don't know how to handle this change!" );
}