diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2023-10-29 16:36:43 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2023-10-29 20:26:38 +0100 |
commit | 798d21e2a1b8bc48b6bb5e1b3cf0cba0e5882a59 (patch) | |
tree | 7ccbaf434bc41e64676eae46aa9dae8520687c77 /sax | |
parent | ee7d7fa79eae4979ed45f757430664b333faad1f (diff) |
tdf#157965: UNO methods are expected to return sizes in mm/100
Commit 9e92a17cb6e03beedeeca40bfc8524c2623d31eb made sm to always
use twips; before, it used mm/100 except in LOK. That change broke
the size values returned from XRenderable::getRenderer: instead of
mm/100, the resulting values were in twips, but handled as mm/100.
Set the printer's map mode to use mm/100s explicitly. Also use
mm/100s in the call to SvxPaperInfo::GetDefaultPaperSize.
Change-Id: Id7cf40d4bc19c92dc54ca03d81f25ba1f6bf25b9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158622
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sax')
0 files changed, 0 insertions, 0 deletions