diff options
Diffstat (limited to 'linguistic/source/convdiclist.cxx')
-rw-r--r-- | linguistic/source/convdiclist.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/linguistic/source/convdiclist.cxx b/linguistic/source/convdiclist.cxx index 0951d6796ed8..edb5eef7df30 100644 --- a/linguistic/source/convdiclist.cxx +++ b/linguistic/source/convdiclist.cxx @@ -433,11 +433,9 @@ uno::Reference< XConversionDictionary > SAL_CALL ConvDicList::addNewDictionary( if (!xRes.is()) throw NoSupportException(); - else - { - xRes->setActive( true ); - GetNameContainer().insertByName( rName, Any(xRes) ); - } + + xRes->setActive( true ); + GetNameContainer().insertByName( rName, Any(xRes) ); return xRes; } |