[Libreoffice-commits] core.git: sw/source
Caolán McNamara
caolanm at redhat.com
Fri Jul 17 00:32:48 PDT 2015
sw/source/core/layout/layact.cxx | 17 -----------------
1 file changed, 17 deletions(-)
New commits:
commit 5f9cde384aa213cf8cf6c84a005647e59bc58ae6
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Jul 17 08:28:21 2015 +0100
BreakPoint isn't really useful
merge branches to fix OSL_DEBUG_LEVEL > 1 build
Change-Id: If4a81287ffffbc41d7caa1240293d34e5186f293
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx
index a0c057b..f5d265a 100644
--- a/sw/source/core/layout/layact.cxx
+++ b/sw/source/core/layout/layact.cxx
@@ -65,22 +65,6 @@
#define IS_INVAFLY (pPage->IsInvalidFly())
// Save some typing work to avoid accessing destroyed pages.
-#if OSL_DEBUG_LEVEL > 1
-
-static void BreakPoint()
-{
- return;
-}
-
-#define XCHECKPAGE \
- { if ( IsAgain() ) \
- { BreakPoint(); \
- if( bNoLoop ) \
- pLayoutAccess->GetLayouter()->EndLoopControl(); \
- return; \
- } \
- }
-#else
#define XCHECKPAGE \
{ if ( IsAgain() ) \
{ \
@@ -89,7 +73,6 @@ static void BreakPoint()
return; \
} \
}
-#endif
#define RESCHEDULE \
{ \
More information about the Libreoffice-commits
mailing list