* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
// if alrady exist give warning and return
if (cit != counterList.end()) {
lyxerr << "The new counter already exist." << endl;
// if alrady exist give warning and return
if (cit != counterList.end()) {
lyxerr << "The new counter already exist." << endl;
void Counters::newCounter(string const & newc, string const & oldc)
{
// First check if newc already exist
void Counters::newCounter(string const & newc, string const & oldc)
{
// First check if newc already exist
// if already existant give warning and return
if (cit != counterList.end()) {
lyxerr << "The new counter already exist." << endl;
// if already existant give warning and return
if (cit != counterList.end()) {
lyxerr << "The new counter already exist." << endl;