summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-10-21 19:53:46 +0200
committerMiklos Vajna <vmiklos@collabora.com>2021-10-22 09:27:08 +0200
commitcc24aca6050d723e2474871ac724d2d5b90d4426 (patch)
tree3a7fcb51b442fb27feef313a3dbfe342b1d2a378 /sw
parentdf42cb6552b20372f62b5a361709670db80e4ed4 (diff)
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 <vmiklos@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/shells/txtattr.cxx5
1 files changed, 0 insertions, 5 deletions
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;