]> git.lyx.org Git - features.git/commitdiff
fix getLabelList for mathed
authorAndré Pönitz <poenitz@gmx.net>
Fri, 25 Jul 2003 19:39:01 +0000 (19:39 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Fri, 25 Jul 2003 19:39:01 +0000 (19:39 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7359 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/formula.C
src/mathed/formula.h
src/mathed/formulabase.C
src/mathed/formulabase.h

index 2479919a6f3d05b0d0cf3e0405c8236ce961b8f4..f83a7041ef096b4107bfaec21582f349a8d498f6 100644 (file)
@@ -245,11 +245,9 @@ void InsetFormula::draw(PainterInfo & pi, int x, int y) const
 }
 
 
-vector<string> const InsetFormula::getLabelList() const
+void InsetFormula::getLabelList(std::vector<string> & res) const
 {
-       vector<string> res;
        par()->getLabelList(res);
-       return res;
 }
 
 
index 56cd7a88dc99fc8bac9f7444412ae9ddcae99cbc..0fa777935352e84eb8b9fc8060bcb4bc0a0fa0a2 100644 (file)
@@ -62,7 +62,7 @@ public:
        ///
        bool insetAllowed(Inset::Code code) const;
        ///
-       std::vector<string> const getLabelList() const;
+       void getLabelList(std::vector<string> &) const;
        ///
        MathAtom const & par() const { return par_; }
        ///
index ce1e3b289b69bac4d8870d56ded396ea321449fa..ec59ceb4ed5416f414245c7b1fc60e1e57c3fc67 100644 (file)
@@ -211,12 +211,6 @@ void InsetFormulaBase::toggleInsetSelection(BufferView * bv)
 }
 
 
-vector<string> const InsetFormulaBase::getLabelList() const
-{
-  return vector<string>();
-}
-
-
 dispatch_result InsetFormulaBase::lfunMouseRelease(FuncRequest const & cmd)
 {
        if (!mathcursor)
index 988b607643b74e78dd8e0f28a7395cbd86330528..a3e490ada25ae7347abadb0a091968409a84fa34 100644 (file)
@@ -63,8 +63,6 @@ public:
        /// To allow transparent use of math editing functions
        //virtual void status(FuncRequest const &);
 
-       ///
-       virtual std::vector<string> const getLabelList() const;
        ///
        virtual MathAtom const & par() const = 0;
        ///