[Libreoffice-commits] .: sd/source

Caolán McNamara caolan at kemper.freedesktop.org
Tue Aug 16 02:20:24 PDT 2011


 sd/source/ui/unoidl/unomodel.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit ea1cb03e5f4aa6defb860c948c48d60c7f151bfb
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Aug 16 10:11:33 2011 +0100

    WaE: unused variable

diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index 40bf973..e21033e 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -300,7 +300,7 @@ void SAL_CALL SdXImpressDocument::release() throw ( )
             {
                 dispose();
             }
-            catch (uno::RuntimeException const& exc)
+            catch (const uno::RuntimeException& exc)
             { // don't break throw ()
                 OSL_FAIL(
                     OUStringToOString(
@@ -1561,7 +1561,7 @@ void ImplPDFExportComments( uno::Reference< drawing::XDrawPage > xPage, vcl::PDF
                 static_cast< long >( aRealPoint2D.Y * 100 ) ), Size( 1000, 1000 ) ), aNote );
         }
     }
-    catch( uno::Exception& )
+    catch (const uno::Exception&)
     {
     }
 }
@@ -2093,7 +2093,7 @@ void SAL_CALL SdXImpressDocument::render( sal_Int32 nRenderer, const uno::Any& r
                             }
                             //<--- #i56629, #i40318
                         }
-                        catch( uno::Exception& e )
+                        catch (const uno::Exception&)
                         {
                         }
 


More information about the Libreoffice-commits mailing list