Kaydet (Commit) 5f9cde38 authored tarafından Caolán McNamara's avatar Caolán McNamara

BreakPoint isn't really useful

merge branches to fix OSL_DEBUG_LEVEL > 1 build

Change-Id: If4a81287ffffbc41d7caa1240293d34e5186f293
üst 1a24285d
...@@ -65,22 +65,6 @@ ...@@ -65,22 +65,6 @@
#define IS_INVAFLY (pPage->IsInvalidFly()) #define IS_INVAFLY (pPage->IsInvalidFly())
// Save some typing work to avoid accessing destroyed pages. // 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 \ #define XCHECKPAGE \
{ if ( IsAgain() ) \ { if ( IsAgain() ) \
{ \ { \
...@@ -89,7 +73,6 @@ static void BreakPoint() ...@@ -89,7 +73,6 @@ static void BreakPoint()
return; \ return; \
} \ } \
} }
#endif
#define RESCHEDULE \ #define RESCHEDULE \
{ \ { \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment