editeng/source/misc/svxacorr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 41e05f48dd3bf08552db3675f5285276095ba0bf
Author: Julien Nabet <serval2...@yahoo.fr>
Date:   Thu Aug 7 23:24:04 2014 +0200

    cppcheck: Exception should be caught by reference
    
    Change-Id: Ie6438d67aa09fd1dfb746b4ac7ff34d6494ee453

diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 25e7b50..51892f4 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);
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to