summaryrefslogtreecommitdiff
path: root/svtools/source/uno/svtxgridcontrol.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-14 10:00:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-14 14:22:24 +0200
commit923fd24972e9d3dac4fa5ed863e42bb28cf6605a (patch)
treeef7903908f6323f4ca3cce7644f8d45a510e2893 /svtools/source/uno/svtxgridcontrol.cxx
parent7bd5d9c81b30609d4d10dba091021352e94a7837 (diff)
convert svt::table::TableArea to scoped enum
and drop unused TableAreaDataArea enumerator Change-Id: I00da558ab899dccbeaa9786c65f7a2831f323b25
Diffstat (limited to 'svtools/source/uno/svtxgridcontrol.cxx')
-rw-r--r--svtools/source/uno/svtxgridcontrol.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/uno/svtxgridcontrol.cxx b/svtools/source/uno/svtxgridcontrol.cxx
index 574180953fa0..4fc636ccc440 100644
--- a/svtools/source/uno/svtxgridcontrol.cxx
+++ b/svtools/source/uno/svtxgridcontrol.cxx
@@ -625,7 +625,7 @@ void SAL_CALL SVTXGridControl::dataChanged( const GridDataEvent& i_event )
// So, just in case, invalidate the column header area, too.
VclPtr< TableControl > pTable = GetAsDynamic< TableControl >();
ENSURE_OR_RETURN_VOID( pTable, "SVTXGridControl::dataChanged: no control (anymore)!" );
- pTable->getTableControlInterface().invalidate( TableAreaColumnHeaders );
+ pTable->getTableControlInterface().invalidate( TableArea::ColumnHeaders );
}
@@ -637,7 +637,7 @@ void SAL_CALL SVTXGridControl::rowHeadingChanged( const GridDataEvent& )
ENSURE_OR_RETURN_VOID( pTable, "SVTXGridControl::rowHeadingChanged: no control (anymore)!" );
// TODO: we could do better than this - invalidate the header area only
- pTable->getTableControlInterface().invalidate( TableAreaRowHeaders );
+ pTable->getTableControlInterface().invalidate( TableArea::RowHeaders );
}