summaryrefslogtreecommitdiffstats
path: root/sw/inc/pam.hxx
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2010-11-25 17:08:45 +0100
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2010-11-25 17:12:34 +0100
commitc16ba8a04fd4599e439e7e039705e41691c43acb (patch)
tree66a1c67973a674245548e10ff0746d1e473a7703 /sw/inc/pam.hxx
parentreplace DBG_UTIL -> OSL_DEBUG_LEVEL > 1 (diff)
downloadcore-c16ba8a04fd4599e439e7e039705e41691c43acb.tar.gz
core-c16ba8a04fd4599e439e7e039705e41691c43acb.zip
Removed DBG_UTIL from sw
* Fixed the different dbglevel builds * This needed to change all the sw local ASSERT to OSL_ENSURE...
Diffstat (limited to 'sw/inc/pam.hxx')
-rw-r--r--sw/inc/pam.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/pam.hxx b/sw/inc/pam.hxx
index 79e3fa0dfdff..68b15fc92521 100644
--- a/sw/inc/pam.hxx
+++ b/sw/inc/pam.hxx
@@ -190,8 +190,10 @@ public:
m_pMark = m_pPoint;
}
}
-#ifndef DBG_UTIL
+#if OSL_DEBUG_LEVEL > 1
+ void Exchange();
+#else
void Exchange()
{
if (m_pPoint != m_pMark)
@@ -201,8 +203,6 @@ public:
m_pMark = pTmp;
}
}
-#else
- void Exchange();
#endif
/** A PaM marks a selection if Point and Mark are distinct positions.