]> git.lyx.org Git - features.git/commit
DocBook: refactor code about retrieving captions and labels.
authorThibaut Cuvelier <tcuvelier@lyx.org>
Sun, 15 Nov 2020 02:03:16 +0000 (03:03 +0100)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Sun, 15 Nov 2020 03:03:04 +0000 (04:03 +0100)
commit46cbd6d234c67facb375f18984645299fcc76ef4
tree01d5b5b399338056245b002b88ae51f706f643a7
parentc4bbff8ecbab0d43c1788b4e3c337f703d69ab4b
DocBook: refactor code about retrieving captions and labels.

There was already an existing method in InsetCaptionable for captions, but not yet for labels. It was at least already useful at two places, that's why I moved it to InsetCaptionable.
src/insets/InsetCaptionable.cpp
src/insets/InsetCaptionable.h
src/insets/InsetFloat.cpp
src/insets/InsetListings.cpp