writerfilter/source/dmapper/DomainMapper.cxx |    3 ---
 writerfilter/source/dmapper/PropertyIds.cxx  |    1 -
 writerfilter/source/dmapper/PropertyIds.hxx  |    1 -
 3 files changed, 5 deletions(-)

New commits:
commit b4c354aa8ba941071ef5fe848eb8eb7ccacd8380
Author:     Oliver Specht <oliver.spe...@cib.de>
AuthorDate: Wed Mar 20 16:25:17 2024 +0100
Commit:     Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
CommitDate: Thu Mar 21 18:13:34 2024 +0100

    Revert "tdf#159730 add compatibility option in RTF import"
    
    This reverts commit 3b04e74503ec6d07dc4befdb756e6abdc3de4e58.
    
    Reason for revert: The compatibility option is the wrong approach. This 
results in wrong line calculation as seen in tdf#159730#c6.
    The problem that really needs to be fixed is the 9pt attribute of the 
hidden line breaks in the first paragraph that are used to calculate the height 
of the first paragraph.
    Only the 1pt font attribute of the remaining visible space should define 
the line height.
    
    Change-Id: I6e0a1a499adaf2df9f68afbcfd6afcd6677e8f76
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165006
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>
    Signed-off-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165120
    Tested-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
    Reviewed-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com>

diff --git a/writerfilter/source/dmapper/DomainMapper.cxx 
b/writerfilter/source/dmapper/DomainMapper.cxx
index ecd6ad6b242a..c4001cf0fe61 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -129,9 +129,6 @@ DomainMapper::DomainMapper( const uno::Reference< 
uno::XComponentContext >& xCon
         m_pImpl->SetDocumentSettingsProperty(
             getPropertyName(PROP_APPLY_PARAGRAPH_MARK_FORMAT_TO_NUMBERING),
             uno::Any(true));
-        m_pImpl->SetDocumentSettingsProperty(
-            getPropertyName(PROP_TABS_AND_BLANKS_FOR_LINE_CALCULATION),
-            uno::Any(true));
 
         // Don't load the default style definitions to avoid weird mix
         m_pImpl->SetDocumentSettingsProperty("StylesNoDefault", 
uno::Any(true));
diff --git a/writerfilter/source/dmapper/PropertyIds.cxx 
b/writerfilter/source/dmapper/PropertyIds.cxx
index 4069a9ac7fe5..11ef07230fad 100644
--- a/writerfilter/source/dmapper/PropertyIds.cxx
+++ b/writerfilter/source/dmapper/PropertyIds.cxx
@@ -378,7 +378,6 @@ namespace
         { PROP_CURSOR_NOT_IGNORE_TABLES_IN_HF, u"CursorNotIgnoreTables"},
         { PROP_PARA_CONNECT_BORDERS, u"ParaIsConnectBorder"},
         { PROP_DECORATIVE, u"Decorative"},
-        { PROP_TABS_AND_BLANKS_FOR_LINE_CALCULATION, 
u"IgnoreTabsAndBlanksForLineCalculation"},
     });
 } // end anonymous ns
 
diff --git a/writerfilter/source/dmapper/PropertyIds.hxx 
b/writerfilter/source/dmapper/PropertyIds.hxx
index 25099a684dcd..6708c6dfbf35 100644
--- a/writerfilter/source/dmapper/PropertyIds.hxx
+++ b/writerfilter/source/dmapper/PropertyIds.hxx
@@ -377,7 +377,6 @@ enum PropertyIds
         ,PROP_RTL_GUTTER
         ,PROP_CURSOR_NOT_IGNORE_TABLES_IN_HF
         ,PROP_PARA_CONNECT_BORDERS
-        ,PROP_TABS_AND_BLANKS_FOR_LINE_CALCULATION
     };
 
 //Returns the UNO string equivalent to eId.

Reply via email to