From fb80614576fc49ee257f6048ec98ae005627c1d2 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Thu, 24 Nov 2011 00:52:01 +0100 Subject: SwLinePortion::Check is useless --- sw/source/core/text/porlin.cxx | 11 ----------- sw/source/core/text/porlin.hxx | 4 ---- 2 files changed, 15 deletions(-) (limited to 'sw/source/core/text') diff --git a/sw/source/core/text/porlin.cxx b/sw/source/core/text/porlin.cxx index 8ed4fba3cc1d..60625adba76d 100644 --- a/sw/source/core/text/porlin.cxx +++ b/sw/source/core/text/porlin.cxx @@ -297,17 +297,6 @@ SwPosSize SwLinePortion::GetTxtSize( const SwTxtSizeInfo & ) const return SwPosSize(); } -/************************************************************************* - * virtual SwLinePortion::Check() - *************************************************************************/ - -#ifdef DBG_UTIL -sal_Bool SwLinePortion::Check( SvStream &, SwTxtSizeInfo & ) //$ ostream -{ - return sal_True; -} -#endif - /************************************************************************* * virtual SwLinePortion::Format() *************************************************************************/ diff --git a/sw/source/core/text/porlin.hxx b/sw/source/core/text/porlin.hxx index 822d75e0f6dd..98bfd1f29a28 100644 --- a/sw/source/core/text/porlin.hxx +++ b/sw/source/core/text/porlin.hxx @@ -179,10 +179,6 @@ public: virtual void Paint( const SwTxtPaintInfo &rInf ) const = 0; void PrePaint( const SwTxtPaintInfo &rInf, const SwLinePortion *pLast ) const; -#ifdef DBG_UTIL - virtual sal_Bool Check( SvStream &rOs, SwTxtSizeInfo &rInfo ); //$ ostream -#endif - virtual sal_Bool Format( SwTxtFormatInfo &rInf ); // wird fuer die letzte Portion der Zeile extra gerufen virtual void FormatEOL( SwTxtFormatInfo &rInf ); -- cgit v1.2.3