[Libreoffice-commits] core.git: sc/source

Eike Rathke erack at redhat.com
Thu Mar 14 11:03:43 PDT 2013


 sc/source/core/data/dpoutput.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit d965698e1010951450b508269add14dfdb9dfeeb
Author: Eike Rathke <erack at redhat.com>
Date:   Thu Mar 14 19:02:57 2013 +0100

    catch const &
    
    Change-Id: Ia1ee717922f82e2300d31741749964489b255c39

diff --git a/sc/source/core/data/dpoutput.cxx b/sc/source/core/data/dpoutput.cxx
index 820f896..ce6e102 100644
--- a/sc/source/core/data/dpoutput.cxx
+++ b/sc/source/core/data/dpoutput.cxx
@@ -692,7 +692,7 @@ ScDPOutput::ScDPOutput( ScDocument* pD, const uno::Reference<sheet::XDimensionsS
         {
             aData = xResult->getResults();
         }
-        catch (uno::RuntimeException&)
+        catch (const uno::RuntimeException&)
         {
             bResultsError = true;
         }
@@ -711,7 +711,7 @@ ScDPOutput::ScDPOutput( ScDocument* pD, const uno::Reference<sheet::XDimensionsS
             aAny >>= aUStr;
             aDataDescription = aUStr;
         }
-        catch(uno::Exception&)
+        catch(const uno::Exception&)
         {
         }
     }
@@ -1306,7 +1306,7 @@ void lcl_GetTableVars( sal_Int32& rGrandTotalCols, sal_Int32& rGrandTotalRows, s
                                     aGivenName = strLayoutName;
                         }
                     }
-                    catch(uno::Exception&)
+                    catch(const uno::Exception&)
                     {
                     }
                     rDataNames.push_back( aSourceName );
@@ -1626,7 +1626,7 @@ uno::Sequence<sheet::GeneralFunction> lcl_GetSubTotals(
             uno::Any aValue = xLevelProp->getPropertyValue( rtl::OUString(SC_UNO_DP_SUBTOTAL) );
             aValue >>= aSubTotals;
         }
-        catch(uno::Exception&)
+        catch(const uno::Exception&)
         {
         }
     }


More information about the Libreoffice-commits mailing list