summaryrefslogtreecommitdiff
path: root/sw/source/ui/misc
diff options
context:
space:
mode:
authorJacek Wolszczak <shutdownrunner@gmail.com>2011-05-08 22:14:45 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-05-09 15:06:56 +0200
commit4cf350c27fbe9c84ec38daeffe2b57ebc515f8c2 (patch)
treede43a2b56eeb5717374c41844f90320502aaa76d /sw/source/ui/misc
parentce0a87b004a37e9a2f2da41d6e811e9bdba82eda (diff)
REPLACE DBG_stuff with OSL_ASSERT and OSL_FAIL
Diffstat (limited to 'sw/source/ui/misc')
-rw-r--r--sw/source/ui/misc/pgfnote.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/misc/pgfnote.cxx b/sw/source/ui/misc/pgfnote.cxx
index 8d4e1e651427..2b3db171c03e 100644
--- a/sw/source/ui/misc/pgfnote.cxx
+++ b/sw/source/ui/misc/pgfnote.cxx
@@ -236,7 +236,7 @@ void SwFootNotePage::Reset(const SfxItemSet &rSet)
const SfxPoolItem* pColorItem = NULL;
XColorTable* pColorTable = NULL;
- DBG_ASSERT( pDocSh, "DocShell not found!" );
+ OSL_ENSURE( pDocSh, "DocShell not found!" );
if ( pDocSh )
{
@@ -245,7 +245,7 @@ void SwFootNotePage::Reset(const SfxItemSet &rSet)
pColorTable = ( (SvxColorTableItem*)pColorItem )->GetColorTable();
}
- DBG_ASSERT( pColorTable, "ColorTable not found!" );
+ OSL_ENSURE( pColorTable, "ColorTable not found!" );
if ( pColorTable )
{