diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-11 18:51:50 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-12 10:05:25 +0900 |
commit | 75b835c8cd2953c5bc0f23df300ee553f94eb28d (patch) | |
tree | 753bf89fdc56cd3df9842adc7962b0965090cf44 /filter/source/odfflatxml | |
parent | f00172b81c8bab0b1c62cbca1bc14b83deed8806 (diff) |
catch exception by constant reference
Diffstat (limited to 'filter/source/odfflatxml')
-rw-r--r-- | filter/source/odfflatxml/OdfFlatXml.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/odfflatxml/OdfFlatXml.cxx b/filter/source/odfflatxml/OdfFlatXml.cxx index b7674df13e29..87714e9f7552 100644 --- a/filter/source/odfflatxml/OdfFlatXml.cxx +++ b/filter/source/odfflatxml/OdfFlatXml.cxx @@ -159,7 +159,7 @@ OdfFlatXml::importer( { saxParser->parseStream(inputSource); } - catch (Exception &exc) + catch (const Exception &exc) { OString msg = OUStringToOString(exc.Message, RTL_TEXTENCODING_ASCII_US); |