summaryrefslogtreecommitdiff
path: root/sw/source/core/text/txttab.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-11-10 09:28:19 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-11-10 13:43:28 +0100
commit832c1f16ddbdc626c6ae11900038e1a88f94b8e4 (patch)
treebf556bf4ab27340de5a0a7d06e869d0e5a5d129b /sw/source/core/text/txttab.cxx
parent32823280efffc02a250fc8d4749b8eb0f491ae77 (diff)
sw: remove temporary debug code in txttab that no longer builds anyway
Change-Id: I40dfa40dd157046aa5c1285b1855fb8c100fc315 Reviewed-on: https://gerrit.libreoffice.org/44577 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/source/core/text/txttab.cxx')
-rw-r--r--sw/source/core/text/txttab.cxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/sw/source/core/text/txttab.cxx b/sw/source/core/text/txttab.cxx
index 908ef295314f..08582e0c1387 100644
--- a/sw/source/core/text/txttab.cxx
+++ b/sw/source/core/text/txttab.cxx
@@ -513,20 +513,6 @@ bool SwTabPortion::PostFormat( SwTextFormatInfo &rInf )
*/
void SwTabPortion::Paint( const SwTextPaintInfo &rInf ) const
{
-#if OSL_DEBUG_LEVEL > 1
- // We want to view the fixed width
- if( rInf.OnWin() && OPTDBG( rInf ) &&
- !rInf.GetOpt().IsPagePreview() &&
- !rInf.GetOpt().IsReadonly() &&
- SwViewOption::IsFieldShadings() )
- {
- const sal_uInt16 nTmpWidth = PrtWidth();
- const_cast<SwTabPortion*>(this)->PrtWidth( GetFixWidth() );
- rInf.DrawViewOpt( *this, POR_TAB );
- const_cast<SwTabPortion*>(this)->PrtWidth( nTmpWidth );
- }
-#endif
-
// #i89179#
// tab portion representing the list tab of a list label gets the
// same font as the corresponding number portion