diff --git a/sd/source/ui/tools/SlideshowLayerRenderer.cxx b/sd/source/ui/tools/SlideshowLayerRenderer.cxx index ffa36854c55f..8328829e0fa4 100644 --- a/sd/source/ui/tools/SlideshowLayerRenderer.cxx +++ b/sd/source/ui/tools/SlideshowLayerRenderer.cxx @@ -337,7 +337,8 @@ static void writeContentNode(::tools::JsonWriter& aJsonWriter) static void writeBoundingBox(::tools::JsonWriter& aJsonWriter, SdrObject* pObject) { auto aContentNode = aJsonWriter.startNode("bounds"); - ::tools::Rectangle aRect = pObject->GetCurrentBoundRect(); + ::tools::Rectangle aRectmm100 = pObject->GetCurrentBoundRect(); + ::tools::Rectangle aRect = o3tl::convert(aRectmm100, o3tl::Length::mm100, o3tl::Length::twip); aJsonWriter.put("x", aRect.getX()); aJsonWriter.put("y", aRect.getY()); aJsonWriter.put("width", aRect.GetWidth());