]> git.lyx.org Git - lyx.git/blobdiff - src/support/Translator.h
Make Thesaurus check for more general dictionaries (en-v2.idx)
[lyx.git] / src / support / Translator.h
index 92c32268139517a408c771ce4d5502bf490e1a8b..2e35a69f49bb0608efb2c26ae2a417387c5374bb 100644 (file)
@@ -63,7 +63,7 @@ public:
        /// Find the mapping for the first argument
        T2 const & find(T1 const & first) const
        {
-               LASSERT(!map.empty(), /**/);
+               LASSERT(!map.empty(), return default_t2);
                const_iterator it = map.begin();
                const_iterator end = map.end();
                for (; it != end; ++it)
@@ -75,7 +75,7 @@ public:
        /// Find the mapping for the second argument
        T1 const & find(T2 const & second) const
        {
-               LASSERT(!map.empty(), /**/);
+               LASSERT(!map.empty(), return default_t1);
                const_iterator it = map.begin();
                const_iterator end = map.end();
                for (; it != end; ++it)