diff options
author | matteocam <matteo.campanelli@gmail.com> | 2015-08-20 00:23:15 +0200 |
---|---|---|
committer | matteocam <matteo.campanelli@gmail.com> | 2015-08-20 00:23:15 +0200 |
commit | f146729d0a1465ce7b98ceeb404c29a5e4d6559b (patch) | |
tree | 7d050cc88c54a64108e64884a7a3531369850734 | |
parent | b3fe4c1539fff482558d356c90f30dfaf499f87c (diff) |
Add debugging out
Change-Id: I44ee885840eac60bc8ffed86242a3af3e772cce6
-rw-r--r-- | editeng/source/editeng/impedit3.cxx | 3 | ||||
-rw-r--r-- | editeng/source/outliner/outliner.cxx | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index d49e69916018..ec18975be97b 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -571,10 +571,11 @@ void ImpEditEngine::CheckPageOverflow() // setting overflow status sal_uInt32 nBoxHeight = GetMaxAutoPaperSize().Height(); - fprintf(stderr, "[OVERFLOW-CHECK] Current MaxAutoPaperSize is %d\n", nBoxHeight); + 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); sal_uInt32 nParaCount = GetParaPortions().Count(); sal_uInt32 nFirstLineCount = GetLineCount(0); diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx index 30b7633f927c..11e299b2b65a 100644 --- a/editeng/source/outliner/outliner.cxx +++ b/editeng/source/outliner/outliner.cxx @@ -2208,8 +2208,6 @@ OverflowingText *Outliner::GetOverflowingText() const return NULL; } - - sal_Int32 nHeadPara = pEditEngine->GetOverflowingParaNum(); sal_uInt32 nParaCount = GetParagraphCount(); |