]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfloatlist.C
Final touch 'inset display()'; fix 'is a bit silly' bug
[lyx.git] / src / insets / insetfloatlist.C
index 5aed5db8aeadd6bc4bdff0be72c99b7152c87051..3926935e897654a293a921e393641bea5eb64c43 100644 (file)
@@ -29,7 +29,7 @@
 using lyx::support::bformat;
 
 using std::endl;
-
+using std::string;
 using std::ostream;
 
 
@@ -118,7 +118,9 @@ void InsetFloatList::draw(PainterInfo & pi, int x, int y) const
 }
 
 
-dispatch_result InsetFloatList::localDispatch(FuncRequest const & cmd)
+dispatch_result
+InsetFloatList::priv_dispatch(FuncRequest const & cmd,
+                             idx_type & idx, pos_type & pos)
 {
        switch (cmd.action) {
                case LFUN_MOUSE_RELEASE:
@@ -131,7 +133,7 @@ dispatch_result InsetFloatList::localDispatch(FuncRequest const & cmd)
                        return DISPATCHED;
 
                default:
-                       return InsetCommand::localDispatch(cmd);
+                       return InsetCommand::priv_dispatch(cmd, idx, pos);
        }
 }