diff options
author | Eike Rathke <erack@redhat.com> | 2013-03-14 19:02:57 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-03-14 19:03:15 +0100 |
commit | d965698e1010951450b508269add14dfdb9dfeeb (patch) | |
tree | 8b9506dd75956500206279de0b65b885f05d1106 | |
parent | 166db0df90f1a5443c6914f48848891fa8016782 (diff) |
catch const &
Change-Id: Ia1ee717922f82e2300d31741749964489b255c39
-rw-r--r-- | sc/source/core/data/dpoutput.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/core/data/dpoutput.cxx b/sc/source/core/data/dpoutput.cxx index 820f89621122..ce6e102ca2a7 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&) { } } |