X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FModuleList.cpp;h=51a942776610d4cd131db854deb3f886b0b267d9;hb=d9c52c7a3f06ec892cd2e36d0d20998bc99b2fd8;hp=89b2aa9309f61bf499d12f058d1fbe437ccbcd09;hpb=4f795bd3099c9d0133e1bc0d9d2956cc09462f8e;p=lyx.git diff --git a/src/ModuleList.cpp b/src/ModuleList.cpp index 89b2aa9309..51a9427766 100644 --- a/src/ModuleList.cpp +++ b/src/ModuleList.cpp @@ -264,10 +264,10 @@ LyXModule * ModuleList::operator[](string const & str) LyXModuleList::iterator it = modlist_.begin(); for (; it != modlist_.end(); ++it) if (it->getID() == str) { - LyXModule & mod = *it; - return &mod; + LyXModule & mod = *it; + return &mod; } - return 0; + return 0; } } // namespace lyx