sw/source/filter/ww8/docxsdrexport.cxx | 3 +-- sw/source/writerfilter/dmapper/OLEHandler.cxx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-)
New commits: commit 6ea40d129e53c676970d3c0ca1db561394422419 Author: Justin Luth <jl...@mail.com> AuthorDate: Sat Aug 24 18:21:21 2024 -0400 Commit: Justin Luth <jl...@mail.com> CommitDate: Mon Aug 26 10:44:21 2024 +0200 typo: THROUGHT -> THROUGH There is no need to test for both - they are the same value... Change-Id: I1f833d514a8e7ee710025d1e414e04459503f555 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172366 Tested-by: Jenkins Reviewed-by: Justin Luth <jl...@mail.com> diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx index 82acd5a78f03..3a495ae4083b 100644 --- a/sw/source/filter/ww8/docxsdrexport.cxx +++ b/sw/source/filter/ww8/docxsdrexport.cxx @@ -1209,8 +1209,7 @@ void DocxSdrExport::startDMLAnchorInline(const SwFrameFormat* pFrameFormat, cons // XML_anchor has exact one of types wrapNone, wrapSquare, wrapTight, wrapThrough and // WrapTopAndBottom. Map our own types to them as far as possible. - if (rSurround.GetValue() == css::text::WrapTextMode_THROUGH - || rSurround.GetValue() == css::text::WrapTextMode_THROUGHT) + if (rSurround.GetValue() == css::text::WrapTextMode_THROUGH) { m_pImpl->getSerializer()->singleElementNS(XML_wp, XML_wrapNone); return; diff --git a/sw/source/writerfilter/dmapper/OLEHandler.cxx b/sw/source/writerfilter/dmapper/OLEHandler.cxx index f28d53816f8b..ad1782d0963d 100644 --- a/sw/source/writerfilter/dmapper/OLEHandler.cxx +++ b/sw/source/writerfilter/dmapper/OLEHandler.cxx @@ -52,7 +52,7 @@ using namespace ::com::sun::star; OLEHandler::OLEHandler(DomainMapper& rDomainMapper) : LoggedProperties("OLEHandler"), - m_nWrapMode(text::WrapTextMode_THROUGHT), + m_nWrapMode(text::WrapTextMode_THROUGH), m_rDomainMapper(rDomainMapper) { }