[Libreoffice-commits] .: sw/source

Caolán McNamara caolan at kemper.freedesktop.org
Tue Aug 2 08:58:00 PDT 2011


 sw/source/core/graphic/ndgrf.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 8866590209375e5666dc7a2d8621def531f5cdf9
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Aug 2 16:57:26 2011 +0100

    catch by const reference

diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx
index 775c46e..85af4ff 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( "<SwGrfNode::SwapIn(..)> - unhandled exception!" );
@@ -730,7 +730,7 @@ void SwGrfNode::DelStreamName()
                 if ( xTrans.is() )
                     xTrans->commit();
             }
-            catch ( uno::Exception& )
+            catch (const uno::Exception&)
             {
                 // #i48434#
                 OSL_FAIL( "<SwGrfNode::DelStreamName()> - 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( "<SwGrfNode::MakeCopy(..)> - unhandled exception!" );
@@ -971,7 +971,7 @@ IMPL_LINK( SwGrfNode, SwapGraphic, GraphicObject*, pGrfObj )
                     delete pStrm;
                 }
             }
-            catch ( uno::Exception& )
+            catch (const uno::Exception&)
             {
                 // #i48434#
                 OSL_FAIL( "<SwapGraphic> - unhandled exception!" );


More information about the Libreoffice-commits mailing list