summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/res_LegendPosition.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-11-29 02:06:57 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-11-29 10:07:04 +0900
commit1aae826501c9a26d40b0827e69d84f680dff6a6b (patch)
treec229c28414e3289be9c893dba38aee793d298051 /chart2/source/controller/dialogs/res_LegendPosition.cxx
parent3c795a953ffc36856588cd6b1dc23f7a83ac815d (diff)
catch by const reference
Diffstat (limited to 'chart2/source/controller/dialogs/res_LegendPosition.cxx')
-rw-r--r--chart2/source/controller/dialogs/res_LegendPosition.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/dialogs/res_LegendPosition.cxx b/chart2/source/controller/dialogs/res_LegendPosition.cxx
index e8a04873d8c7..4755e0477603 100644
--- a/chart2/source/controller/dialogs/res_LegendPosition.cxx
+++ b/chart2/source/controller/dialogs/res_LegendPosition.cxx
@@ -133,7 +133,7 @@ void LegendPositionResources::writeToResources( const uno::Reference< frame::XMo
}
}
}
- catch( uno::Exception & ex )
+ catch( const uno::Exception & ex )
{
ASSERT_EXCEPTION( ex );
}
@@ -176,7 +176,7 @@ void LegendPositionResources::writeToModel( const ::com::sun::star::uno::Referen
xProp->setPropertyValue( C2U( "RelativePosition" ), uno::Any());
}
}
- catch( uno::Exception & ex )
+ catch( const uno::Exception & ex )
{
ASSERT_EXCEPTION( ex );
}