[Libreoffice-commits] .: 2 commits - sw/source
David Tardon
dtardon at kemper.freedesktop.org
Thu Nov 18 01:23:14 PST 2010
sw/source/core/crsr/crstrvl.cxx | 6 +++---
sw/source/ui/dbui/mmoutputpage.cxx | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit c3d0c4ec39417cdb1f6d7e4e23d6cd79e16d8299
Author: David Tardon <dtardon at redhat.com>
Date: Thu Nov 18 10:21:30 2010 +0100
replace DBG_UTIL -> OSL_DEBUG_LEVEL > 1
Breaks build when configured with both --enable-debug and
--enable-dbgutil and built with dbglevel=1 .
diff --git a/sw/source/core/crsr/crstrvl.cxx b/sw/source/core/crsr/crstrvl.cxx
index 0b283cb..12ae978 100644
--- a/sw/source/core/crsr/crstrvl.cxx
+++ b/sw/source/core/crsr/crstrvl.cxx
@@ -1344,7 +1344,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
))
@@ -1390,7 +1390,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
@@ -1424,7 +1424,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();
commit 064bba81a60e97957b49e2a3eee6803eb3cd5095
Author: David Tardon <dtardon at redhat.com>
Date: Thu Nov 18 10:18:00 2010 +0100
fix build breakage with dbglevel=1
diff --git a/sw/source/ui/dbui/mmoutputpage.cxx b/sw/source/ui/dbui/mmoutputpage.cxx
index fd473ab..7623e84 100644
--- a/sw/source/ui/dbui/mmoutputpage.cxx
+++ b/sw/source/ui/dbui/mmoutputpage.cxx
@@ -1219,7 +1219,7 @@ IMPL_LINK(SwMailMergeOutputPage, SendDocumentsHdl_Impl, PushButton*, pButton)
}
xTempDocShell->DoClose();
-#if OSL_DEBUG_LEVEL > 1
+#if OSL_DEBUG_LEVEL > 0
sal_Int32 nTarget =
#endif
rConfigItem.MoveResultSet(rInfo.nDBRow);
More information about the Libreoffice-commits
mailing list