summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/Accessibility/AccessibleCsvControl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx
index 7db93dbe6d25..e9a4a1deef65 100644
--- a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx
+++ b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx
@@ -1163,7 +1163,7 @@ void ScAccessibleCsvGrid::SendInsertColumnEvent( sal_uInt32 nFirstColumn, sal_uI
if( nFirstColumn <= nLastColumn )
{
AccessibleTableModelChange aModelChange(
- AccessibleTableModelChangeType::INSERT, 0, implGetRowCount() - 1,
+ AccessibleTableModelChangeType::COLUMNS_INSERTED, -1, -1,
lcl_GetApiColumn( nFirstColumn ), lcl_GetApiColumn( nLastColumn ) );
Any aOldAny, aNewAny;
aNewAny <<= aModelChange;
@@ -1176,7 +1176,7 @@ void ScAccessibleCsvGrid::SendRemoveColumnEvent( sal_uInt32 nFirstColumn, sal_uI
if( nFirstColumn <= nLastColumn )
{
AccessibleTableModelChange aModelChange(
- AccessibleTableModelChangeType::DELETE, 0, implGetRowCount() - 1,
+ AccessibleTableModelChangeType::COLUMNS_REMOVED, -1, -1,
lcl_GetApiColumn( nFirstColumn ), lcl_GetApiColumn( nLastColumn ) );
Any aOldAny, aNewAny;
aNewAny <<= aModelChange;