summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2022-01-22 15:45:49 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2022-01-22 20:02:15 +0100
commit75495067f6f4ba47bb7ff7fe2426f2199c175c78 (patch)
treee8d6146f42227efedd931ac93ea423fd9307e315 /desktop
parent5e3ee8a1fff0ef0d77f274d1826a1e63e4a00040 (diff)
Use o3tl::convert instead of OutputDevice::LogicToLogic
Change-Id: Ifb7be992c6e951692a741d10ed24ec8b3836982a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128782 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/init.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 3370779df25d..6e41ede6c35f 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -4210,7 +4210,7 @@ static void doc_postUnoCommand(LibreOfficeKitDocument* pThis, const char* pComma
|| rPropValue.Name == "TransformRotationY")
{
rPropValue.Value >>= value;
- value = OutputDevice::LogicToLogic(value, MapUnit::MapTwip, MapUnit::Map100thMM);
+ value = o3tl::convert(value, o3tl::Length::twip, o3tl::Length::mm100);
rPropValue.Value <<= value;
}
}