summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxwindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/awt/vclxwindow.cxx')
-rw-r--r--toolkit/source/awt/vclxwindow.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx
index 808acf892730..aac6b3d587d4 100644
--- a/toolkit/source/awt/vclxwindow.cxx
+++ b/toolkit/source/awt/vclxwindow.cxx
@@ -1005,7 +1005,7 @@ void VCLXWindow::dispose( ) throw(::com::sun::star::uno::RuntimeException)
}
catch ( const ::com::sun::star::uno::Exception& )
{
- DBG_ERROR( "VCLXWindow::dispose: could not dispose the accessible context!" );
+ OSL_FAIL( "VCLXWindow::dispose: could not dispose the accessible context!" );
}
mpImpl->mxAccessibleContext.clear();
@@ -1327,7 +1327,7 @@ void VCLXWindow::getStyles( sal_Int16 nType, ::com::sun::star::awt::FontDescript
BackgroundColor = rStyleSettings.GetDialogColor().GetColor();
}
break;
- default: DBG_ERROR( "VCLWindow::getStyles() - unknown Type" );
+ default: OSL_FAIL( "VCLWindow::getStyles() - unknown Type" );
}
}