From 16902f6584d1ce80539ede1a1445fccd92ef2f6c Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Mon, 18 Nov 2024 10:11:41 +0100 Subject: [PATCH] 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); }