From 4670f1940b2051621ae1fa51f766f6001dd531e3 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 2 Aug 2011 16:57:26 +0100 Subject: catch by const reference --- sw/source/core/graphic/ndgrf.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sw') diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx index 65d5cd8ba79c..a8e6dc099a66 100755 --- a/sw/source/core/graphic/ndgrf.cxx +++ b/sw/source/core/graphic/ndgrf.cxx @@ -460,7 +460,7 @@ short SwGrfNode::SwapIn( sal_Bool bWaitForData ) delete pStrm; } } - catch ( uno::Exception& ) + catch (const uno::Exception&) { // #i48434# OSL_FAIL( " - unhandled exception!" ); @@ -730,7 +730,7 @@ void SwGrfNode::DelStreamName() if ( xTrans.is() ) xTrans->commit(); } - catch ( uno::Exception& ) + catch (const uno::Exception&) { // #i48434# OSL_FAIL( " - unhandled exception!" ); @@ -882,7 +882,7 @@ SwCntntNode* SwGrfNode::MakeCopy( SwDoc* pDoc, const SwNodeIndex& rIdx ) const delete pStrm; } } - catch ( uno::Exception& ) + catch (const uno::Exception&) { // #i48434# OSL_FAIL( " - unhandled exception!" ); @@ -971,7 +971,7 @@ IMPL_LINK( SwGrfNode, SwapGraphic, GraphicObject*, pGrfObj ) delete pStrm; } } - catch ( uno::Exception& ) + catch (const uno::Exception&) { // #i48434# OSL_FAIL( " - unhandled exception!" ); -- cgit b/libreoffice-6-2 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2015-11-02compilerplugins: add "badstatics" to detect abuse of VCL BitmapsMichael Stahl
2015-10-30tdf#93684 - Remove SalFrame::SyncRyan McCoskrie
2015-10-22tdf#93243 - replaced some boost::bind with C++11 lambdasSahas
2015-10-21move afl examples/test-cases to dedicated dirCaolán McNamara
2015-10-21remove untyped Link<>Noel Grandin
2015-10-20Add DLOPEN_LIBS to configure for some cases where -ldl is neededRichard PALO
2015-10-20loplugin:defaultparamsStephan Bergmann
2015-10-16afl-eventtesting: add a realistic impress workoutCaolán McNamara
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
2015-10-12convert Link<> to typedNoel Grandin
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
2015-10-07afl-eventtesting: lets ditch the key repeat and timestamp fieldsCaolán McNamara
2015-10-06experimental afl driven ui testingCaolán McNamara
2015-10-03add QuattroPro support to fftesterCaolán McNamara
2015-10-01add 602 format to fftesterCaolán McNamara
2015-09-30add xls support to fftesterCaolán McNamara
2015-09-12GetCommandLineParamCount() returns sal_uInt16Matteo Casalin
2015-09-10coverity#1323758 Uninitialized pointer fieldCaolán McNamara
2015-09-08tdf#94006 - re-factor to use rtl::Reference for OpenGLContexts.Michael Meeks
2015-09-02Resolve merge failure: an OutputDevice parameter not WorkWindow.Michael Meeks
2015-09-02Add another vcldemo OpenGL test to try to catch another Windows nasty.Michael Meeks
2015-08-31loplugin:staticmethodsStephan Bergmann
2015-08-31tdf#93772 - handle framebuffer unbinding on GL context switch.Michael Meeks
2015-08-31loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann
2015-08-27vcldemo: quit popup on mouse click.Michael Meeks
2015-08-26Add menubar to vcldemo --widgets test.Michael Meeks
2015-08-26add ppt to fftesterCaolán McNamara
2015-08-26Convert vcl Button Link<> click handler to typed Link<Button*,void>Noel Grandin
2015-08-25tdf#93614 - detect hanging OpenGL drivers with a watchdog.Michael Meeks
2015-08-23fail on exceptionCaolán McNamara
2015-08-23coverity#1317301 Uncaught exceptionCaolán McNamara
2015-08-21add lwp to fftesterCaolán McNamara
2015-08-21add hwp to fftesterCaolán McNamara
2015-08-21allow differentiation between ww6 and ww8Caolán McNamara
2015-08-21loplugin:externandnotdefinedStephan Bergmann
2015-08-20loplugin:implicitboolconversionNoel Grandin
2015-08-20more config skipping stuff and a tester toolCaolán McNamara
2015-08-17Put Polygon from tools under tools:: namespaceNorbert Thiebaud
2015-08-14vcldemo: fix --widgets crash-on-exitMiklos Vajna
2015-08-14vcldemo: make --widgets handle rendercontextMiklos Vajna
2015-08-03vcl:: replace boost::function with std::functionMichael Stahl
2015-07-24convert WALLPAPER constants to scoped enumNoel Grandin
2015-07-22drop old makefileDavid Tardon