diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-01-09 03:16:33 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-01-09 03:17:20 +0900 |
commit | b35c0ae4ffce43b881d66efe74a19f1bf6299331 (patch) | |
tree | 7afefa031973519717e8cb9812ade85de444df02 /xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx | |
parent | callcatcher: Remove unused code (diff) | |
download | core-b35c0ae4ffce43b881d66efe74a19f1bf6299331.tar.gz core-b35c0ae4ffce43b881d66efe74a19f1bf6299331.zip |
catch exception by constant reference
Diffstat (limited to 'xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx')
-rw-r--r-- | xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx index fe348284909e..c59d630e46bc 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx @@ -718,7 +718,7 @@ void FormattedFieldElement::endElement() ctx.getControlModel()->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM("FormatKey") ), makeAny( nKey ) ); } - catch (util::MalformedNumberFormatException & exc) + catch (const util::MalformedNumberFormatException & exc) { OSL_FAIL( "### util::MalformedNumberFormatException occurred!" ); // rethrow |