diff options
Diffstat (limited to 'sw/source/core/doc/docchart.cxx')
-rw-r--r-- | sw/source/core/doc/docchart.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/docchart.cxx b/sw/source/core/doc/docchart.cxx index 196fda16d6b7..1b48a928c886 100644 --- a/sw/source/core/doc/docchart.cxx +++ b/sw/source/core/doc/docchart.cxx @@ -95,7 +95,7 @@ void SwDoc::DoUpdateAllCharts() { SwTable* pTmpTbl; const SwTableNode* pTblNd; - SwFrmFmt* pFmt = rTblFmts[ n ]; + const SwFrmFmt* pFmt = rTblFmts[ n ]; if( 0 != ( pTmpTbl = SwTable::FindTable( pFmt ) ) && 0 != ( pTblNd = pTmpTbl->GetTableNode() ) && @@ -149,7 +149,7 @@ void SwDoc::SetTableName( SwFrmFmt& rTblFmt, const OUString &rNewName ) bool bNameFound = rNewName.isEmpty(); if( !bNameFound ) { - SwFrmFmt* pFmt; + const SwFrmFmt* pFmt; const SwFrmFmts& rTbl = *GetTblFrmFmts(); for( sal_uInt16 i = rTbl.size(); i; ) if( !( pFmt = rTbl[ --i ] )->IsDefault() && |