summaryrefslogtreecommitdiff
path: root/sw/source/uibase/table
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/table')
-rw-r--r--sw/source/uibase/table/chartins.cxx2
-rw-r--r--sw/source/uibase/table/tablemgr.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/table/chartins.cxx b/sw/source/uibase/table/chartins.cxx
index eb2931965c71..e1d39e7661c1 100644
--- a/sw/source/uibase/table/chartins.cxx
+++ b/sw/source/uibase/table/chartins.cxx
@@ -144,7 +144,7 @@ void SwInsertChart(vcl::Window* pParent, SfxBindings* pBindings )
uno::Reference< frame::XModel > xChartModel;
OUString aRangeString;
- if( rWrtShell.IsCrsrInTable())
+ if( rWrtShell.IsCursorInTable())
{
if (!rWrtShell.IsTableMode())
{
diff --git a/sw/source/uibase/table/tablemgr.cxx b/sw/source/uibase/table/tablemgr.cxx
index 96d1090138a3..b1518e1f01b9 100644
--- a/sw/source/uibase/table/tablemgr.cxx
+++ b/sw/source/uibase/table/tablemgr.cxx
@@ -205,13 +205,13 @@ uno::Reference< frame::XModel > SwTableFUNC::InsertChart(
pSh->StartAllAction();
OUString aName;
- if (pSh->IsCrsrInTable())
+ if (pSh->IsCursorInTable())
{
aName = pSh->GetTableFormat()->GetName();
// insert node before table
pSh->MoveTable( fnTableCurr, fnTableStart );
pSh->Up( false );
- if ( pSh->IsCrsrInTable() )
+ if ( pSh->IsCursorInTable() )
{
if ( aName != pSh->GetTableFormat()->GetName() )
pSh->Down( false ); // two adjacent tables