diff options
author | David Tardon <dtardon@redhat.com> | 2010-11-18 10:21:30 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@novell.com> | 2010-11-24 22:33:45 +0100 |
commit | 228904385d4b23962361bbd2753a46256fba1ad9 (patch) | |
tree | 448f898e5177180e38058f324b41d036e971602a | |
parent | 9516ff4331f2c8349de55773279c4f218d533410 (diff) |
replace DBG_UTIL -> OSL_DEBUG_LEVEL > 1
Breaks build when configured with both --enable-debug and
--enable-dbgutil and built with dbglevel=1 .
(cherry picked from commit c3d0c4ec39417cdb1f6d7e4e23d6cd79e16d8299)
-rw-r--r-- | sw/source/core/crsr/crstrvl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/crsr/crstrvl.cxx b/sw/source/core/crsr/crstrvl.cxx index 3f75c21cb0..831d3fd718 100644 --- a/sw/source/core/crsr/crstrvl.cxx +++ b/sw/source/core/crsr/crstrvl.cxx @@ -1360,7 +1360,7 @@ BOOL SwCrsrShell::GetContentAtPos( const Point& rPt, if( !bRet && ( SwContentAtPos::SW_TABLEBOXFML & rCntntAtPos.eCntntAtPos -#ifdef DBG_UTIL +#if OSL_DEBUG_LEVEL > 1 || SwContentAtPos::SW_TABLEBOXVALUE & rCntntAtPos.eCntntAtPos #endif )) @@ -1406,7 +1406,7 @@ BOOL SwCrsrShell::GetContentAtPos( const Point& rPt, // erzeuge aus der internen (fuer CORE) // die externe (fuer UI) Formel rCntntAtPos.eCntntAtPos = SwContentAtPos::SW_TABLEBOXFML; -#ifdef DBG_UTIL +#if OSL_DEBUG_LEVEL > 1 if( RES_BOXATR_VALUE == pItem->Which() ) rCntntAtPos.eCntntAtPos = SwContentAtPos::SW_TABLEBOXVALUE; else @@ -1440,7 +1440,7 @@ BOOL SwCrsrShell::GetContentAtPos( const Point& rPt, } } -#ifdef DBG_UTIL +#if OSL_DEBUG_LEVEL > 1 if( !bRet && SwContentAtPos::SW_CURR_ATTRS & rCntntAtPos.eCntntAtPos ) { xub_StrLen n = aPos.nContent.GetIndex(); |