summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbatablehelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbatablehelper.cxx')
-rw-r--r--sw/source/ui/vba/vbatablehelper.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/ui/vba/vbatablehelper.cxx b/sw/source/ui/vba/vbatablehelper.cxx
index bb174d1ede0b..755ecd899b87 100644
--- a/sw/source/ui/vba/vbatablehelper.cxx
+++ b/sw/source/ui/vba/vbatablehelper.cxx
@@ -38,18 +38,18 @@ SwTable* SwVbaTableHelper::GetSwTable( const uno::Reference< text::XTextTable >&
if( !pXTextTable )
throw uno::RuntimeException();
- SwFrmFmt* pFrmFmt = pXTextTable->GetFrmFmt();
- if( !pFrmFmt )
+ SwFrameFormat* pFrameFormat = pXTextTable->GetFrameFormat();
+ if( !pFrameFormat )
throw uno::RuntimeException();
- SwTable* pTable = SwTable::FindTable( pFrmFmt );
+ SwTable* pTable = SwTable::FindTable( pFrameFormat );
return pTable;
}
sal_Int32 SwVbaTableHelper::getTabColumnsCount( sal_Int32 nRowIndex ) throw (uno::RuntimeException)
{
sal_Int32 nRet = 0;
- if(!pTable->IsTblComplex())
+ if(!pTable->IsTableComplex())
{
SwTableLines& rLines = pTable->GetTabLines();
SwTableLine* pLine = rLines[ nRowIndex ];
@@ -76,7 +76,7 @@ sal_Int32 SwVbaTableHelper::getTabRowIndex( const OUString& CellName ) throw (un
{
sal_Int32 nRet = 0;
OUString sCellName(CellName);
- SwTableBox* pBox = const_cast<SwTableBox*>(pTable->GetTblBox( sCellName ));
+ SwTableBox* pBox = const_cast<SwTableBox*>(pTable->GetTableBox( sCellName ));
if( !pBox )
throw uno::RuntimeException();
@@ -91,7 +91,7 @@ sal_Int32 SwVbaTableHelper::getTabColIndex( const OUString& CellName ) throw (un
{
sal_Int32 nRet = 0;
OUString sCellName(CellName);
- const SwTableBox* pBox = pTable->GetTblBox( sCellName );
+ const SwTableBox* pBox = pTable->GetTableBox( sCellName );
if( !pBox )
throw uno::RuntimeException();
const SwTableBoxes* pBoxes = &pBox->GetUpper()->GetTabBoxes();