diff options
Diffstat (limited to 'sw/source/core/text/txttab.cxx')
-rw-r--r-- | sw/source/core/text/txttab.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/core/text/txttab.cxx b/sw/source/core/text/txttab.cxx index f2646c2b4a9a..7ed18741304d 100644 --- a/sw/source/core/text/txttab.cxx +++ b/sw/source/core/text/txttab.cxx @@ -398,7 +398,9 @@ sal_Bool SwTabPortion::PreFormat( SwTxtFormatInfo &rInf ) // #i89179# // tab portion representing the list tab of a list label gets the // same font as the corresponding number portion + SAL_WNODEPRECATED_DECLARATIONS_PUSH std::auto_ptr< SwFontSave > pSave( 0 ); + SAL_WNODEPRECATED_DECLARATIONS_POP if ( GetLen() == 0 && rInf.GetLast() && rInf.GetLast()->InNumberGrp() && static_cast<SwNumberPortion*>(rInf.GetLast())->HasFont() ) @@ -584,7 +586,9 @@ void SwTabPortion::Paint( const SwTxtPaintInfo &rInf ) const // #i89179# // tab portion representing the list tab of a list label gets the // same font as the corresponding number portion + SAL_WNODEPRECATED_DECLARATIONS_PUSH std::auto_ptr< SwFontSave > pSave( 0 ); + SAL_WNODEPRECATED_DECLARATIONS_POP if ( GetLen() == 0 ) { const SwLinePortion* pPrevPortion = |