]> git.lyx.org Git - lyx.git/commitdiff
do not call InsetOld::localDispatch
authorLars Gullik Bjønnes <larsbj@gullik.org>
Mon, 13 Oct 2003 01:53:45 +0000 (01:53 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Mon, 13 Oct 2003 01:53:45 +0000 (01:53 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7901 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/ChangeLog
src/insets/insetcommand.C
src/insets/insetgraphics.C
src/insets/insetinclude.C

index d8d11b9102b7760be373f34e60ecfc2720ce0ea7..c6ee2bb084a33936fa4c2e94dce1d083a87b46ab 100644 (file)
@@ -1,3 +1,10 @@
+2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insetinclude.C (localDispatch): do not call
+       InsetOld::localDispatch, just return UNDISPATCHED
+       * insetgraphics.C (localDispatch): ditto
+       * insetcommand.C (localDispatch): ditto
+
 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
        * inset.h: get rid of RESULT typedef for dispatch_result
 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
        * inset.h: get rid of RESULT typedef for dispatch_result
index b39930f7e3b067998d229d5125051da90f65e227..6eff3dc6a5941a8e09f4711f28b5747cd45ca1e8 100644 (file)
@@ -106,7 +106,7 @@ dispatch_result InsetCommand::localDispatch(FuncRequest const & cmd)
                return localDispatch(FuncRequest(cmd.view(), LFUN_INSET_EDIT));
 
        default:
                return localDispatch(FuncRequest(cmd.view(), LFUN_INSET_EDIT));
 
        default:
-               return InsetOld::localDispatch(cmd);
+               return UNDISPATCHED;
        }
 
 }
        }
 
 }
index 6cc2a3415d3a4ee213d0d407de77b70c6b6c360a..43128342690f21076c3a5ac11d9cf0ae9afff393 100644 (file)
@@ -227,7 +227,7 @@ dispatch_result InsetGraphics::localDispatch(FuncRequest const & cmd)
                return DISPATCHED;
 
        default:
                return DISPATCHED;
 
        default:
-               return InsetOld::localDispatch(cmd);
+               return UNDISPATCHED;
        }
 }
 
        }
 }
 
index 5d4dee35bb03da97a94d282438a3e34142fc5514..fe570b36cde5cb57e958a9d25eeeed46d52832c7 100644 (file)
@@ -135,7 +135,7 @@ dispatch_result InsetInclude::localDispatch(FuncRequest const & cmd)
                return DISPATCHED;
 
        default:
                return DISPATCHED;
 
        default:
-               return InsetOld::localDispatch(cmd);
+               return UNDISPATCHED;
        }
 }
 
        }
 }
 
@@ -174,7 +174,7 @@ Types type(InsetCommandParams const & params)
 bool isVerbatim(InsetCommandParams const & params)
 {
        string const command_name = params.getCmdName();
 bool isVerbatim(InsetCommandParams const & params)
 {
        string const command_name = params.getCmdName();
-       return command_name == "verbatiminput" || 
+       return command_name == "verbatiminput" ||
                command_name == "verbatiminput*";
 }
 
                command_name == "verbatiminput*";
 }