summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-07-17 08:28:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-07-17 08:32:18 +0100
commit5f9cde384aa213cf8cf6c84a005647e59bc58ae6 (patch)
tree1f80094a60c3877656c7a040a64166081ee860d0 /sw
parent1a24285dd55c5c85272decc00dc8f93c9a917b8f (diff)
BreakPoint isn't really useful
merge branches to fix OSL_DEBUG_LEVEL > 1 build Change-Id: If4a81287ffffbc41d7caa1240293d34e5186f293
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/layact.cxx17
1 files changed, 0 insertions, 17 deletions
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx
index a0c057bec894..f5d265ab8f7f 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 \
{ \