]> git.lyx.org Git - lyx.git/blobdiff - src/factory.cpp
remove duplicated (and probably not really correct) code
[lyx.git] / src / factory.cpp
index 641d96cfb6f4b992160d361619861ab63ab09dce..6cab8f69cface3ebeff3e0be64c13c8fb3c51698 100644 (file)
@@ -301,7 +301,7 @@ Inset * createInsetHelper(Buffer & buf, FuncRequest const & cmd)
                        
                        case NOMENCL_CODE: {
                                InsetCommandParams icp(code);
-                               InsetCommand::string2params(name, lyx::to_utf8(cmd.argument()), icp);
+                               InsetCommand::string2params(name, to_utf8(cmd.argument()), icp);
                                return new InsetNomencl(icp);
                        }