writerfilter/source/rtftok/rtfdocumentimpl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b5758c9e69e8c4c7a0f638345b21b876bd503ac3 Author: Justin Luth <justin.l...@collabora.com> AuthorDate: Wed Dec 13 22:25:32 2023 -0500 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Tue Dec 19 16:31:55 2023 +0100 related tdf#158586 RTF writerfilter: HAnchor's default is text, not margin \phcol: Use the column as the horizontal reference frame. This is the default if no horizontal reference frame is given. Change-Id: I8ef4a35c578768810edc0a68e3fd3b227c069dfe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160776 Reviewed-by: Justin Luth <jl...@mail.com> Tested-by: Jenkins Signed-off-by: Xisco Fauli <xiscofa...@libreoffice.org> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160983 diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index f760afd6cc23..dc4bca02d73b 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -3963,7 +3963,7 @@ RTFSprms RTFFrame::getSprms() case NS_ooxml::LN_CT_FramePr_hAnchor: { if (m_nHoriAnchor == 0) - m_nHoriAnchor = NS_ooxml::LN_Value_doc_ST_HAnchor_margin; + m_nHoriAnchor = NS_ooxml::LN_Value_doc_ST_HAnchor_text; pValue = new RTFValue(m_nHoriAnchor); } break;