diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-01 18:57:17 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-02 15:00:30 +0100 |
commit | aaee571ea1954fe157462cda1c36a2b745a9653b (patch) | |
tree | 3730f44f3689145b7b33be99f2f1db1dfb5fa9e9 | |
parent | 01e217a36956f729c5030f1a78eb100423cc3157 (diff) |
Replace one DBG_UTIL with OSL_DEBUG_LEVEL
And remove the other one, as OSL_FAIL is executed only on
OSL_DEBUG_LEVEL > 0 (in diagnose.h).
-rw-r--r-- | basctl/source/basicide/baside2.cxx | 2 | ||||
-rw-r--r-- | cui/source/dialogs/cuigaldlg.cxx | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx index a84bef5df8df..270d27060806 100644 --- a/basctl/source/basicide/baside2.cxx +++ b/basctl/source/basicide/baside2.cxx @@ -1626,7 +1626,7 @@ void ModulWindowLayout::DockaWindow( DockingWindow* pDockingWindow ) // evtl. Sonderbehandlung... ArrangeWindows(); } -#ifdef DBG_UTIL +#if OSL_DEBUG_LEVEL > 0 else OSL_FAIL( "Wer will sich denn hier andocken ?" ); #endif diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx index 0e67419122ce..bd5240e1e7c4 100644 --- a/cui/source/dialogs/cuigaldlg.cxx +++ b/cui/source/dialogs/cuigaldlg.cxx @@ -1057,9 +1057,7 @@ IMPL_LINK( TPGalleryThemeProperties, ClickSearchHdl, void *, EMPTYARG ) } catch(IllegalArgumentException) { -#ifdef DBG_UTIL OSL_FAIL( "Folder picker failed with illegal arguments" ); -#endif } } |