From 04b46342139cddb3f7d885ca7cc7350607cdb909 Mon Sep 17 00:00:00 2001 From: Michael Schmitt Date: Wed, 3 Jan 2007 21:51:10 +0000 Subject: [PATCH] * src/frontends/qt4/QMathMatrixDialog.C: * src/kbmap.C: * src/LaTeXFeatures.C: * src/text.C: remove superfluous "return" statements git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16483 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LaTeXFeatures.C | 2 -- src/frontends/qt4/QMathMatrixDialog.C | 2 -- src/kbmap.C | 2 -- src/text.C | 1 - 4 files changed, 7 deletions(-) diff --git a/src/LaTeXFeatures.C b/src/LaTeXFeatures.C index 4333eb6d91..faf5df9b82 100644 --- a/src/LaTeXFeatures.C +++ b/src/LaTeXFeatures.C @@ -104,8 +104,6 @@ void LaTeXFeatures::getAvailable() packages_.push_back(name); } } - - return; } diff --git a/src/frontends/qt4/QMathMatrixDialog.C b/src/frontends/qt4/QMathMatrixDialog.C index b432eaca02..b9b050ba62 100644 --- a/src/frontends/qt4/QMathMatrixDialog.C +++ b/src/frontends/qt4/QMathMatrixDialog.C @@ -74,8 +74,6 @@ void QMathMatrixDialog::columnsChanged(int) h_align_str[nx] = '\0'; halignED->setText(h_align_str); - - return; } diff --git a/src/kbmap.C b/src/kbmap.C index fd55a7c5ff..5c197eb14a 100644 --- a/src/kbmap.C +++ b/src/kbmap.C @@ -281,11 +281,9 @@ void kb_keymap::defkey(kb_sequence * seq, newone->func = func; newone->func.origin = FuncRequest::KEYBOARD; newone->table.reset(); - return; } else { newone->table.reset(new kb_keymap); newone->table->defkey(seq, func, r + 1); - return; } } diff --git a/src/text.C b/src/text.C index 73f3c27148..10990823ba 100644 --- a/src/text.C +++ b/src/text.C @@ -1706,7 +1706,6 @@ void LyXText::setCursorFromCoordinates(LCursor & cur, int const x, int const y) << endl; setCursor(cur, pit, pos, true, bound); - return; } -- 2.39.5