From 49c2b9808df8a6b197dec666dfc0cda6321a4306 Mon Sep 17 00:00:00 2001 From: Robinson Tryon Date: Wed, 25 Nov 2015 06:03:10 -0500 Subject: bin/rename-sw-abbreviations.sh This commit renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I77e5134f42f25e3786afa36b7a505c7e3237a9e8 --- sw/source/uibase/table/chartins.cxx | 2 +- sw/source/uibase/table/tablemgr.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sw/source/uibase/table') 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 -- cgit