diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-08-11 13:13:35 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-08-11 14:19:24 +0200 |
commit | bfed58821fc3a83fec4a985087cd45fa963bed3e (patch) | |
tree | 427156ed03b2b72069e47d9f1250dc36670c09cf /include | |
parent | c46950fee11f5207fb8324947280cd565ae483e7 (diff) |
Drop convertMm100ToTwip in favor of the new o3tl::toTwips
Step by step, duplicates from <tools/UnitConversion.hxx> may go
Change-Id: Id4c03ff8adc120ae06dbfdbdfb4f5ff0bb51f489
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120315
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/tools/UnitConversion.hxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/tools/UnitConversion.hxx b/include/tools/UnitConversion.hxx index 7d3bdf565c1d..43237e0514c5 100644 --- a/include/tools/UnitConversion.hxx +++ b/include/tools/UnitConversion.hxx @@ -94,10 +94,6 @@ template <typename N> constexpr auto convertTwipToMm100(N n) { return o3tl::convert(n, o3tl::Length::twip, o3tl::Length::mm100); } -template <typename N> constexpr auto convertMm100ToTwip(N n) -{ - return o3tl::convert(n, o3tl::Length::mm100, o3tl::Length::twip); -} constexpr sal_Int64 sanitiseMm100ToTwip(sal_Int64 n) { |