[Libreoffice-commits] core.git: editeng/source

Julien Nabet serval2412 at yahoo.fr
Thu Aug 7 14:24:46 PDT 2014


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

New commits:
commit 41e05f48dd3bf08552db3675f5285276095ba0bf
Author: Julien Nabet <serval2412 at 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);
     }


More information about the Libreoffice-commits mailing list