sw/source/writerfilter/dmapper/DomainMapper.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 28dbd584069eab2cb13325ece5136c6924832cfb
Author:     Andrea Gelmini <[email protected]>
AuthorDate: Thu Jan 22 16:53:51 2026 +0100
Commit:     Julien Nabet <[email protected]>
CommitDate: Thu Jan 22 16:58:37 2026 +0100

    Fix typo
    
    Change-Id: If8bd3903803938f1ecd140e7d03abe985009753d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197855
    Tested-by: Julien Nabet <[email protected]>
    Reviewed-by: Julien Nabet <[email protected]>

diff --git a/sw/source/writerfilter/dmapper/DomainMapper.cxx 
b/sw/source/writerfilter/dmapper/DomainMapper.cxx
index 05b089ddc5fa..2220e51d1d98 100644
--- a/sw/source/writerfilter/dmapper/DomainMapper.cxx
+++ b/sw/source/writerfilter/dmapper/DomainMapper.cxx
@@ -1272,7 +1272,7 @@ void DomainMapper::lcl_attribute(Id nName, const Value & 
val)
             if (m_pImpl->m_pSdtHelper->getControlType() == 
SdtControlType::unknown)
             {
                 // If the SdtControlType is not defined, it really OUGHT to be 
richText
-                // (although the presense of dataBinding gets treated as 
plainText by MS Word).
+                // (although the presence of dataBinding gets treated as 
plainText by MS Word).
                 // HOWEVER, richText blockSDT is not working as a content 
control yet,
                 // so here we just convert blockSDT richText into plainText 
instead.
 
@@ -3436,7 +3436,7 @@ void DomainMapper::sprmWithProps( Sprm& rSprm, const 
PropertyMapPtr& rContext )
         if (nSprmId == NS_ooxml::LN_CT_SdtPr_dataBinding)
         {
             // Although the absense of a <w:text/> element should mean that 
the control is richText,
-            // in practice, the presense of a dataBinding element makes it 
plainText
+            // in practice, the presence of a dataBinding element makes it 
plainText
             if (m_pImpl->m_pSdtHelper->getControlType() == 
SdtControlType::richText)
                 
m_pImpl->m_pSdtHelper->setControlType(SdtControlType::plainText);
         }

Reply via email to