[Libreoffice-commits] core.git: Branch 'libreoffice-6-2-2' - sc/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Mar 13 17:08:49 UTC 2019
sc/source/core/data/column2.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8fb5909a4ea71f0122c4b57a4312f7b1b3ecae2f
Author: Serge Krot <Serge.Krot at cib.de>
AuthorDate: Thu Feb 28 10:41:40 2019 +0100
Commit: Serge Krot (CIB) <Serge.Krot at cib.de>
CommitDate: Wed Mar 13 18:08:24 2019 +0100
tdf#121040 sc: use pixel-per-twips in X for horizontal value conversion
Change-Id: I25bc3b3ec42ef5b026c2cd9572e8ff1863ed8c2d
Reviewed-on: https://gerrit.libreoffice.org/68492
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
(cherry picked from commit 1b4cfd79240f153703a02d63639b3895ab7c1d1b)
Reviewed-on: https://gerrit.libreoffice.org/69207
Reviewed-by: Serge Krot (CIB) <Serge.Krot at cib.de>
Tested-by: Serge Krot (CIB) <Serge.Krot at cib.de>
diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx
index 1590ab55380b..2a8a135f3f88 100644
--- a/sc/source/core/data/column2.cxx
+++ b/sc/source/core/data/column2.cxx
@@ -347,7 +347,7 @@ long ScColumn::GetNeededSize(
long nDocPixel = static_cast<long>( ( pDocument->GetColWidth( nCol,nTab ) -
pMargin->GetLeftMargin() - pMargin->GetRightMargin() -
nIndent )
- * nPPT );
+ * nPPTX );
nDocPixel = (nDocPixel * 9) / 10; // for safety
if ( aSize.Width() > nDocPixel )
bEditEngine = true;
More information about the Libreoffice-commits
mailing list