summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-08-07 23:24:04 +0200
committerJulien Nabet <serval2412@yahoo.fr>2014-08-07 23:24:19 +0200
commit41e05f48dd3bf08552db3675f5285276095ba0bf (patch)
tree1908fcac1efcf6807820124dae2946a1795d6822
parentf120be20792ab862389a3dc24d9706821f91c571 (diff)
cppcheck: Exception should be caught by reference
Change-Id: Ie6438d67aa09fd1dfb746b4ac7ff34d6494ee453
-rw-r--r--editeng/source/misc/svxacorr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 25e7b50f74f0..51892f405b32 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -2263,7 +2263,7 @@ SvStringsISortDtor* SvxAutoCorrectLanguageLists::LoadWrdSttExceptList()
if( xStg.Is() && xStg->IsContained( sTemp ) )
LoadXMLExceptList_Imp( pWrdStt_ExcptLst, pXMLImplWrdStt_ExcptLstStr, xStg );
}
- catch (const css::ucb::ContentCreationException e)
+ catch (const css::ucb::ContentCreationException &e)
{
SAL_WARN("editeng", "SvxAutoCorrectLanguageLists::LoadWrdSttExceptList: Caught exception: " << e.Message);
}