[Libreoffice-commits] core.git: sw/source
Miklos Vajna
vmiklos at collabora.co.uk
Fri Nov 3 08:31:10 UTC 2017
sw/source/core/text/itrform2.cxx | 8 --------
1 file changed, 8 deletions(-)
New commits:
commit 6cef8dd228dacf680dfb78f7113de186143da82c
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Thu Nov 2 20:40:39 2017 +0100
sw: clean up temporary debug code in itrform2
Change-Id: I817ea7abea99683f691b9fd363af7330ab975f87
Reviewed-on: https://gerrit.libreoffice.org/44234
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
Tested-by: Jenkins <ci at libreoffice.org>
diff --git a/sw/source/core/text/itrform2.cxx b/sw/source/core/text/itrform2.cxx
index 7309aad4674e..e9c18c644867 100644
--- a/sw/source/core/text/itrform2.cxx
+++ b/sw/source/core/text/itrform2.cxx
@@ -60,10 +60,6 @@
#include <vector>
-#if OSL_DEBUG_LEVEL > 1
-#include <ndtxt.hxx>
-#endif
-
using namespace ::com::sun::star;
namespace {
@@ -1821,10 +1817,6 @@ void SwTextFormatter::CalcRealHeight( bool bNewLine )
default: OSL_FAIL( ": unknown InterLineSpaceRule" );
}
}
-#if OSL_DEBUG_LEVEL > 1
- sal_uInt16 nDummy = nLineHeight + 1;
- (void)nDummy;
-#endif
if( IsRegisterOn() )
{
More information about the Libreoffice-commits
mailing list