]> git.lyx.org Git - features.git/commitdiff
Reformat a little.
authorAngus Leeming <leeming@lyx.org>
Wed, 11 Jun 2003 22:02:03 +0000 (22:02 +0000)
committerAngus Leeming <leeming@lyx.org>
Wed, 11 Jun 2003 22:02:03 +0000 (22:02 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7158 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/ChangeLog
src/insets/insetcite.C

index 5d4aa3fc346894639461e5158001fcc72b6d505b..f563ef09d538602e4d3d925b864e67b6079de690 100644 (file)
@@ -1,5 +1,7 @@
 2003-06-11  Angus Leeming  <leeming@lyx.org>
 
+       * insetcite.C (localDispatch): reformat.
+
        * insetref.C (localDispatch): enable dialog to be lauched.
 
 2003-06-11  John Levon  <levon@movementarian.org>
index e1f51e61d36b2d0dce95f9a286c3b12eda506f1f..9e0ce61d95eee99c2e39e91fbbcc5ca36fa17011 100644 (file)
@@ -326,17 +326,16 @@ void InsetCitation::setLoadingBuffer(Buffer const * buffer, bool state) const
 dispatch_result InsetCitation::localDispatch(FuncRequest const & cmd)
 {
        switch (cmd.action) {
-               case LFUN_INSET_EDIT:
-                       // A call to edit indicates that we're no longer loading the
-                       // buffer but doing some real work.
-                       setLoadingBuffer(cmd.view()->buffer(), false);
-                       InsetCommandMailer("citation", *this).showDialog(cmd.view());
-                       break;
-
-               default:
-                       return InsetCommand::localDispatch(cmd);
+       case LFUN_INSET_EDIT:
+               // A call to edit indicates that we're no longer loading the
+               // buffer but doing some real work.
+               setLoadingBuffer(cmd.view()->buffer(), false);
+               InsetCommandMailer("citation", *this).showDialog(cmd.view());
+               break;
+
+       default:
+               return InsetCommand::localDispatch(cmd);
        }
-       return DISPATCHED;
 }