sw: clean up temporary debug code in frmpaint
Change-Id: I1bdb332e40a2cf612b249dafa7620f700af19833 Reviewed-on: https://gerrit.libreoffice.org/43927 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
This commit is contained in:
parent
ac8901d9d2
commit
4f5ef1750b
@ -405,11 +405,6 @@ void SwTextFrame::PaintExtraData( const SwRect &rRect ) const
|
|||||||
|
|
||||||
SwRect SwTextFrame::Paint()
|
SwRect SwTextFrame::Paint()
|
||||||
{
|
{
|
||||||
#if OSL_DEBUG_LEVEL > 1
|
|
||||||
const SwTwips nDbgY = Frame().Top();
|
|
||||||
(void)nDbgY;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// finger layout
|
// finger layout
|
||||||
OSL_ENSURE( GetValidPosFlag(), "+SwTextFrame::Paint: no Calc()" );
|
OSL_ENSURE( GetValidPosFlag(), "+SwTextFrame::Paint: no Calc()" );
|
||||||
|
|
||||||
@ -588,11 +583,6 @@ void SwTextFrame::Paint(vcl::RenderContext& rRenderContext, SwRect const& rRect,
|
|||||||
|
|
||||||
if( !IsEmpty() || !PaintEmpty( rRect, true ) )
|
if( !IsEmpty() || !PaintEmpty( rRect, true ) )
|
||||||
{
|
{
|
||||||
#if OSL_DEBUG_LEVEL > 1
|
|
||||||
const SwTwips nDbgY = Frame().Top();
|
|
||||||
(void)nDbgY;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if( IsLocked() || IsHiddenNow() || ! Prt().HasArea() )
|
if( IsLocked() || IsHiddenNow() || ! Prt().HasArea() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user