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

matteocam matteo.campanelli at gmail.com
Wed Jul 16 08:09:33 PDT 2014


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

New commits:
commit 8244ce98f5de4e5ff4116556c5955b1c162b3988
Author: matteocam <matteo.campanelli at gmail.com>
Date:   Wed Jul 16 17:08:39 2014 +0200

    Debugging output for IsPageOverflow in CheckAutoPageSize
    
    Change-Id: I55f7dcf4d8c9a786c2c6d4a1fc09e93bd7e32f7a

diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index ad3d2ab..1ad910a 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -537,6 +537,13 @@ void ImpEditEngine::CheckAutoPageSize()
 
     SetValidPaperSize( aPaperSize );    // consider Min, Max
 
+    // FIXME(matteocam)
+    fprintf( stderr, IsPageOverflow( aStatus.GetStatusWord(),
+                                    IsVertical(),
+                                    aPrevPaperSize,
+                                    aPaperSize)
+                     ? "YES Overflow!\n"  : "NO Overflow!\n" );
+
     if ( aPaperSize != aPrevPaperSize )
     {
         if ( ( !IsVertical() && ( aPaperSize.Width() != aPrevPaperSize.Width() ) )


More information about the Libreoffice-commits mailing list