diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-09-29 20:12:16 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-09-30 09:24:01 +0200 |
commit | f9b6d5c58e1e8e3e2412ff94e30eb4a21b98b099 (patch) | |
tree | 71d526a7115b4d20994a69cf60d2fe279c10b73d /sw | |
parent | a4d865e4d82d44cd75f24c5385d44de8f4fcc62f (diff) |
sw: remove useless debug code in SwTabCols::Insert()
gdb or SAL_DEBUG() is a better tool to examine the elements of a vector.
Change-Id: I6ff1d3eb7fcb44654a526eb3c5d09b7e06970566
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122834
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/bastyp/tabcol.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sw/source/core/bastyp/tabcol.cxx b/sw/source/core/bastyp/tabcol.cxx index cb01a5e3c3ae..4efc9d8ef81c 100644 --- a/sw/source/core/bastyp/tabcol.cxx +++ b/sw/source/core/bastyp/tabcol.cxx @@ -74,13 +74,6 @@ void SwTabCols::Insert( tools::Long nValue, bool bValue, size_t nPos ) aEntry.nMax = LONG_MAX; aEntry.bHidden = bValue; m_aData.insert( m_aData.begin() + nPos, aEntry ); - -#if OSL_DEBUG_LEVEL > 1 - for ( const auto& rPos : m_aData ) - { - aEntry = rPos; - } -#endif } void SwTabCols::Remove( size_t nPos, size_t nCount ) |