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@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx
index 7639ca7..4e75b4f 100644
--- a/sc/source/core/data/column2.cxx
+++ b/sc/source/core/data/column2.cxx
@@ -346,7 +346,7 @@
                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;