summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlflywriter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html/htmlflywriter.cxx')
-rw-r--r--sw/source/filter/html/htmlflywriter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/html/htmlflywriter.cxx b/sw/source/filter/html/htmlflywriter.cxx
index 0e27a89d8516..00d6db3dc16f 100644
--- a/sw/source/filter/html/htmlflywriter.cxx
+++ b/sw/source/filter/html/htmlflywriter.cxx
@@ -934,9 +934,9 @@ void SwHTMLWriter::writeFrameFormatOptions(HtmlWriter& aHtml, const SwFrameForma
const tools::Rectangle& rSnapRect = pObject->GetSnapRect();
aFrameSize.emplace();
aFrameSize->SetWidthSizeType(SwFrameSize::Fixed);
- aFrameSize->SetWidth(rSnapRect.getWidth());
+ aFrameSize->SetWidth(rSnapRect.getOpenWidth());
aFrameSize->SetHeightSizeType(SwFrameSize::Fixed);
- aFrameSize->SetHeight(rSnapRect.getHeight());
+ aFrameSize->SetHeight(rSnapRect.getOpenHeight());
pFSItem = &*aFrameSize;
}
if( (nFrameOptions & HtmlFrmOpts::Size) &&