diff options
Diffstat (limited to 'sc/source/filter/html/htmlpars.cxx')
-rw-r--r-- | sc/source/filter/html/htmlpars.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/filter/html/htmlpars.cxx b/sc/source/filter/html/htmlpars.cxx index 408fbbc1ab24..7a631bb63fa3 100644 --- a/sc/source/filter/html/htmlpars.cxx +++ b/sc/source/filter/html/htmlpars.cxx @@ -337,7 +337,7 @@ void ScHTMLLayoutParser::EntryEnd( ScEEParseEntry* pE, const ESelection& rSel ) } } -void ScHTMLLayoutParser::NextRow( HtmlImportInfo* pInfo ) +void ScHTMLLayoutParser::NextRow( const HtmlImportInfo* pInfo ) { if ( bInCell ) CloseEntry( pInfo ); @@ -348,7 +348,7 @@ void ScHTMLLayoutParser::NextRow( HtmlImportInfo* pInfo ) bFirstRow = false; } -bool ScHTMLLayoutParser::SeekOffset( ScHTMLColOffset* pOffset, sal_uInt16 nOffset, +bool ScHTMLLayoutParser::SeekOffset( const ScHTMLColOffset* pOffset, sal_uInt16 nOffset, SCCOL* pCol, sal_uInt16 nOffsetTol ) { OSL_ENSURE( pOffset, "ScHTMLLayoutParser::SeekOffset - illegal call" ); @@ -821,7 +821,7 @@ void ScHTMLLayoutParser::Colonize( ScEEParseEntry* pE ) nTableWidth = nColOffset - nColOffsetStart; } -void ScHTMLLayoutParser::CloseEntry( HtmlImportInfo* pInfo ) +void ScHTMLLayoutParser::CloseEntry( const HtmlImportInfo* pInfo ) { bInCell = false; if ( bTabInTabCell ) @@ -1032,19 +1032,19 @@ void ScHTMLLayoutParser::TableDataOn( HtmlImportInfo* pInfo ) SvxHorJustifyItem( SvxCellHorJustify::Center, ATTR_HOR_JUSTIFY) ); } -void ScHTMLLayoutParser::TableRowOn( HtmlImportInfo* pInfo ) +void ScHTMLLayoutParser::TableRowOn( const HtmlImportInfo* pInfo ) { if ( nColCnt > nColCntStart ) NextRow( pInfo ); // The optional TableRowOff wasn't there nColOffset = nColOffsetStart; } -void ScHTMLLayoutParser::TableRowOff( HtmlImportInfo* pInfo ) +void ScHTMLLayoutParser::TableRowOff( const HtmlImportInfo* pInfo ) { NextRow( pInfo ); } -void ScHTMLLayoutParser::TableDataOff( HtmlImportInfo* pInfo ) +void ScHTMLLayoutParser::TableDataOff( const HtmlImportInfo* pInfo ) { if ( bInCell ) CloseEntry( pInfo ); // Only if it really was one @@ -1161,7 +1161,7 @@ void ScHTMLLayoutParser::TableOn( HtmlImportInfo* pInfo ) MakeColNoRef( pLocalColOffset, nColOffsetStart, 0, 0, 0 ); } -void ScHTMLLayoutParser::TableOff( HtmlImportInfo* pInfo ) +void ScHTMLLayoutParser::TableOff( const HtmlImportInfo* pInfo ) { if ( bInCell ) CloseEntry( pInfo ); @@ -1457,7 +1457,7 @@ void ScHTMLLayoutParser::AnchorOn( HtmlImportInfo* pInfo ) } } -bool ScHTMLLayoutParser::IsAtBeginningOfText( HtmlImportInfo* pInfo ) +bool ScHTMLLayoutParser::IsAtBeginningOfText( const HtmlImportInfo* pInfo ) { ESelection& rSel = pActEntry->aSel; return rSel.nStartPara == rSel.nEndPara && |