[Libreoffice-commits] core.git: Branch 'feature/gsoc14-draw-chained-text-boxes' - editeng/source

matteocam matteo.campanelli at gmail.com
Wed Sep 3 14:53:43 PDT 2014


 editeng/source/editeng/impedit3.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit e88ceb25c11b3c303ca8aadf81588e574ce9c403
Author: matteocam <matteo.campanelli at gmail.com>
Date:   Wed Sep 3 23:52:58 2014 +0200

    Added debugging output for overflow
    
    Change-Id: Ib6ec14d9d3e2dc5b563917904338e33cd86b4dc7

diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index db962b5..a4a323a 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -614,6 +614,7 @@ void ImpEditEngine::CheckPageOverflow()
     // setting overflow status
 
     sal_uInt32 nBoxHeight = GetMaxAutoPaperSize().Height();
+    fprintf(stderr, "[OVERFLOW-CHECK] Current MaxAutoPaperSize is %d\n", nBoxHeight);
 
     if (CalcTextHeight(NULL) > nBoxHeight)
     {


More information about the Libreoffice-commits mailing list