sw/source/uibase/shells/txtattr.cxx |    5 -----
 1 file changed, 5 deletions(-)

New commits:
commit cc24aca6050d723e2474871ac724d2d5b90d4426
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Thu Oct 21 19:53:46 2021 +0200
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Fri Oct 22 09:27:08 2021 +0200

    sw: remove useless debug code in SwTextShell
    
    A debugger can be used to examine that temporary instead.
    
    Change-Id: I8c04144f5174564e232c5d5effe466ccf5e52468
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124037
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>

diff --git a/sw/source/uibase/shells/txtattr.cxx 
b/sw/source/uibase/shells/txtattr.cxx
index 01054d793c23..25b0a3dcb074 100644
--- a/sw/source/uibase/shells/txtattr.cxx
+++ b/sw/source/uibase/shells/txtattr.cxx
@@ -797,12 +797,7 @@ void SwTextShell::GetAttrState(SfxItemSet &rSet)
             case SID_ATTR_CHAR_KERNING:
             case RES_PARATR_DROP:
             {
-#if OSL_DEBUG_LEVEL > 1
-                const SfxPoolItem& rItem = 
aCoreSet.Get(GetPool().GetWhich(nSlot), true);
-                rSet.Put(rItem);
-#else
                 rSet.Put(aCoreSet.Get( GetPool().GetWhich(nSlot)));
-#endif
                 nSlot = 0;
             }
             break;

Reply via email to