summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/pagedlg/tphfedit.cxx
diff options
context:
space:
mode:
authorJacek Wolszczak <shutdownrunner@gmail.com>2011-05-21 15:04:26 +0200
committerDavid Tardon <dtardon@redhat.com>2011-05-27 06:03:37 +0200
commit8b569e74d6b671c13a57c5ad72ed360d194b2dda (patch)
tree3c29b626bd0638fd13cfdfec0be976116de61f91 /sc/source/ui/pagedlg/tphfedit.cxx
parentReplace DBG_* with OSL_* in sc/source/core (diff)
downloadcore-8b569e74d6b671c13a57c5ad72ed360d194b2dda.tar.gz
core-8b569e74d6b671c13a57c5ad72ed360d194b2dda.zip
Replace DBG_* with OSL_* in sc/source/ui
Diffstat (limited to 'sc/source/ui/pagedlg/tphfedit.cxx')
-rw-r--r--sc/source/ui/pagedlg/tphfedit.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/pagedlg/tphfedit.cxx b/sc/source/ui/pagedlg/tphfedit.cxx
index 3a8730b5b09b..65e72318d334 100644
--- a/sc/source/ui/pagedlg/tphfedit.cxx
+++ b/sc/source/ui/pagedlg/tphfedit.cxx
@@ -207,8 +207,8 @@ void ScEditWindow::SetCharAttriutes()
ScTabViewShell* pTabViewSh = PTR_CAST(ScTabViewShell, SfxViewShell::Current());
- DBG_ASSERT( pDocSh, "Current DocShell not found" );
- DBG_ASSERT( pViewSh, "Current ViewShell not found" );
+ OSL_ENSURE( pDocSh, "Current DocShell not found" );
+ OSL_ENSURE( pViewSh, "Current ViewShell not found" );
if ( pDocSh && pViewSh )
{
@@ -217,11 +217,11 @@ void ScEditWindow::SetCharAttriutes()
SfxItemSet aSet( pEdView->GetAttribs() );
ScAbstractDialogFactory* pFact = ScAbstractDialogFactory::Create();
- DBG_ASSERT(pFact, "ScAbstractFactory create fail!");
+ OSL_ENSURE(pFact, "ScAbstractFactory create fail!");
SfxAbstractTabDialog* pDlg = pFact->CreateScCharDlg( GetParent(), &aSet,
pDocSh,RID_SCDLG_CHAR );
- DBG_ASSERT(pDlg, "Dialog create fail!");
+ OSL_ENSURE(pDlg, "Dialog create fail!");
pDlg->SetText( ScGlobal::GetRscString( STR_TEXTATTRS ) );
if ( pDlg->Execute() == RET_OK )
{