]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetref.C
Final touch 'inset display()'; fix 'is a bit silly' bug
[lyx.git] / src / insets / insetref.C
index 989b51d8e1c7a6e750805128830d7d08fa71cab4..959f3e903ce9182c52bba1e7e9b114db7253e30c 100644 (file)
 
 #include "support/lstrings.h"
 
-using namespace lyx::support;
 
+using lyx::support::escape;
+
+using std::string;
 using std::ostream;
 
 
@@ -43,7 +45,8 @@ InsetRef::~InsetRef()
 }
 
 
-dispatch_result InsetRef::localDispatch(FuncRequest const & cmd)
+dispatch_result
+InsetRef::priv_dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos)
 {
        switch (cmd.action) {
        case LFUN_INSET_EDIT:
@@ -56,7 +59,7 @@ dispatch_result InsetRef::localDispatch(FuncRequest const & cmd)
                return DISPATCHED;
 
        default:
-               return InsetCommand::localDispatch(cmd);
+               return InsetCommand::priv_dispatch(cmd, idx, pos);
        }
 }