diff options
author | matteocam <matteo.campanelli@gmail.com> | 2015-08-20 00:25:37 +0200 |
---|---|---|
committer | matteocam <matteo.campanelli@gmail.com> | 2015-08-20 00:25:37 +0200 |
commit | f821b15b200a9d35fbc70b39b79cf4b5832dd2bc (patch) | |
tree | b5a7531554d0f2d9dea8750f307199d222348214 | |
parent | f146729d0a1465ce7b98ceeb404c29a5e4d6559b (diff) |
Add debugging output
Change-Id: I95f62d7ab27fa45a40fa4511a360a3499c39312a
-rw-r--r-- | editeng/source/editeng/impedit3.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index ec18975be97b..7965a061d563 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -570,9 +570,10 @@ void ImpEditEngine::CheckPageOverflow() ? "YES Overflow!\n" : "NO Overflow!\n" ); */ // setting overflow status + fprintf(stderr, "[CONTROL_STATUS] AutoPageSize is %s", ( aStatus.GetControlWord() & EEControlBits::AUTOPAGESIZE ) ? "ON\n" : "OFF\n" ); + sal_uInt32 nBoxHeight = GetMaxAutoPaperSize().Height(); fprintf(stderr, "[OVERFLOW-CHECK] Current MaxAutoPaperHeight is %d\n", nBoxHeight); - fprintf(stderr, "[CONTROL_STATUS] AutoPageSize is %s", ( aStatus.GetControlWord() & EEControlBits::AUTOPAGESIZE ) ? "ON\n" : "OFF\n" ); sal_uInt32 nTxtHeight = CalcTextHeight(NULL); fprintf(stderr, "[OVERFLOW-CHECK] Current Text Height is %d\n", nTxtHeight); |