diff options
author | Noel <noelgrandin@gmail.com> | 2020-11-30 14:19:29 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2021-03-31 10:28:06 +0200 |
commit | 54bfbdc2ffb8938dbef5febe50c22e4eaf4b3c03 (patch) | |
tree | 11c99039401b885c8809b7ffff8ffeebf9781cb9 /reportdesign/source/ui/report/propbrw.cxx | |
parent | impress: <count> variable not substituted in presentation on slideshow (diff) | |
download | core-54bfbdc2ffb8938dbef5febe50c22e4eaf4b3c03.tar.gz core-54bfbdc2ffb8938dbef5febe50c22e4eaf4b3c03.zip |
OSL_FAIL.*exception -> TOOLS_WARN_EXCEPTION
Change-Id: I6800e23ead2767d245d5da71d2d40e0f8a6d7e1f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106859
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign/source/ui/report/propbrw.cxx')
-rw-r--r-- | reportdesign/source/ui/report/propbrw.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/reportdesign/source/ui/report/propbrw.cxx b/reportdesign/source/ui/report/propbrw.cxx index fe4c7df47f0b..84656ded767f 100644 --- a/reportdesign/source/ui/report/propbrw.cxx +++ b/reportdesign/source/ui/report/propbrw.cxx @@ -235,7 +235,7 @@ OUString PropBrw::getCurrentPage() const } catch( const Exception& ) { - OSL_FAIL( "PropBrw::getCurrentPage: caught an exception while retrieving the current page!" ); + TOOLS_WARN_EXCEPTION( "reportdesign", "PropBrw::getCurrentPage: caught an exception while retrieving the current page!" ); } return sCurrentPage; } @@ -255,7 +255,7 @@ bool PropBrw::Close() } catch( const Exception& ) { - OSL_FAIL( "FmPropBrw::Close: caught an exception while asking the controller!" ); + TOOLS_WARN_EXCEPTION( "reportdesign", "FmPropBrw::Close: caught an exception while asking the controller!" ); } } implDetachController(); @@ -310,7 +310,7 @@ void PropBrw::implSetNewObject( const uno::Sequence< Reference<uno::XInterface> } catch( const Exception& ) { - OSL_FAIL( "FmPropBrw::StateChanged: caught an exception while setting the initial page!" ); + TOOLS_WARN_EXCEPTION( "reportdesign", "FmPropBrw::StateChanged: caught an exception while setting the initial page!" ); } } SetText( GetHeadlineName(_aObjects) ); @@ -446,7 +446,7 @@ void PropBrw::Update( OSectionView* pNewView ) } catch( const Exception& ) { - OSL_FAIL( "FmPropBrw::StateChanged: caught an exception while setting the initial page!" ); + TOOLS_WARN_EXCEPTION( "reportdesign", "FmPropBrw::StateChanged: caught an exception while setting the initial page!" ); } } } @@ -489,7 +489,7 @@ void PropBrw::Update( OSectionView* pNewView ) } catch ( Exception& ) { - OSL_FAIL( "PropBrw::Update: Exception occurred!" ); + TOOLS_WARN_EXCEPTION( "reportdesign", "PropBrw::Update" ); } } @@ -512,7 +512,7 @@ void PropBrw::Update( const uno::Reference< uno::XInterface>& _xReportComponent) } catch ( Exception& ) { - OSL_FAIL( "PropBrw::Update: Exception occurred!" ); + TOOLS_WARN_EXCEPTION( "reportdesign", "PropBrw::Update: Exception occurred!" ); } } |