diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-02-24 18:26:34 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-02-24 18:26:34 +0100 |
commit | ac0811b10e05392e9308ad2616a72366c8e3fceb (patch) | |
tree | dd478629f31caf2217c2c83338445a93e330b259 /reportdesign | |
parent | d51e84aa6d2c0976d2b10747bb39e97acc286253 (diff) |
Move DBG_ERROR -> OSL_ASSERT
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/filter/xml/xmlStyleImport.cxx | 2 | ||||
-rw-r--r-- | reportdesign/source/filter/xml/xmlfilter.cxx | 2 | ||||
-rw-r--r-- | reportdesign/source/ui/inspection/GeometryHandler.cxx | 2 | ||||
-rw-r--r-- | reportdesign/source/ui/misc/FunctionHelper.cxx | 2 | ||||
-rw-r--r-- | reportdesign/source/ui/report/propbrw.cxx | 8 |
5 files changed, 8 insertions, 8 deletions
diff --git a/reportdesign/source/filter/xml/xmlStyleImport.cxx b/reportdesign/source/filter/xml/xmlStyleImport.cxx index e7a12d930e41..1e954612310e 100644 --- a/reportdesign/source/filter/xml/xmlStyleImport.cxx +++ b/reportdesign/source/filter/xml/xmlStyleImport.cxx @@ -129,7 +129,7 @@ void OControlStyleContext::FillPropertySet(const Reference< XPropertySet > & rPr pStyle = PTR_CAST(SvXMLNumFormatContext,pMyStyles-> FindStyleChildContext(XML_STYLE_FAMILY_DATA_STYLE, m_sDataStyleName, sal_True)); else { - DBG_ERROR("not possible to get style"); + OSL_ASSERT("not possible to get style"); } } if ( pStyle ) diff --git a/reportdesign/source/filter/xml/xmlfilter.cxx b/reportdesign/source/filter/xml/xmlfilter.cxx index e8598c63ac12..4cf2fcbcc4cc 100644 --- a/reportdesign/source/filter/xml/xmlfilter.cxx +++ b/reportdesign/source/filter/xml/xmlfilter.cxx @@ -196,7 +196,7 @@ r aError += ','; aError += ByteString::CreateFromInt32( r.ColumnNumber ); - DBG_ERROR( aError.GetBuffer() ); + OSL_ASSERT( aError.GetBuffer() ); #endif return 1; } diff --git a/reportdesign/source/ui/inspection/GeometryHandler.cxx b/reportdesign/source/ui/inspection/GeometryHandler.cxx index 91c2045a4586..f4a3448d40a5 100644 --- a/reportdesign/source/ui/inspection/GeometryHandler.cxx +++ b/reportdesign/source/ui/inspection/GeometryHandler.cxx @@ -2077,7 +2077,7 @@ void GeometryHandler::impl_initFieldList_nothrow( uno::Sequence< ::rtl::OUString } catch (uno::Exception&) { - DBG_ERROR( "GeometryHandler::impl_initFieldList_nothrow: caught an exception!" ); + OSL_ASSERT( "GeometryHandler::impl_initFieldList_nothrow: caught an exception!" ); } } // ----------------------------------------------------------------------------- diff --git a/reportdesign/source/ui/misc/FunctionHelper.cxx b/reportdesign/source/ui/misc/FunctionHelper.cxx index d666fd3ce144..a67aaf051cf3 100644 --- a/reportdesign/source/ui/misc/FunctionHelper.cxx +++ b/reportdesign/source/ui/misc/FunctionHelper.cxx @@ -194,7 +194,7 @@ xub_StrLen FunctionDescription::getSuppressedArgumentCount() const } catch(const uno::Exception&) { - DBG_ERROR("Exception caught!"); + OSL_ASSERT("Exception caught!"); } return sFormula; } diff --git a/reportdesign/source/ui/report/propbrw.cxx b/reportdesign/source/ui/report/propbrw.cxx index 6a3b365392bd..370e50a12a88 100644 --- a/reportdesign/source/ui/report/propbrw.cxx +++ b/reportdesign/source/ui/report/propbrw.cxx @@ -126,7 +126,7 @@ PropBrw::PropBrw(const Reference< XMultiServiceFactory >& _xORB,Window* pParen } catch (Exception&) { - DBG_ERROR("PropBrw::PropBrw: could not create/initialize my frame!"); + OSL_ASSERT("PropBrw::PropBrw: could not create/initialize my frame!"); m_xMeAsFrame.clear(); } @@ -179,7 +179,7 @@ PropBrw::PropBrw(const Reference< XMultiServiceFactory >& _xORB,Window* pParen } catch (Exception&) { - DBG_ERROR("PropBrw::PropBrw: could not create/initialize the browser controller!"); + OSL_ASSERT("PropBrw::PropBrw: could not create/initialize the browser controller!"); try { ::comphelper::disposeComponent(m_xBrowserController); @@ -562,7 +562,7 @@ void PropBrw::Update( OSectionView* pNewView ) } catch ( Exception& ) { - DBG_ERROR( "PropBrw::Update: Exception occurred!" ); + OSL_ASSERT( "PropBrw::Update: Exception occurred!" ); } } //---------------------------------------------------------------------------- @@ -584,7 +584,7 @@ void PropBrw::Update( const uno::Reference< uno::XInterface>& _xReportComponent) } catch ( Exception& ) { - DBG_ERROR( "PropBrw::Update: Exception occurred!" ); + OSL_ASSERT( "PropBrw::Update: Exception occurred!" ); } } } |