| commit | ce8aba4da2a287c2b51d1d34a290284b2f754dc2 | [log] |
|---|---|---|
| author | Henry Castro <hcvcastro@gmail.com> | Mon Mar 02 21:39:53 2015 -0400 |
| committer | Andras Timar <andras.timar@collabora.com> | Thu Mar 05 12:58:58 2015 +0100 |
| tree | 51cac937c64444cd52d0e7cef7099f42f9b4785f | |
| parent | 36a808de7cb79e1c20c9e23d41b54a7c8399dcd3 [diff] |
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@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 4acffa65b58c8bd359215345dca2c61e2c5ceba5) Signed-off-by: Andras Timar <andras.timar@collabora.com>
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx index fc3535e..5fa3e29 100644 --- a/sc/source/ui/view/output2.cxx +++ b/sc/source/ui/view/output2.cxx
@@ -1743,7 +1743,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; }