[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-4.3' - sc/source
Henry Castro
hcvcastro at gmail.com
Thu Mar 5 04:54:34 PST 2015
sc/source/ui/view/output2.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit d7ae4c85b9f91c19a72ff24030ecdba5934992c3
Author: Henry Castro <hcvcastro at gmail.com>
Date: Mon Mar 2 21:39:53 2015 -0400
Resolves tdf#84012 FORMATTING: Partially missing text in shrink-to-fit cells
Change-Id: I32f44acbcf5a6aed4d9f7442ad7212af31073352
Reviewed-on: https://gerrit.libreoffice.org/14723
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Andras Timar <andras.timar at collabora.com>
(cherry picked from commit 4acffa65b58c8bd359215345dca2c61e2c5ceba5)
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx
index 6a1bbf1..7548a6d 100644
--- a/sc/source/ui/view/output2.cxx
+++ b/sc/source/ui/view/output2.cxx
@@ -1769,7 +1769,11 @@ void ScOutputData::DrawStrings( bool bPixelToLogic )
// If even at half the size the font still isn't rendered smaller,
// fall back to normal clipping (showing ### for numbers).
if ( nNewSize <= nAvailable )
+ {
+ // Reset relevant parameters.
aAreaParam.mbLeftClip = aAreaParam.mbRightClip = false;
+ aAreaParam.mnLeftClipLength = aAreaParam.mnRightClipLength = 0;
+ }
pOldPattern = NULL;
}
More information about the Libreoffice-commits
mailing list