Kaydet (Commit) 4f5ef175 authored tarafından Miklos Vajna's avatar Miklos Vajna

sw: clean up temporary debug code in frmpaint

Change-Id: I1bdb332e40a2cf612b249dafa7620f700af19833
Reviewed-on: https://gerrit.libreoffice.org/43927Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
Tested-by: 's avatarJenkins <ci@libreoffice.org>
üst ac8901d9
......@@ -405,11 +405,6 @@ void SwTextFrame::PaintExtraData( const SwRect &rRect ) const
SwRect SwTextFrame::Paint()
{
#if OSL_DEBUG_LEVEL > 1
const SwTwips nDbgY = Frame().Top();
(void)nDbgY;
#endif
// finger layout
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 OSL_DEBUG_LEVEL > 1
const SwTwips nDbgY = Frame().Top();
(void)nDbgY;
#endif
if( IsLocked() || IsHiddenNow() || ! Prt().HasArea() )
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment