diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-11-10 09:28:19 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-11-10 13:43:28 +0100 |
commit | 832c1f16ddbdc626c6ae11900038e1a88f94b8e4 (patch) | |
tree | bf556bf4ab27340de5a0a7d06e869d0e5a5d129b /sw | |
parent | 32823280efffc02a250fc8d4749b8eb0f491ae77 (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')
-rw-r--r-- | sw/source/core/text/txttab.cxx | 14 | ||||
-rw-r--r-- | sw/source/filter/ww8/rtfattributeoutput.hxx | 2 |
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. |