diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-03-31 20:38:30 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-04-01 06:16:04 +0200 |
commit | d10a49d64469411a23b3660a82106405808da028 (patch) | |
tree | 362c806d9da89f5febd2f4849fa3a5950aa9242d /sw/source/filter/ww8/docxsdrexport.cxx | |
parent | 83a7f7a9bc47c64c23d64b24e5d03499a3eede84 (diff) |
Use o3tl::convert for conversion to/from EMUs
Change-Id: Ifbf762194836a3d05157e98943e65ef8aa2149c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113425
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sw/source/filter/ww8/docxsdrexport.cxx')
-rw-r--r-- | sw/source/filter/ww8/docxsdrexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx index 9b461f4c3831..90a0183817e4 100644 --- a/sw/source/filter/ww8/docxsdrexport.cxx +++ b/sw/source/filter/ww8/docxsdrexport.cxx @@ -668,7 +668,7 @@ void DocxSdrExport::startDMLAnchorInline(const SwFrameFormat* pFrameFormat, cons && (!alignV || strcmp(alignV, "top") == 0)) { alignV = nullptr; - nPosYEMU = 635; + nPosYEMU = TwipsToEMU(1); } if (alignV != nullptr) |