summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-04 13:01:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-04 17:36:48 +0100
commit10943505162d515f16acfb4d195d171421ff834f (patch)
treef5a67a7ae6e94227fa83b7b37611bf3d0d0ebca6 /sc/inc
parent4887f113d3bb3ffaf7bd93e2e0dba13fdb11afee (diff)
have one set of twips<->mm conversions
Change-Id: I510f4a0524a7c72eb124cba103cbf398024976d3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110407 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/global.hxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx
index f1a3559aa6ad..0a510bf0aad6 100644
--- a/sc/inc/global.hxx
+++ b/sc/inc/global.hxx
@@ -107,8 +107,6 @@ const SCSIZE MAXSUBTOTAL = 3;
namespace sc
{
- inline ::tools::Long TwipsToHMM( ::tools::Long nTwips ) { return (nTwips * 127 + 36) / 72; }
- inline ::tools::Long HMMToTwips( ::tools::Long nHMM ) { return (nHMM * 72 + 63) / 127; }
inline ::tools::Long TwipsToEvenHMM( ::tools::Long nTwips ) { return ( (nTwips * 127 + 72) / 144 ) * 2; }
}