]> git.lyx.org Git - features.git/commit
Split InsetLabel::updateCommand() into:
authorAbdelrazak Younes <younes@lyx.org>
Wed, 6 Jul 2011 17:40:51 +0000 (17:40 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Wed, 6 Jul 2011 17:40:51 +0000 (17:40 +0000)
commitf9e9956169cea7789c8cd08003458e4e395ce9c1
tree19b47de58eeebf176ee6721c716ba3bc9c12ec8c
parentf51cec0e63b1f0f97ab8f4337514bd96becf1f26
Split InsetLabel::updateCommand() into:

 * uniqueLabel(docstring & label) to enforce label unicity
 * updateLabel() to update only the label.
 * InsetLabel::updateLabelAndRefs() to update label & refs
 * InsetLabel::updateReferences() to update the references

This fixes bug #7655

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39250 a592a061-630c-0410-9148-cb99ea01b6c8
src/CutAndPaste.cpp
src/insets/InsetInclude.cpp
src/insets/InsetLabel.cpp
src/insets/InsetLabel.h
src/mathed/InsetMathHull.cpp