include/sal/log-areas.dox        |    1 -
 sw/source/filter/ww8/ww8par2.cxx |    1 -
 sw/source/filter/ww8/ww8scan.cxx |   17 -----------------
 3 files changed, 19 deletions(-)

New commits:
commit c8dfb25a77f53668e407a60a6f4ae9a826aa015c
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Mon Nov 13 11:33:26 2023 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Mon Nov 13 14:43:49 2023 +0100

    Drop DEBUGSPRMREADER code
    
    Change-Id: Id204eae97850ef9c99229c1316090010013b06e0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159367
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/include/sal/log-areas.dox b/include/sal/log-areas.dox
index 960d89c94214..0b3907e08610 100644
--- a/include/sal/log-areas.dox
+++ b/include/sal/log-areas.dox
@@ -557,7 +557,6 @@ certain functionality.
 @li @c sw.pageframe - debug lifecycle of SwPageFrame
 @li @c sw.qa
 @li @c sw.rtf - .rtf export filter
-@li @c sw.sprmreader
 @li @c sw.tiled
 @li @c sw.ui
 @li @c sw.uno - Writer UNO interfaces
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index 9771910f42d1..602256428563 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -3618,7 +3618,6 @@ void WW8RStyle::ImportSprms(sal_uInt8 *pSprms, short 
nLen, bool bPap)
     WW8SprmIter aSprmIter(pSprms, nLen, maSprmParser);
     while (const sal_uInt8* pSprm = aSprmIter.GetSprms())
     {
-        SAL_INFO("sw.sprmreader",  "id is " << std::hex << 
aSprmIter.GetCurrentId());
         mpIo->ImportSprm(pSprm, aSprmIter.GetRemLen(), 
aSprmIter.GetCurrentId());
         aSprmIter.advance();
     }
diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx
index b018b5bf796e..80f9102dcb1b 100644
--- a/sw/source/filter/ww8/ww8scan.cxx
+++ b/sw/source/filter/ww8/ww8scan.cxx
@@ -44,10 +44,6 @@
 #include <vcl/settings.hxx>
 #include <vcl/svapp.hxx>
 
-#ifdef DEBUGSPRMREADER
-#include <stdio.h>
-#endif
-
 using namespace ::com::sun::star::lang;
 
 namespace
@@ -2833,19 +2829,6 @@ WW8PLCFx_Fc_FKP::WW8Fkp::WW8Fkp(const WW8Fib& rFib, 
SvStream* pSt,
         }
 
         maEntries.push_back(aEntry);
-
-#ifdef DEBUGSPRMREADER
-        {
-            sal_Int32 nLen;
-            sal_uInt8* pSprms = GetLenAndIStdAndSprms( nLen );
-            WW8SprmIter aIter(pSprms, nLen, maSprmParser);
-            while (aIter.GetSprms())
-            {
-                SAL_INFO("sw.sprmreader",  "id is " << std::hex << 
aIter.GetCurrentId());
-                aIter.advance();
-            }
-        }
-#endif
     }
 
     //one more FC than grrpl entries

Reply via email to