diff options
author | Michael Stahl <mstahl@redhat.com> | 2011-11-24 00:52:00 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2011-11-24 00:52:00 +0100 |
commit | 279a176397623ea83e98fac5a7f4132325b42594 (patch) | |
tree | ca21478406b36b744b80a105b3d6570214d98821 /sw/source/ui/docvw | |
parent | 0215f8b19451ab67c7fdaf91f2da8298a9b89c47 (diff) |
sw: replace abuses of OSL_DEBUG_LEVEL with DBG_UTIL
OSL_DEBUG_LEVEL is set by make debug=t, which should never result in ABI
incompatible objects.
Diffstat (limited to 'sw/source/ui/docvw')
-rw-r--r-- | sw/source/ui/docvw/edtwin.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/docvw/edtwin2.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx index 78e9a69f2716..d3b5e0aaabe0 100644 --- a/sw/source/ui/docvw/edtwin.cxx +++ b/sw/source/ui/docvw/edtwin.cxx @@ -1362,7 +1362,7 @@ void SwEditWin::KeyInput(const KeyEvent &rKEvt) sal_Bool bChkInsBlank = pQuickHlpData->bChkInsBlank; pQuickHlpData->bChkInsBlank = sal_False; -#if OSL_DEBUG_LEVEL > 0 +#ifdef DBG_UTIL if (rKEvt.GetKeyCode().GetCode() == KEY_F12) { if( rKEvt.GetKeyCode().IsShift()) diff --git a/sw/source/ui/docvw/edtwin2.cxx b/sw/source/ui/docvw/edtwin2.cxx index a49674d3936c..169c3e0bd4ac 100644 --- a/sw/source/ui/docvw/edtwin2.cxx +++ b/sw/source/ui/docvw/edtwin2.cxx @@ -143,7 +143,7 @@ void SwEditWin::RequestHelp(const HelpEvent &rEvt) SwContentAtPos::SW_TOXMARK | SwContentAtPos::SW_REFMARK | SwContentAtPos::SW_SMARTTAG | -#if OSL_DEBUG_LEVEL > 1 +#ifdef DBG_UTIL SwContentAtPos::SW_TABLEBOXVALUE | ( bBalloon ? SwContentAtPos::SW_CURR_ATTRS : 0) | #endif @@ -158,7 +158,7 @@ void SwEditWin::RequestHelp(const HelpEvent &rEvt) sTxt.AssignAscii( RTL_CONSTASCII_STRINGPARAM( "= " )); sTxt += ((SwTblBoxFormula*)aCntntAtPos.aFnd.pAttr)->GetFormula(); break; -#if OSL_DEBUG_LEVEL > 1 +#ifdef DBG_UTIL case SwContentAtPos::SW_TABLEBOXVALUE: { sTxt = rtl::OStringToOUString(rtl::OString::valueOf( |