sw/source/core/text/itrpaint.cxx |    8 --------
 1 file changed, 8 deletions(-)

New commits:
commit a3d6b074852520caf8d525561cb48546cbcfccb5
Author: Miklos Vajna <vmik...@collabora.co.uk>
Date:   Wed Apr 5 09:13:37 2017 +0200

    sw: remove "revolution" assert that doesn't even build anymore
    
    Change-Id: I6446e732e2209b4a7fc26eccfe6cf793ddc60884
    Reviewed-on: https://gerrit.libreoffice.org/36128
    Reviewed-by: Miklos Vajna <vmik...@collabora.co.uk>
    Tested-by: Jenkins <c...@libreoffice.org>

diff --git a/sw/source/core/text/itrpaint.cxx b/sw/source/core/text/itrpaint.cxx
index 117317b8047c..5aaf1cefd8ea 100644
--- a/sw/source/core/text/itrpaint.cxx
+++ b/sw/source/core/text/itrpaint.cxx
@@ -76,14 +76,6 @@ void SwTextPainter::CtorInitTextPainter( SwTextFrame 
*pNewFrame, SwTextPaintInfo
     m_pInf = pNewInf;
     SwFont *pMyFnt = GetFnt();
     GetInfo().SetFont( pMyFnt );
-#if OSL_DEBUG_LEVEL > 1
-    if( ALIGN_BASELINE != pMyFnt->GetAlign() )
-    {
-        OSL_ENSURE( ALIGN_BASELINE == pMyFnt->GetAlign(),
-                "+SwTextPainter::CTOR: font alignment revolution" );
-        pMyFnt->SetAlign( ALIGN_BASELINE );
-    }
-#endif
     bPaintDrop = false;
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to