commit 16902f6584d1ce80539ede1a1445fccd92ef2f6c Author: Juergen Spitzmueller <sp...@lyx.org> Date: Mon Nov 18 10:11:41 2024 +0100
Remove unused variables Probably relicts from development (cherry picked from commit 7016f0c676c90aea9277ce08aeaeff0005b79df8) --- src/frontends/qt/GuiDocument.cpp | 2 -- src/frontends/qt/GuiTabularCreate.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/frontends/qt/GuiDocument.cpp b/src/frontends/qt/GuiDocument.cpp index 635a6d59a2..82b6c0ed51 100644 --- a/src/frontends/qt/GuiDocument.cpp +++ b/src/frontends/qt/GuiDocument.cpp @@ -3571,8 +3571,6 @@ void GuiDocument::getTableStyles() QString data = fn.left(fn.lastIndexOf(".lyx")); QString guiname = data; guiname = toqstr(translateIfPossible(qstring_to_ucs4(guiname.replace('_', ' ')))); - QString relpath = toqstr(makeRelPath(qstring_to_ucs4(fn), - qstring_to_ucs4(dir))); if (textLayoutModule->tableStyleCO->findData(data) == -1) textLayoutModule->tableStyleCO->addItem(guiname, data); } diff --git a/src/frontends/qt/GuiTabularCreate.cpp b/src/frontends/qt/GuiTabularCreate.cpp index d9eba4871b..d93e970469 100644 --- a/src/frontends/qt/GuiTabularCreate.cpp +++ b/src/frontends/qt/GuiTabularCreate.cpp @@ -63,8 +63,6 @@ void GuiTabularCreate::getFiles() QString data = fn.left(fn.lastIndexOf(".lyx")); QString guiname = data; guiname = toqstr(translateIfPossible(qstring_to_ucs4(guiname.replace('_', ' ')))); - QString relpath = toqstr(makeRelPath(qstring_to_ucs4(fn), - qstring_to_ucs4(dir))); if (styleCO->findData(data) == -1) styleCO->addItem(guiname, data); } -- lyx-cvs mailing list lyx-cvs@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-cvs