summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/text/txttab.cxx14
-rw-r--r--sw/source/filter/ww8/rtfattributeoutput.hxx2
2 files changed, 1 insertions, 15 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
diff --git a/sw/source/filter/ww8/rtfattributeoutput.hxx b/sw/source/filter/ww8/rtfattributeoutput.hxx
index 9b73bf49f22d..0d21d40b42b2 100644
--- a/sw/source/filter/ww8/rtfattributeoutput.hxx
+++ b/sw/source/filter/ww8/rtfattributeoutput.hxx
@@ -218,7 +218,7 @@ public:
void WriteBookmarks_Impl(std::vector< OUString >& rStarts, std::vector< OUString >& rEnds);
void WriteAnnotationMarks_Impl(std::vector< OUString >& rStarts, std::vector< OUString >& rEnds);
void WriteHeaderFooter_Impl(const SwFrameFormat& rFormat, bool bHeader, const sal_Char* pStr, bool bTitlepg);
- void WriteBookmarkInActParagraph( const OUString& /*rName*/, sal_Int32 /*nFirstRunPos*/, sal_Int32 /*nLastRunPos*/ ) override {};
+ void WriteBookmarkInActParagraph(const OUString& /*rName*/, sal_Int32 /*nFirstRunPos*/, sal_Int32 /*nLastRunPos*/) override {};
protected:
/// Output frames - the implementation.