]> git.lyx.org Git - lyx.git/blobdiff - src/Counters.cpp
Refactor InsetQuotes.h enums
[lyx.git] / src / Counters.cpp
index 139dc9bcd7bee3a14cca3f93b05144e2f6a8f35e..6376b647f49a0466eab014cd1dbc62de78866c6e 100644 (file)
@@ -413,16 +413,6 @@ bool Counters::remove(docstring const & cnt)
 }
 
 
-void Counters::copy(Counters const & from, Counters & to, docstring const & match) const
-{
-       for (auto const & ctr : counterList_) {
-               if (ctr.first.find(match) != string::npos || match == "") {
-                       to.set(ctr.first, from.value(ctr.first));
-               }
-       }
-}
-
-
 docstring Counters::labelItem(docstring const & ctr,
                              docstring const & numbertype) const
 {