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 /writerfilter/unocomponent | |
parent | bc2a59e09d1a554b2d55412d1f10a3fa1fe86086 (diff) |
catch exception by constant reference
Diffstat (limited to 'writerfilter/unocomponent')
-rw-r--r-- | writerfilter/unocomponent/debugservices/doctok/DocTokAnalyzeService.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/unocomponent/debugservices/doctok/DocTokAnalyzeService.cxx b/writerfilter/unocomponent/debugservices/doctok/DocTokAnalyzeService.cxx index 55f66b551a75..c1b67e84dae0 100644 --- a/writerfilter/unocomponent/debugservices/doctok/DocTokAnalyzeService.cxx +++ b/writerfilter/unocomponent/debugservices/doctok/DocTokAnalyzeService.cxx @@ -231,7 +231,7 @@ sal_Int32 SAL_CALL AnalyzeService::run xInputStream->closeInput(); } - catch (Exception &e) + catch (const Exception &e) { fprintf(stdout, "<exception>%s</exception>\n", e.getText().c_str()); |